8 Answers
New Answergho5tdog , x variable should be string, not integer. It is even easier than you written. https://code.sololearn.com/chzA1dyqkUVL/?ref=app
gho5tdog , what is the description of the task. Show also your attempt so somebody can help you.
gho5tdog , in which programming language, you are trying to solve it. Show your code.
Here's the description: Task: Given the code above, output the input x repeated y times. Sample Input: awesome 3 Sample Output: awesomeawesomeawesome
Python. Here's one of my variations: x = int(input("awesome")) y = int(input("3)) print(x*y)
SoloLearn Inc.
4 Embarcadero Center, Suite 1455Send us a message