0
If i want to use return here!! What would be the code for it
def names(user): for name in user: print('Hello, ' + name.title()) username = names(['rohan', 'sunil', 'rahul'])
2 Réponses
+ 1
Given the list passed to the names() function, what should the variable username be? For instance do you just want them appended to each other so
username = "rohansunilrahul"
or some other result?
0
Thank You bro!! Now i got what to do!!