0
Pass arguments from list?
How can I solve this guys? I want to create an instance of a class that the arguments are elemnts from a list. https://code.sololearn.com/cfR5R28WsJKN/?ref=app
1 Odpowiedź
0
num = Number(*num_list)
print(num.a, num.b, num.c, num.d)
# 1 2 3 4