Pr05 PWP
Pr05 PWP
SUB: PWP(22616)
Practical No:05
Roll.No: 58
XI. Exercise
1. Print the following patterns using loop:
a.
*
**
***
****
b.
*
***
*****
***
*
c.
1010101
10101
101
1
2. Write a Python program to print all even numbers between 1 to 100 using while loop.
3. Write a Python program to find the sum of first 10 natural numbers using for loop
4. Write a Python program to print Fibonacci series
8. Write a Python program that takes a number and checks whether it is a palindrome
or not.