Can anyone explain how does Python perceives colors? I saw the following line of code in the course:
print("Yellow">"Cyan" and "Brown">"Magenta")
With the output ‘False’
If we would change the code to:
print("Yellow">"Cyan" and "Brown"<"Magenta")
Then the output would be ‘True’
How does Python assumes what’s > and what’s < ?
///
Screenshot of console from the course
It’s part of the Google IT Automation with Python Professional Certificate
Crash Course on Python