r/learnpython • • Jun 30 '22

help I'm new at python

id = input("enter your password: ") print(id == 369)

Why when I enter 369 in the console it displays false?

0 Upvotes

9 comments sorted by

View all comments

-3

u/WizardoftheNewAge Jun 30 '22

Try this OP:

Print("Your Id is = "+Id)

1

u/WizardoftheNewAge Jun 30 '22

Or if you want to print a boolean then just add quotes to your print statement for the 369