0

Stuck on this, I think theres a bug with the app

x = input("hi") y = int(input(5)) print (x * y) The result is hi5hihihihihi

21st Oct 2022, 1:37 PM
nanichs
3 odpowiedzi
+ 5
# the correct syntax is: x = input() y = int(input()) print (x * y)
21st Oct 2022, 2:05 PM
JaScript
JaScript - avatar
+ 1
Bug is not in app bug is in your code. Do not pass anything inside input function because it will be also print.
21st Oct 2022, 3:47 PM
A͢J
A͢J - avatar
0
I missunderstood this completely. Thanks
21st Oct 2022, 7:26 PM
nanichs