In this file, I learned how to use the print()
function in Python. It's used to display text (strings) or numbers stored in variables.
Example:
variable : greeting
string stored : Hello World
function used : print
This file shows how to use for loops to repeat actions a specific number of times, often used to iterate through lists or ranges.
Here, I practiced using while loops, which repeat a block of code as long as a certain condition is true.
I learned how to define and call functions in Python to organize and reuse blocks of code.
This script demonstrates how to use if, elif, and else statements to make decisions based on conditions.
Basic math operations like addition, subtraction, multiplication, division, and using the math module are covered here.
This file introduces error handling using try and except blocks to prevent programs from crashing due to runtime errors.
In this script, I learned how to use the append() method to add items to a list.
This file shows how to create and display a simple table using lists and loops.
In this main file, I run a simple program Record Student Grade by using all the knowledge I learn.