11 IP-Brief Overview of Python (Input Output) - Assignment
The document provides 10 programming assignments related to input/output in Python. The assignments involve taking user input for things like student marks, details, numbers, prices, temperatures and performing calculations like averages, multiples, areas, amounts, and displaying the output. Students are asked to write Python programs to solve each assignment and record their work in an Informatics Practices register.
11 IP-Brief Overview of Python (Input Output) - Assignment
The document provides 10 programming assignments related to input/output in Python. The assignments involve taking user input for things like student marks, details, numbers, prices, temperatures and performing calculations like averages, multiples, areas, amounts, and displaying the output. Students are asked to write Python programs to solve each assignment and record their work in an Informatics Practices register.
CHAPTER-: BRIEF OVERVIEW OF PYTHON TOPIC: Input/Output In Python – (Assignment)
Note: Attempt the following questions in your IP register.
1. Write a program in python to input marks in 5 subjects
from the user and display the average marks. 2. Write a program in python to read details like name, class, age of a student and then print the details firstly in same line and then in separate lines. 3. Write a program in python to input a number and print its first five multiples. 4. Write a program to read a number n and print n2, n3 and n4 . 5. Write a program that generates the following output: 5 @ 10 @9 6. Write a program in python to input P, R and T from the user and calculate the Simple interest. 7. Write a program in python to input side of the square from the user and display its perimeter and area. 8. Write a program in python to input quantity and price per item from the user and calculate the total amount. 9. Write a program to input three fractional numbers from the user and display their product. 10. Write a program to input temperature of 7 days from the user and display the average temperature.