Python Lab Manual / Python build in modules program

Program Name

Write a Python Program for build in modules.
Theory
Python build in modules contains functions which can be used directly.
Program Code


Input and Output:

Output:
Python build in modules
Square Root= 5.0
Pi= 3.141592653589793
Degrees= 114.59155902616465
Radians= 1.0471975511965976
Sin= 0.9092974268256817
Cos= 0.8775825618903728
Tan= 0.23414336235146527
Factorial= 24
Randint= 0
Random= 0.6964581801308168
Random= 80.25474268823038
Random List= python
Time 1637303829.6498117
Date: 1970-01-06


Home     Back