Pls read the documentation below for the help and assist. | Sololearn: Learn to code for FREE!

0

Pls read the documentation below for the help and assist.

""" Am trying to create a program whose take my brothers and sisters names as an user input then return with surname with each inputted user names until the loop reaches 10 firstname with surname """ def fullname(surname): a = 0 while a <= 10: first_name = input("Enter your firstname: ") b = first_name + surname a += 1 return b print(fullname( " ABDULMALIK "))

10/21/2021 8:47:57 AM

Muhammad Abdulmalik

2 Answers

New Answer

+3

a = 0 while a <= 10: def fullname(surname): first_name = input("Enter your firstname: ") b = first_name + surname return b a += 1 print(fullname( " ABDULMALIK "))

+1

Simba I really appreciated your effort, it's working