18 - Comparison Operators ( == != less than; greater than ) | Python Tutorials

preview_player
Показать описание
Learn how to compare or relate two different variables, values, or even lists. The result will be a boolean value of True or False, which we can use for many applications in future videos.

| Language
Python (.py)

| Code Example
Рекомендации по теме
Комментарии
Автор

what if we have an input variable like:

ans = input("What is your age? \nAnswer: ")
while ans =< 12:
Two()

how would you do something like that? it keeps giving me invalid syntax error messages.

TheRealXPL_
join shbcf.ru