- 1
How can I code in python for beginners, lesson 14.1
https://code.sololearn.com/cohHh0W9Krqb/?ref=app I can't solve it. Please help me. Somebody wrote code to take a string input and output it, repeated 10 times. However, the code results in an error. Fix the code to output the desired output.
16 Antworten
0
Change + to *
+ 8
You need to write a code that will work for any input not just that one test case. It means input will be provided by Sololearn for each test case separately. It can be "hello" or "oi" whatever they decide.
All you need to take x as input variable and multiply it by 10.
+ 3
Please tag "Python" and link your code attempt so we can help you!
+ 2
you can use a "hint" to help you
0
👉THEN LINK YOUR CODE...👈
0
How can I get link?
0
Copy code, go to Code section, select Python, paste your code, save
In the thread:
Click +, select code
0
You overwrite the input with 'hello' but you need to repeat the input – not hello
Also you need to repeat (*) 10 times – not add '10' to the string
0
I have seen 'oi in output' 10 times also
0
Phyton 1.1 po pa help
0
₽+
- 1
Hey
- 1
hi
- 1
I new leaner
- 2
In one code