In this Python tutorial we will solve following problems in both For & While Loops :-
Display Natural numbers upto ‘n’.
Display First 100 Even numbers
Display First 50 odd numbers
Display square of ‘n’ Natural no.s & their sum.
Display Odd & Even numbers b/w a Range
Display numbers divisible by 3 only b/w a Range
Display numbers divisible by 5 or 7 or by both b/w a Range
Display Factorial of number
Display Fibonacci Series upto n