0% found this document useful (0 votes)
10 views2 pages

Conditional Statement Code

The document contains multiple Python programming tasks, including finding numbers divisible by 7 and multiples of 5 between 1500 and 2700, converting temperatures between Celsius and Fahrenheit, reversing a user-input word, printing types of items in a list, calculating the sum and average of user-input integers, and checking if a number is divisible by both 5 and 7.
Copyright
© All Rights Reserved
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% found this document useful (0 votes)
10 views2 pages

Conditional Statement Code

The document contains multiple Python programming tasks, including finding numbers divisible by 7 and multiples of 5 between 1500 and 2700, converting temperatures between Celsius and Fahrenheit, reversing a user-input word, printing types of items in a list, calculating the sum and average of user-input integers, and checking if a number is divisible by both 5 and 7.
Copyright
© All Rights Reserved
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

Write a Python program to find those numbers which are divisible by 7 and multiples of 5, between

1500 and 2700 (both included)


Write a Python program to convert temperatures to and from Celsius and Fahrenheit.

[ Formula : c/5 = f-32/9 [ where c = temperature in celsius and f = temperature in fahrenheit ]

Write a Python program that accepts a word from the user and reverses it.

Write a Python program that prints each item and its corresponding type from the following list.

datalist = [1452, 11.23, 1+2j, True, 'rohan5', (0, -1), [5, 12], {"class":'V', "section":'A'}]

Write a Python program to calculate the sum and average of n integer numbers (input from the
user). Input 0 to finish.

Python program to check if the number is divisible by both 5 and 7 or not

You might also like