Question: Create a program using the following built-in math module. You can also use the example written. using square root(sqrt) function contained using pi function contained
- Create a program using the following built-in math module. You can also use the example written.
- using square root(sqrt) function contained
- using pi function contained in math module
- 2 radians = 114.59 degrees
- 60 degrees = 1.04 radians
- Sine of 2 radians
- Cosine of 0.5 radians
- Tangent of 0.23 radians
- 1 * 2 * 3 * 4 = 24
- Create a program using the following built-in module random. You can also use the example written.
- printing random integer between 0 and 5
- print random floating-point number between 0 and 1
- random number between 0 and 100
- List = [1, 4, True, 800, "python", 27, "hello"]
Using choice function in random module for choosing a random element from a set such as a list.
- Create a program using the following built-in module date / time. You can also use the example written.
- Returns the number of seconds since the Unix Epoch, January 1st 1970.
- Converts a number of seconds to a date object.
This uses a python
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
