New learner of Python and have some questions

Hi,I am a new learner of python,so Im not very familiar with python.
and there has a question.
Why in line 72 and 73,I don’t need to write “if ….. is True” to identify the conditions?


This content originally appeared on DEV Community and was authored by MUwind

Hi,I am a new learner of python,so Im not very familiar with python.
and there has a question.
Why in line 72 and 73,I don't need to write "if ..... is True" to identify the conditions?

Image description


This content originally appeared on DEV Community and was authored by MUwind


Print Share Comment Cite Upload Translate Updates
APA

MUwind | Sciencx (2025-01-04T23:56:41+00:00) New learner of Python and have some questions. Retrieved from https://www.scien.cx/2025/01/04/new-learner-of-python-and-have-some-questions/

MLA
" » New learner of Python and have some questions." MUwind | Sciencx - Saturday January 4, 2025, https://www.scien.cx/2025/01/04/new-learner-of-python-and-have-some-questions/
HARVARD
MUwind | Sciencx Saturday January 4, 2025 » New learner of Python and have some questions., viewed ,<https://www.scien.cx/2025/01/04/new-learner-of-python-and-have-some-questions/>
VANCOUVER
MUwind | Sciencx - » New learner of Python and have some questions. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/01/04/new-learner-of-python-and-have-some-questions/
CHICAGO
" » New learner of Python and have some questions." MUwind | Sciencx - Accessed . https://www.scien.cx/2025/01/04/new-learner-of-python-and-have-some-questions/
IEEE
" » New learner of Python and have some questions." MUwind | Sciencx [Online]. Available: https://www.scien.cx/2025/01/04/new-learner-of-python-and-have-some-questions/. [Accessed: ]
rf:citation
» New learner of Python and have some questions | MUwind | Sciencx | https://www.scien.cx/2025/01/04/new-learner-of-python-and-have-some-questions/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.