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
HISTORY OF THE SOFTWARE August 31, 2018 Python was created in the early 1990s by Guido van Rossum at Stichting Mathematisch Centrum (CWI, see http://www.cwi.nl) in the Netherlands as a successor of a language called ABC. Read more