<filename>datetime_test.py
# Import datetime class from the datetime module
import datetime
#Use the now() attribute on the datetime class to get the present time.
now = datetime.datetime.now()
#Print teh present time.
print("The time right now is ", now)
<filename>datetime_test.py
# Import datetime class from the datetime module
import datetime
#Use the now() attribute on the datetime class to get the present time.
now = datetime.datetime.now()
#Print teh present time.
print("The time right now is ", now)
# Import datetime class from the datetime module #Use the now() attribute on the datetime class to get the present time. #Print teh present time.