jeudi 25 octobre 2018

Python in Sublime text - No conditional test output

I am running Sublime on a Mac, and I am new to Python 3. When I execute my code using "command + B", I usually see the normal output. However, when running conditional tests I cannot see the "True" or "False" response. How can I fix this problem?

Example:

car ='Audi'
car.lower() == 'audi' 

I pressed "command + B", expecting:

 "True"     

Unfortunately, I only get:

[Finished in 0.0s]

Any ideas?

Aucun commentaire:

Enregistrer un commentaire