NEED HELP WITH PYTHON | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

NEED HELP WITH PYTHON

https://imgur.com/siZ0IJC i don't know why it doesn't work. I tried with y but also didn't worked. https://www.sololearn.com/learning/1073

28th May 2022, 1:32 PM
Ferg
9 Answers
0
DO NOT write anything inside input()! Only input(), not input('something')
28th May 2022, 5:07 PM
Lisa
Lisa - avatar
28th May 2022, 4:47 PM
Ferg
+ 1
1. You are supposed to use the input() 2. Read the task description carefully. 3. Link your code instead of screen shots. Go to Code section, click +, select the programming language, insert your code, save. Come back to this thread, click +, Insert Code, sort for My Code Bits, select your code
28th May 2022, 1:36 PM
Lisa
Lisa - avatar
+ 1
Use the starter code that they give you and work from there. It is there to help you. x = input() y = input() Be sure to read and understand the whole task description.
28th May 2022, 1:44 PM
Brian
Brian - avatar
+ 1
@Lisa INPUT: x = str(input("hi")) y = int(input(5)) print(x*y) OUTPUT: hi5hihihihihi Expected Output hihihihihi
28th May 2022, 5:05 PM
Ferg
+ 1
so how? i tried x = input() y = int(input(5)) print(x*y) but output is 5hihihihihi
28th May 2022, 5:29 PM
Ferg
+ 1
OMG thank you lisa you are my hero.
28th May 2022, 5:38 PM
Ferg
0
Ferg READ THIS CAREFULLY: ⭐⭐⭐⭐⭐ DO NOT WRITE ANYTHING INSIDE OF input() ⭐⭐⭐⭐⭐
28th May 2022, 5:38 PM
Lisa
Lisa - avatar
- 1
Ferg READ THIS CAREFULLY ⭐⭐⭐⭐⭐⭐⭐ LINK YOUR COMPLETE CODE INSTEAD OF SCREENSHOTS ⭐⭐⭐⭐⭐⭐⭐
28th May 2022, 4:55 PM
Lisa
Lisa - avatar