Question: In Python: 1. Create a code that gives you the current time using import datetime 2. Add the timedelta to the datetime and subtract 60

In Python:

1. Create a code that gives you the current time using "import datetime"

2. Add the timedelta to the datetime and subtract 60 second and added 2 year. For each condition, state the code and output.

3. Create a timedelta object representing 100 days, 10 hours, and 13 minutes.

4. Write a function that takes two arguments (feet and inches) with this time 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!