The document is a task sheet containing ten Python coding exercises. These tasks include printing statements, performing arithmetic operations, taking user input, and displaying specific outputs based on conditions. The exercises are designed to enhance basic programming skills in Python.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
7 views1 page
Python Task Sheet #1
The document is a task sheet containing ten Python coding exercises. These tasks include printing statements, performing arithmetic operations, taking user input, and displaying specific outputs based on conditions. The exercises are designed to enhance basic programming skills in Python.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1
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”