You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
236 B
11 lines
236 B
def add(a):
|
|
print(a)
|
|
print(type(a))
|
|
if type(a) == list:
|
|
print(a[0])
|
|
print(type(a[0]))
|
|
print(a[0].name)
|
|
print(type(a[0].name))
|
|
print(a[0].age)
|
|
print(type(a[0].age))
|
|
return a
|