Q.7 Write a Python program to print all even numbers between 1 to 100. – using while loop
Q.8 Write a Python program to enter a number and print its reverse.
Q.9 Write a Python program to calculate factorial of a number.
Q.10 Write a python program to check whether a number is Armstrong number or not.
Q.11 Write a Python program to print Fibonacci series up to n terms.
Q.12 Write a Python program to check whether a number is palindrome or not.
Q.13 Create a list in Python of children selected for science quiz with following names- Arjun, Sonakshi, Vikram, Sandhya, Sonal, Isha, Kartik Perform the following tasks on the list in sequence-
Print the whole list Delete the name “Vikram” from the list Add the name “Jay” at the end Remove the item which is at the second position.
Q.14 Create a list num=[23,12,5,9,65,44]
print the length of the list print the elements from second to fourth position using positive indexing print the elements from position third to fifth using negative indexing
Q.15 Create a list List_1=[10,20,30,40]. Add the elements [14,15,12] using extend function. Now sort the final list in ascending order and print it.