Assignment - 3
Assignment - 3
1. Write a python code to find the smallest of three numbers using elif.
2. Write a python code for the following using for and while loops:
* factors of no
* Perfect number or not
* factorial
3. Write a python code for the following using functions and recursive functions:
* Armstrong number or not
* Palindrome or not ( input: number)
# armstrong number
4. Take 10 names as input from the user and store them in a list. And display out
as follows using both for and while loops: "Hi Name1"
"Hi name2"
.
.
.
"Hi Name10"
# using for loop
* 7-pointed star
* circle spiral