SlidePub
Home
Categories
Login
Register
Home
Education
Loops in Python (The detailed examples about the Loops in python)
Loops in Python (The detailed examples about the Loops in python)
AliKhan325963
17 views
21 slides
Aug 31, 2025
Slide
1
of 21
Previous
Next
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
About This Presentation
Loops in Python Challenges
Size:
45.45 KB
Language:
en
Added:
Aug 31, 2025
Slides:
21 pages
Slide Content
Slide 1
Python Loop Challenges Each Task on a Separate Slide
Slide 2
Task 1: Multiplication Table (Formatted) Print a multiplication table from 1 to 10 using nested loops in a tabular format.
Slide 3
Task 2: Pyramid Pattern Print a pyramid of stars with height as user input.
Slide 4
Task 3: Hollow Square with Diagonals Print a hollow square with diagonals drawn using loops.
Slide 5
Task 4: Prime Numbers in a Range Print all prime numbers between 1 and 100 using loops only.
Slide 6
Task 5: Reverse a Number Input an integer and reverse it without converting to string.
Slide 7
Task 6: Palindrome Check (Number) Check if the number is a palindrome using loops.
Slide 8
Task 7: Sum of Digits Compute the sum of digits of an integer using loops.
Slide 9
Task 8: Count Vowels and Consonants Count vowels and consonants in a given string using loops.
Slide 10
Task 9: Factorial Calculation Find factorial using both for loop and while loop.
Slide 11
Task 10: Fibonacci Series Print the first n Fibonacci numbers using a loop.
Slide 12
Task 11: Pattern: Number Triangle Print incremental number triangle pattern like 1,12,123...
Slide 13
Task 12: Armstrong Numbers in Range Find all Armstrong numbers between 1 and 1000 using loops.
Slide 14
Task 13: GCD and LCM using Loops Compute GCD and LCM of two numbers without built-in functions.
Slide 15
Task 14: Print a Diamond Pattern Print a diamond shape pattern with stars.
Slide 16
Task 15: Sum of Even and Odd Numbers Compute sum of even and odd numbers from 1 to n.
Slide 17
Task 16: Find Largest and Smallest from Inputs Ask user for n numbers and find max and min using loops only.
Slide 18
Task 17: Count Digits Without Conversion Count number of digits in an integer without using str().
Slide 19
Task 18: Pattern with Alphabets Print pattern of alphabets (A, AB, ABC, etc.).
Slide 20
Task 19: Table of a Number with Powers Print powers of a given number in tabular format.
Slide 21
Task 20: Reverse Words in a Sentence Reverse the order of words in a sentence using loops only.
Tags
Categories
Education
Download
Download Slideshow
Get the original presentation file
Quick Actions
Embed
Share
Save
Print
Full
Report
Statistics
Views
17
Slides
21
Age
95 days
Related Slideshows
11
TLE-9-Prepare-Salad-and-Dressing.pptxkkk
MaAngelicaCanceran
32 views
12
LESSON 1 ABOUT MEDIA AND INFORMATION.pptx
JojitGueta
27 views
60
GRADE-8-AQUACULTURE-WEEKQ1.pdfdfawgwyrsewru
MaAngelicaCanceran
43 views
26
Feelings PP Game FOR CHILDREN IN ELEMENTARY SCHOOL.pptx
KaistaGlow
42 views
54
Jeopardy_Figures_of_Speech_Template.pptx [Autosaved].pptx
acecamero20
26 views
7
Jeopardy_Figures_of_Speech.pptxvdsvdsvsdvsd
acecamero20
27 views
View More in This Category
Embed Slideshow
Dimensions
Width (px)
Height (px)
Start Page
Which slide to start from (1-21)
Options
Auto-play slides
Show controls
Embed Code
Copy Code
Share Slideshow
Share on Social Media
Share on Facebook
Share on Twitter
Share on LinkedIn
Share via Email
Or copy link
Copy
Report Content
Reason for reporting
*
Select a reason...
Inappropriate content
Copyright violation
Spam or misleading
Offensive or hateful
Privacy violation
Other
Slide number
Leave blank if it applies to the entire slideshow
Additional details
*
Help us understand the problem better