The comparison of the variable with several values through OR works incorrectly
📁 python, пример
"
I had a problem with the if operator and its function or . When working with the Str, it looks something like this
if a == "zero" " or " "zero" ": print ( 0 ) elif a == "" "one" or : print ( 1 ) # removes only 0 for any values for any values for any values A Pre> What should I do and how to fix it?
"
Ответов пока нет.
Войдите чтобы оставить ответ