Codio – Functions

tutorial
June 30, 2019
Code Challenge – IT
June 30, 2019

Codio – Functions
Homework Help – Q&A fror
https://codio.com/cshelton/functions:5bbd0c99bcbdde23055fcf99:BJf5qGWIsM1x/tree/challenges%2Frandom-string.py
Codio
Project
File
Edit
Find
View
Tools
Education
Help
Configure….
Project Index (static)
Configure….
CSHELTON
random-strin…
3. 1. Random… X
# Get our arguments from the command line
Collapse
Challenges
import sys
character= sys . argv[1]
ONQUAWN
count= int(sys . argv[2] )
3. 1. Random string
# Your code goes here
Create a function generateString(char, val) that returns a string
with val number of char characters concatenated together. For
example generateString( ‘a’, 7) will return aaaaaaa.
Check It!
Next
>
100% (9:0)
Python

 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"

Hi there! Click one of our representatives below and we will get back to you as soon as possible.

Chat with us on WhatsApp