Share your repls and programming experiences

← Back to all posts
Comments
hotnewtop
LoganB2 (6)

I can do this better

number = input("what is your number")
print(number)

BenjaminHannan (38)

@LoganB2 or, number = int(input("What is your number"))
print(number)

ni6iu (12)

@BenjaminHannan or print(input("What is your number: "))

BenjaminHannan (38)

or

===========

number = int(input("What is your number"))
print(number+"\n\nYour number is baaaaaaad")

@ni6iu

MikeJMS8910 (151)

? this isn't machine learning

WSLTItanic (1)

Just do this,
print(input("What is your number : "))