I am learning to code with a book called Python Crash Course. I am on the chapter about if
statements and the book keeps utilizing >>>
to test variables Tue or False (or at least that is what I think). The thing is that I do not know what the symbol means, I thought the book was trying to print a variable, but then I went ahead and type >>>
followed by the variable I was trying to test and it did not work.
Here is the example on the book:
>>> car='bmw'
>>> car== 'bmw'
True
How do I get Python to Test that variable to True/False and have the text editor (I am using Geany)show a prompt yielding an answer?