0% found this document useful (0 votes)
8 views

List of Python programs using loops

List of Python programs using loops for Class VII and VIII

Uploaded by

SUTAPA RAHA
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

List of Python programs using loops

List of Python programs using loops for Class VII and VIII

Uploaded by

SUTAPA RAHA
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Write a Python Programs to :

Q1 . Printing N number of numbers (user given range).


Q2 . Calculate and display the sum and product of N number of Numbers.
Q3 . Display Fibonacci Series to nth term.
Q4 . Display the series of Squares if Numbers to Nh term :
1 4 9 16 25 …….. n2
Q5 . Display reverse of a number.
Q6 . Check whether a number is Prime or not.
Q7 . Print the Multiplication table of N number.
Q8 . Check whether a string is Palindrome or not.
Q9 . Check whether a number is Magic number or not.
Q10 . Check whether a number is Perfect number or not.
Q11 . Calculate ad print the sum of the digits.
Q12 . Find the factorial of a number.
Q13 . Counting the Number of Vowels in a String.
Q14 . Pattern with Numbers:

Q15 . Number Triangle

Q16 . Printing Pascal's Triangle

You might also like