subject

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 .

# Get our arguments from the command line
import sys
character= sys. argv[1]
count= int(sys. argv[2])

# Your code goes here

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 14:50
Drag each label to the correct location on the image list the do’s and don’ts of safeguarding your password. a. keep yourself logged in when you leave your computer.b. don’t write your password down and leave it where others can find it.c. share your password with your friends.d.each time you visit a website,retain the cookies on your computer.e. use a long password with mixed characters.1. do's 2. don'ts
Answers: 2
question
Computers and Technology, 23.06.2019 20:30
What are some settings you can control when formatting columns?
Answers: 1
question
Computers and Technology, 24.06.2019 17:30
What is the next step if your volume does not work on computer
Answers: 2
question
Computers and Technology, 24.06.2019 21:40
is on drugs i swear i ask a question and its not showing whats going
Answers: 2
You know the right answer?
Create a function generateString(char, val) that returns a string with val number of char characters...
Questions
question
Mathematics, 31.01.2020 01:49
question
Mathematics, 31.01.2020 01:49
question
Mathematics, 31.01.2020 01:49
Questions on the website: 13722363