Programs in
Python
Pattern-1
12345
1234
123
12
1
Pattern-2
12345
1234
123
12
1
Pattern-3
A
AB
ABC
ABCD
ABCDE
Series Programs
(a) 1 + x + x² + … + xⁿ
(b) 1 − x + x² − x³ + … ± xⁿ
(c) x + x²/2 + x³/3 + … + xⁿ/n
(d) x + x²/2! + x³/3! + … + xⁿ/n!
Prime or Composite
Perfect, Armstrong, Palindrome
Fibonacci Series
GCD and LCM
Count vowels, consonants,
upper/lowercase
Dictionary of Students (Roll, Name,
Marks)