Basic python programs for practice
1.Write a Python program to add two numbers entered by the user.
2.Write a Python program to find the area of a rectangle given the length and width.
3.Write a Python program to check whether a number is positive, negative, or zero.
4.Write a Python program to find the largest of three numbers.
5.Write a Python program to check if a number is even or odd.
6.Write a Python program to display the Fibonacci sequence up to a given number.
7.Write a Python program to count the number of vowels in a string.
8.Write a Python program to reverse a string.
9.Write a Python program to check if a given string is a palindrome.
10.Write a Python program to find the factorial of a number using a for loop.
11.Write a Python program to check if a given number is a prime number.
12.Write a Python program to find the sum of digits of a number.
13.Write a Python program to find the common elements between two lists.
14.Write a Python program to generate a multiplication table for a given number.
15.Write a Python program to create a list of squares of numbers from 1 to 10.
16.Write a Python program to remove duplicates from a list.
17.Write a Python program to find the largest element in a list
18.Write a Python program to sort a list of numbers in ascending order.
19.Write a Python program to concatenate two lists.
20.wirte a python program that displays a square roots of number from a given range.