0
Python Functions
str1=input(‘name: ‘) Def func(a): For i in a: Print(i,end=‘ ‘) Print(func(str1)) Answer is: a b c None How can I change the code so I don’t get ‘None’ in answers?
3 ответов
0
Remove print() from print(func(str1)).
Reason: Your function was returning None.
0
Thanks!