what with python? and why he writes "None"? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
16th Aug 2020, 10:05 AM
иван
иван - avatar
3 Answers
+ 3
nums.append(nums) is a method that will return None and you are substituting the value in list with None.
16th Aug 2020, 11:48 AM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar
+ 2
print statement helps in debugging.
16th Aug 2020, 10:09 AM
Rohit
+ 2
RKK but why?im not understand
16th Aug 2020, 10:11 AM
иван
иван - avatar