Page 81 - TP_Prime_V2.2_Class7
P. 81
d. num = 3.4
if num > 0:
print("Positive number")
elif num == 0:
print("Zero")
Prime (Ver. 2.2)-VII print("Negative number") MORE ON PYTHON
else:
21 st
In the Lab
Century
Skills #Technology Literacy
Write a program to:
78 1. input two numbers and provide the sum, difference and multiplication of them in 79
different lines.
2. input a number and check if the number is greater than 100 or not.
3. input two numbers and fulfill the following conditions:
a. If both numbers are greater than 10, print their sum.
b. If only the first number is greater than 10, print their product.
c. If only the second number is greater than 10, print their difference.
d. If both numbers are less than 10, print their exponential.
4. find the area of a triangle and print it.
5. check if the number entered by user is divisible by 17.
6. use the + operator to print your first name and last name.
SDG Activity
Conduct a survey to identify male-to-female ratios among teaching staff,
students, and housekeeping staff at your school. Use Python to analyse the
data and display result. Then, suggest three different ways to promote gender
equality in your school based on your findings.

