An open API service indexing awesome lists of open source software.

https://github.com/vaibhavmojidra/python---demo-if-else-condition

The if statement alone tells us that if a condition is true it will execute a block of statements and if the condition is false it won’t. But what if we want to do something else if the condition is false. Here comes the else statement. We can use the else statement with if statement to execute a block of code when the condition is false.
https://github.com/vaibhavmojidra/python---demo-if-else-condition

if if-else mojidra python vaibhav vaibhav-mojidra vaibhavmojidra

Last synced: about 1 year ago
JSON representation

The if statement alone tells us that if a condition is true it will execute a block of statements and if the condition is false it won’t. But what if we want to do something else if the condition is false. Here comes the else statement. We can use the else statement with if statement to execute a block of code when the condition is false.

Awesome Lists containing this project

README

          

# Python Demo If Else Condition

![Output](https://github.com/VaibhavMojidra/Python---Demo-If-Else-Condition/blob/master/output/output.png)