1. Print numbers from 1 to 10 using while.
2. Print numbers from 10 to 1 using while.
3. Print all even numbers between 1 and 20.
4. Print all odd numbers between 1 and 20.
5. Print your name 5 times using while.
6. Print numbers from 0 to 50 with step size 5.
7. Print numbers from 1 to N (N given by user).
8. Print numbers from N to 1.
9. Print the table of 2 using while.
10. Print the table of a number given by user.
11. Find the sum of numbers from 1 to 10.
12. Find the sum of numbers from 1 to N.
13. Count how many numbers are there from 1 to 50.
14. Count how many even numbers between 1 and 50.
15. Count how many odd numbers between 1 and 50.
16. Find the sum of even numbers from 1 to 20.
17. Find the sum of odd numbers from 1 to 20.
18. Print all numbers divisible by 3 between 1 and 50.
19. Print all multiples of 5 less than 100.
20. Count number of digits in a number.
21. Find the sum of digits of a number.
22. Reverse a number.
23. Find the largest digit in a number.
24. Find the smallest digit in a number.
25. Check if a number is palindrome.
26. Check if a number contains digit 5.
27. Count how many times digit 3 appears in a number.
28. Find the product of digits of a number.
29. Print each character of a string using while.
30. Count number of characters in a string.
31. Count number of vowels in a string.
32. Count number of consonants in a string.
33. Reverse a string using while.
34. Print string characters in reverse order.
35. Count number of spaces in a string.
36. Check if string contains letter 'a'.
37. Count how many times 'e' appears in a string.
38. Check if string is palindrome.
39. Print all elements of a list using while.
40. Print elements of a list in reverse.
41. Find the sum of list elements.
42. Find the largest element in a list.
43. Find the smallest element in a list.
44. Count how many elements are greater than 10.
45. Count even numbers in a list.
46. Count odd numbers in a list.
47. Print only positive numbers from a list.
48. Print only negative numbers from a list.