Jul-17-2017, 03:11 PM
my question here
build a list (add_animals) using a while loop, stop adding when an empty string is entered
build a list (add_animals) using a while loop, stop adding when an empty string is entered
add_animals =[] user_input=input("Enter animals names:") while user_input!=" ": add_animals.append(user_input) print(add_animals)but I am not getting the proper output.