# Enter a code
age = 2
if age>=18:
print('adult')
elif age>=6:
print('teenager')
elif age>=3:
print('kid')
else:
print('baby')
age = 2
if age>=18:
print('adult')
elif age>=6:
print('teenager')
elif age>=3:
print('kid')
else:
print('baby')
2024-12-13
L = [[1, 2, 3], [5, 3, 2], [7, 3, 2]]
for it in L:
s = (it[0] * it[1] + it[1] * it[2] + it[0] * it[2]) * 2
print(s)
for it in L:
s = (it[0] * it[1] + it[1] * it[2] + it[0] * it[2]) * 2
print(s)
2024-11-26