Search Header Logo

015. Extra Help

Authored by Robert Giordano

Computers

9th - 12th Grade

Used 1+ times

015. Extra Help
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

3 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What do we type in order to be able to use the date and time functions

import __________

2.

DRAG AND DROP QUESTION

1 min • 1 pt

Drag and drop the options to create a date object.

import datetime

year = 2023

month = 11

day = 12

date_obj = datetime.date(​ (a)   , ​ (b)   , ​ (c)   )

year
month
day

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Fill in the blank to find the number of days between the 2 date objects

import datetime

date1 = datetime.date(2023, 9, 6)

date2 = datetime.date(2024, 6, 21)

diff = (date2 - date1).____

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?