Professional Documents
Culture Documents
TOPICS COVERED.
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”.
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.