subject

Write a Python program that keeps reading in names and ages from the user, until the user enters 0. Once the user enters 0, you should print out all the information that was entered by the user. Use this case to test your program: Input:
John 61
Marcel 17
Daisy 25
Samantha 52
Nelson 71
Deborah 46
0

Output:
John 61
Marcel 17
Daisy 25
Samantha 52
Nelson 71
Deborah 46
Use two arrays to hold the names and the ages. Once the user enters 0, stop reading in data, and start printing out all the data in the two arrays in the same order that they were entered.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 08:30
Why might you choose to create a functional resume
Answers: 1
question
Computers and Technology, 24.06.2019 21:30
Write an algorithm to check if a number is even or odd and show with flow chart step by step
Answers: 2
question
Computers and Technology, 24.06.2019 22:00
Need getting google account back, big issue
Answers: 2
question
Computers and Technology, 24.06.2019 23:30
Game design colleges anyone know the requirements? ?
Answers: 1
You know the right answer?
Write a Python program that keeps reading in names and ages from the user, until the user enters 0....
Questions
question
Mathematics, 16.09.2021 18:30
question
Mathematics, 16.09.2021 18:30
question
Biology, 16.09.2021 18:30
Questions on the website: 13722362