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
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()
+ 6
a = int(input("Enter a number \n"))
print(a)
#this code has no error
#check it properly bro
0
Yes I also wrote printing statement but get error you can also try in python code
0
Sonu Kumar what error do you get?