Basic for Loop
1) Print all numbers from 1 to 10 using a for loop.
2) Print the square of numbers from 1 to 10.
3) Print the even numbers between 1 and 50.
4) Print the multiplication table of a number entered by the user.
5) Print all numbers from 1 to 100 that are divisible by 7.
6) Print all odd numbers between 1 and 20.
7) Count how many numbers between 1 and 50 are divisible by both 3 and 5.
8) Print "Fizz" for numbers divisible by 3, "Buzz" for divisible by 5, and "FizzBuzz" for both,
from 1 to 50.
9) Print whether numbers from 1 to 10 are even or odd.
10) Input any 10 number and print the height number among them.
11) Input any 10 numbers and print the maximum and minimum number.
12) Print all numbers between 1 to 30 and label them as "Prime" or "Not Prime".
13) Print each character of a string using a for loop.
14) Count the number of vowels in a string using a for loop.
15) Reverse a string using a for loop.
16) Print only the uppercase letters from a given string.
17) Print a right-angled triangle pattern using *: markdown
*
**
***
****
18) Print a multiplication table from 1 to 5 using nested loops.
19) Given a list of numbers, print only the numbers greater than 50.
20) Find the largest number in a list using a for loop and if condition.