You are on page 1of 1

Lab Exercise

TOPICS COVERED.

1. Implement range () function in python

2. Implement various control statements in python.

3. Implement user defined functions using python.

1. Write a program to print the numbers from 1 to 100 in reverse order.

2. Write a program to find the square of first ten numbers.

3. Write a program to find the greatest of three numbers using “for - loop” construct.

4. Write a program to find the minimum of a number using the “for- loop”.

5. Write a program to find the minimum of a number using the “for- loop”.

6. Demonstrate the generate Fibonacci series.

7. Write a program to print the Multiplication table.

8. Consider a scenario where a son eats 5 chocolates every day. The price of each chocolate is
different. The father pays the bill to vendor every week. Develop a program that can generate
the bill and state which loop is used.

9. Write a program to print the sum of every 5 th Number of 0 to 500 including 0 and 500.

10. Write a program to read the Password form user if user enters correct Password display
“Welcome to Python” only 3 iterations are used.

You might also like