Published
- 1 min read
how to take user input and multiply it to a number in python
The solution for this is noted below
how to take user input and multiply it to a number in python
Solution
letter = input ("write the word you wanna spam")
num_to_spam = int(input("Now how many times?"))
print(letter*num_to_spam)
Try other methods by searching on the site. That is if this doesn’t work