could somebody explain this longer way? I don't really understand that part of code, how it works. Could somebody write it out long way like: if thing = "x" if thing = ...
thing = "x" if thing.lower() == "o" else "o"
could somebody explain this longer way? I don't really understand that part of code, how it works. Could somebody write it out long way like: if thing = "x" if thing = ...
thing = "x" if thing.lower() == "o" else "o"