0
How may I call this function
How may I call this function ? Would you help me regarding the code ? https://code.sololearn.com/cPD2EdCuw5pa/?ref=app
3 Réponses
+ 1
_sum_of_a_2d_list_sample_(values)
+ 1
A 2d list is a table, name your function sum_of_a_table(table).
I prefer to make the names of things in my code short and simple, for example: tableSum or table_sum
0
with calling in this way:
sample_2d_list = [
["david",18,19,20],
["hasan",12,8,18],
["parisa",12,14,15]
]
print (_sum_of_a_2d_list_sample_(sample_2d_list))
I was received ERROR
Just now I fpund solution, I removed strings and it was runned