WAP stands for Write A Program
WAP to print the first and last character of all the names in the given list
l = [‘Mayank’, ‘Aniket’, ‘Saurabh’, ‘Rahul’]
WAP to print the powers of first n whole numbers
Take power and n from the user as input.
WAP to print the data type of each element in the given tuple.
t = (‘Someone’, 34, ‘hi’, 12.983, 34 +9j)
WAP to print all the two digit even numbers which are also a multiple of 3.
WAP to print the sum of individual tuples separately.
marksList = [(23, 24, 31), (56, 34, 53), (42, 58, 31)]
WAP to print all the multiples of 2 and 7 between 30 and 300
t = (23, 45, 67, 90, 12, 10)
WAP to print even/odd for all the numbers.
Take a string input from the user. Reverse the string without using slicing.
t = (23, 45, 67, 90, 12, 10)
WAP to print the 2nd digit of all the numbers from this collection.
l = [2, 5, ‘a’, 5, ‘r’, 7, ‘m’, ‘t’, ‘4’]
WAP to print all the numerical data.
WAP in Python to calculate the sum of all numbers from 1 to n.
Take n as input from the user.
WAP in Python to count the total number of digits in a number. Take number as input.
WAP in Python that accepts a word from the user and prints the characters of the word in reverse fashion.
WAP in Python to find the factorial of a given number. Take the number as input.
Print the following pattern using for loop.
5 4 3 2 1
4 3 2 1
3 2 1
2 1
1
Office:- 660, Sector 14A, Vasundhara, Ghaziabad, Uttar Pradesh - 201012, India