Write a functions to calculate trignometry values March 01, 2020 # Function for calculating trignometry values Read more
Bubble Sort Program to sort a list March 01, 2020 aList=[15,6,13,22,3,52,2] print("original List is:",aList) n=len(aList) Read more
Write a program to show the use of recursion in calculation of power. February 08, 2020 #Program to show the use of recursion in calculation of power. #Code #power a to b using recursion 6_4 Read more
Write a python program to check upper and lower case letters in a string. February 08, 2020 Read more
Write a python program to implement a stack and queue using a list data-structure. February 08, 2020 Read more
Write a random number generator that generates random numbers between 1 and 6 February 08, 2020 import random n=int(input("enter range for integer :")) print(random.randint(1,n)) Read more
Write a python function sin(x,n) to calculate the value of sin(x) using its Taylor series expansion up to n terms. Compare the values of sin(x) for different values of n with the correct value February 08, 2020 Read more
Write a program to remove all the lines that contain the character ‘a’ in a file and write it to another file. February 08, 2020 Read more
Factorial of a number November 19, 2019 Q:1 Write a program to Calculate the factorial of the inputted numbers. Program: 1: Read more