Advertisements

OPERATORS AND EXPRESSIONS
  

 

Q1. Write a Python script to input roll number and marks in three subjects of a student. Calculate and display the total and percentage.

Q2. Write a Python script to input a temperature in Celsius and convert it into Fahrenheit.

Q3. Write a Python script to input the values of a,b,c and calculate the roots of the quadratic equation.

Q4. Write a Python script to input sides of a triangle and calculate its area.

Q5. Write a Python script to input the values of Principal, Rate, and Time and calculate Simple Interest and Compound Interest.

Q6. Write a Python script to input employee number, basic, HRA, DA and IT of an employee. Calculate and display the net salary. (net salary=basic+HRA+DA-IT)

Q7. Write a Python script to input Item number, Price/unit, quantity and discount. Calculate and display the net amount to be paid.

Q8. Write a Python script to input time in seconds and display the number of hours, minutes and seconds in the given seconds.

Q9. Write a Python script to input length in meters and convert it into centimeters.

Q10. Write a Python script to input a three digits number and find the sum of its digits.

Post a Comment

Please Do not Comment link and spam Comment.

Previous Post Next Post