Function | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Function

I have 2 list in 1 list like: x = [[3,4,6],[7,3,1]] And I want to caleculate each value in a list and get sum of 2 list; like: [3**3 + 4**4 + 6**6] + [7**7 + 3**3 + 1**1] ...With function, I need help to make this done.

16th May 2021, 4:36 PM
\Dante/
\Dante/ - avatar
5 Answers
+ 2
Interesting. Did you know about presenting your attempt first?
16th May 2021, 4:46 PM
JaScript
JaScript - avatar
+ 1
RAYAN Did you try?
16th May 2021, 4:46 PM
A͢J
A͢J - avatar
+ 1
16th May 2021, 5:33 PM
\Dante/
\Dante/ - avatar
0
SAYED🇧🇩🇵🇸 thank you so much
16th May 2021, 6:19 PM
\Dante/
\Dante/ - avatar