Loops and Cases in Python
In this article I am sharing information regarding basic loops with some small cases. Information includes if else cases, for loop with range option, while with break and continue key words. def main() : #iF and else cases with and or conditions EmployeeAge=22 StudentAge=23 WorkerAge=25 if EmployeeAge > StudentAge : print("Employee is Older") else : print("Student is Older") if EmployeeAge > StudentAge and StudentAge > WorkerAge : print("Employee is older") elif StudentAge > EmployeeAge and EmployeeAge > WorkerAge : print("Student is Older") elif WorkerAge > EmployeeAge and EmployeeAge > StudentAge : print("Worker is Older") elif StudentAge == EmployeeAge : print("Student and Employee have same age") elif EmployeeAge > StudentAge or EmployeeAge > WorkerAge : print("Employee is older then Student or Worker") else : print("Sh...