Addition
Sun 08 March 2026
x=2
y=3
z=x+y
print(z)
5
Score: 0
Category: basics
x=2
y=3
z=x+y
print(z)
5
Score: 0
Category: basics
from datetime import datetime
def get_age(d):
d1 = datetime.now()
months = (d1.year - d.year) * 12 + d1.month - d.month
year = int(months / 12)
return year
age = get_age(datetime(1991, 1, 1))
age
33
Score: 5
Category: basics
Read More
Score: 0
Category: basics
Read Moreprint("hello world")
hello world
Score: 0
Category: basics
Read MoreScore: 0
Category: basics
Read More