6
Loading subject content…
Loading subject content…
Loading practice questions…
What is the output of the following code?
import datetime
d = datetime.date(2024, 2, 28) + datetime.timedelta(days=1)
print(d)What is the output of the following code?
import random
random.seed(1)
a = random.random()
random.seed(1)
print(a == random.random())What is the output of the following code?
import math
print(math.factorial(5), math.gcd(12, 18))