} employees are earning more than Rs. Lakh per annum". format(count, n)) Program : Python program to count the number of employees earning more than lakh per annum. The monthly salaries of n number of employees are given 12th Computer Chapter - - Lists, Tuples, Sets and Dictionary Output: Enter no.
of employees: No. of Employees Enter Monthly Salary of Employee Rs.: Enter Monthly Salary of Employee Rs.: Enter Monthly Salary of Employee Rs.: 12500 Enter Monthly Salary of Employee Rs.: Enter Monthly Salary of Employee Rs.: Annual Salary of Employee is:Rs. 36000 Annual Salary of Employee is:Rs. 114000 Annual Salary of Employee is:Rs.
150000 Annual Salary of Employee is:Rs. 69000 Annual Salary of Employee is:Rs. 96000 Employees out of employees are earning more than Rs. Lakh per annum Num = [] for x in range( , ): Num.append(x) print("The list of numbers from to = ", Num) for index, i in enumerate(Num): if(i% == ): del Num[index] print("The list after deleting even numbers = ", Num) Output The list of numbers from to = [ , , , , , , , , , ] The list after deleting even numbers = [ , , , , ] Program : Write a program to create a list of numbers in the range to .
Then delete all the even numbers from the list and print the final list. 12th Computer Chapter - - a=- b= n=int(input("Enter no. of terms: ")) i= sum= Fibo=[] while i<n: s = a + b Fibo.append(s) sum+=s a = b b = s i+= print("Fibonacci series upto "+ str(n) +" terms is : " + str(Fibo)) print("The sum of Fibonacci series: ",sum) Output Enter no. of terms: Fibonacci series upto terms is : [ , , , , , , , , , ] The sum of Fibonacci series: Program : Write a program to generate in the Fibonacci series and store it in