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

  1. Create a program using the following built-in math module. You can also use the example written.
  1. using square root(sqrt) function contained
  2. using pi function contained in math module
  3. 2 radians = 114.59 degrees
  4. 60 degrees = 1.04 radians
  5. Sine of 2 radians
  6. Cosine of 0.5 radians
  7. Tangent of 0.23 radians
  8. 1 * 2 * 3 * 4 = 24
  1. Create a program using the following built-in module random. You can also use the example written.
  1. printing random integer between 0 and 5
  2. print random floating-point number between 0 and 1
  3. random number between 0 and 100
  4. 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.

  1. Create a program using the following built-in module date / time. You can also use the example written.
  1. Returns the number of seconds since the Unix Epoch, January 1st 1970.
  2. Converts a number of seconds to a date object.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!