0

Hi guys can you say my code is correct or not for bellow question?

In a list of array the sum of the elements in the list is k then the existing elements in array A&B is sum of k ,A+B=K prove https://code.sololearn.com/c07tP9zUzvAp/?ref=app

17th May 2019, 1:46 PM
Raj J
Raj J - avatar
3 Antworten
+ 3
Is correct but, for my self i dont like use name for my variables then are keywords in python, in your case, list. But its fine
17th May 2019, 1:51 PM
Ramphy Aquino Nova
Ramphy Aquino Nova - avatar
+ 1
As Ramphy said, it is not recommended to use keywords (e.g. list) as variable names as it can mess up with your code
17th May 2019, 5:12 PM
Diego
Diego - avatar
0
Your try to say code correct but try use different name not use keywords ,I am correct
17th May 2019, 1:53 PM
Raj J
Raj J - avatar