Python Task Sheet #1
1. Write a code to print 5 lines about your school
2. Write a code to print 10 Historic events of India
3. Write a code to print Multiplication of two numbers
4. Write a code to store two values in variables ‘num1’ & ‘num2’. And print the
remainder of the division of num1 & num2
5. Write a code to print your name 10 times
6. Write a code which takes input as “City” name from the user. And prints “The
‘city_name’ is the awesome place”.
7. Write a code to take two numbers as input and print their Addition
8. Write a code to take 5 Numbers from user and find out the Average of 5 numbers
and print it.
9. Write a code to take the user input a name of the pair & display the pair formed.
For e.g. Pair of Bat is:
User Input: Ball
Output : So the Pair is Bat & Ball.
10. Write a code to take input as Friends name and if the name is “Sheela”, then
print”She’s a Best Friend”.
If the name is “Rina” , then print “I know her”. If any other name is found then
print “I don’t know her”