Contains programs on Control flow and functions
At the end of this project, you are expected to be able to explain to anyone, without the help of Google:
- Why Python programming is awesome
- Why indentation is so important in Python
- How to use the if, if ... else statements
- How to use comments
- How to affect values to variables
- How to use the while and for loops
- How is Python’s for different from C‘s?
- How to use the break and continues statements
- How to use else clauses on loops
- What does the pass statement do, and when to use it
- How to use range
- What is a function and how do you use functions
- What does return a function that does not use any return statement
- Scope of variables
- What’s a traceback
- What are the arithmetic operators and how to use them
- 0-positive_or_negative.py | Program assigns a random number and code checks if number is negative or positive.
- 1-last_digit.py | Program assigns a source code to the variable number, prints the last digit of number.
- 2-print_alphabet.py | A program that prints the ASCII alphabet, in lowercase, not followed by a new line.
- 3-print_alphabt.py | A program that prints the ASCII alphabet, in lowercase, ignoring e and q, and not followed by a new line.
- 4-print_hexa.py | A program that prints some values in decimal and hexadecimal formats.
- 5-print_comb2.py | A program that prints numbers from 0 to 99.