0
Help me with this doubt, I running this program & the output is y. what has gone wrong.
x=input(' any number from 0-9\n' ) y=str(x) *6 print('y')
2 Respostas
+ 3
It should be:
print(y)
That way you print the value asigned to the variable y, not the string “y”
+ 5
if you want to print variable y you need to remove single quotes. Single quotes is used to print text/char/string