Skip to content

Commit 82f50ec

Browse files
committed
Adding If-Else-Elif Demonstration in Python
1 parent 7642405 commit 82f50ec

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

0009-If-Else-Elif/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# If-Else-Elif Demonstration in Python
2+
3+
This program demonstrates various examples of using conditional statements (`if`, `else`, `elif`) in Python. It covers basic usage as well as more advanced scenarios like nested conditions and logical operators.
4+
5+
## Prerequisites
6+
7+
- Python 3.x
8+
9+
## Usage
10+
11+
1. Clone or download this repository.
12+
2. Navigate to the directory containing the `if_else_elif.py` script.
13+
3. Run the script using the following command:
14+
15+
```bash
16+
python if_else_elif.py
17+
```

0 commit comments

Comments
 (0)