You are on page 1of 2

CHAPTER - 1 PYTHON REVISION TOUR I

PROGRAMMING QUESTIONS-25.01.2020

1. To input two numbers and find the greatest.


2. Input principal and time. Then calculate simple interest. If time is more than 10 years,
calculate the simple interest at rate of 8% per annum. Otherwise calculate it at the rate
of 8% per annum. (S.I=Principal*Rate*Time/100)
3. To input three numbers and find whether they form the three sides of a triangle.
[Condition to form triangle is a+b>c and b+c>1 and a+c>b]
4. To find the sum of first n natural numbers, where n is to be input from the user.
5. To input a number and display its first 10 multiples.
6. Write a script to input 10 numbers and then display the largest of the numbers entered.

CHAPTER - 1 PYTHON REVISION TOUR I


PROGRAMMING QUESTIONS-25.01.2020

1. To input two numbers and find the greatest.


2. Input principal and time. Then calculate simple interest. If time is more than 10 years,
calculate the simple interest at rate of 8% per annum. Otherwise calculate it at the rate
of 8% per annum. (S.I=Principal*Rate*Time/100)
3. To input three numbers and find whether they form the three sides of a triangle.
[Condition to form triangle is a+b>c and b+c>1 and a+c>b]
4. To find the sum of first n natural numbers, where n is to be input from the user.
5. To input a number and display its first 10 multiples.
6. Write a script to input 10 numbers and then display the largest of the numbers entered.

CHAPTER - 1 PYTHON REVISION TOUR I


PROGRAMMING QUESTIONS-25.01.2020

1. To input two numbers and find the greatest.


2. Input principal and time. Then calculate simple interest. If time is more than 10 years,
calculate the simple interest at rate of 8% per annum. Otherwise calculate it at the rate
of 8% per annum. (S.I=Principal*Rate*Time/100)
3. To input three numbers and find whether they form the three sides of a triangle.
[Condition to form triangle is a+b>c and b+c>1 and a+c>b]
4. To find the sum of first n natural numbers, where n is to be input from the user.
5. To input a number and display its first 10 multiples.
6. Write a script to input 10 numbers and then display the largest of the numbers entered.

You might also like