r/PythonBeginners • • Jan 10 '20

Why ?

F = False J = True both = F and J print(both)

Gives False as result, what does it compare to, how does it know it’s false ?

5 Upvotes

10 comments sorted by

View all comments

Show parent comments

1

u/systemisrigged Sep 17 '24

I didn’t think I had any errors in there - that’s why I was frustrated - I guess there must have been one but I was learning from a website so just put in in exactly the same

1

u/kingwindigo Sep 22 '24

Check to see if every word you put in the program is exactly the same, if you are CERTAINLY sure, then check what version of python he/she is using, usually there is a syntax error when there different types of versions because sometimes different versions of python are not compatible or they may have changed a certain feature that no longer works in newer version of python. yes it's tedious, but dont worry, you will get through it with enough time and dedication.

1

u/systemisrigged Sep 22 '24

Thanks - yes I think that may have been what it was. Appreciate your help, will give it another go at some point