0% found this document useful (0 votes)
4 views14 pages

Python Programs for Patterns and Series

Uploaded by

Sabeeh Fatima
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views14 pages

Python Programs for Patterns and Series

Uploaded by

Sabeeh Fatima
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd

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)

You might also like