Advertisement



< Prev
Next >


Python - If Statement





Like all programming languages, Python gives us a conditional if statement, which is used when we want to test a condition. This condition is evaluated for a boolean value - true or false.

Note: Instead of a condition, there could even be a variable which returns a non-zero value or just a non-zero value.





Important points - if statement


Please Subscribe

Please subscribe to our social media channels for daily updates.


Decodejava Facebook Page  DecodeJava Twitter Page Decodejava Google+ Page




Advertisement



Notifications



Please check our latest addition

C#, PYTHON and DJANGO


Advertisement