Control_Statements_and_Conditions
Control_Statements_and_Conditions
Module -2 Assignment
1) Write a program to find whether a given number(accept from the
user) is even or odd and print the message to the user
accordingly.
*
**
***
****
*****
Module -2 Assignment
7) Write a program to print following pattern:
1
12
123
1234
8) Write a program to convert this string “hello python” into uppercase using
string built-in function.
9) Write a program to convert this string “HELLO PYTHON” into lowercase using
string built-in function.