0

Why don't get output when I write a=int(input ("Enter a number"))

Mobile mein user se integer value acsept karne ka alag syntax hai kya yadi hai to batao

5th Aug 2022, 1:32 PM
Sonu Kumar
4 ответов
+ 10
Sonu Kumar you are half correct as you are just taking the input from user But forgot to display the same You can try:- 👇🏻 a = int(input("Enter a number \n")) print(a) for displaying what user has inputted use print()
5th Aug 2022, 1:50 PM
Suparna Das
Suparna Das - avatar
+ 6
a = int(input("Enter a number \n")) print(a) #this code has no error #check it properly bro
5th Aug 2022, 2:26 PM
Suparna Das
Suparna Das - avatar
0
Yes I also wrote printing statement but get error you can also try in python code
5th Aug 2022, 2:16 PM
Sonu Kumar
0
Sonu Kumar what error do you get?
7th Aug 2022, 8:34 PM
Brian
Brian - avatar