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, 22.06.2019 14:10
Dean wants a quick way to look up staff members by their staff id. in cell q3, nest the existing vlookup function in an iferror function. if the vlookup function returns an error result, the text “invalid staff id” should be displayed by the formula. (hint: you can test that this formula is working by changing the value in cell q2 to 0, but remember to set the value of cell q2 back to 1036 when the testing is complete.)
Answers: 3
question
Computers and Technology, 23.06.2019 03:30
Hashtags serve to identify the topic of a given tweet true false
Answers: 2
question
Computers and Technology, 23.06.2019 16:00
An english teacher would like to divide 8 boys and 10 girls into groups, each with the same combination of boys and girls and nobody left out. what is the greatest number of groups that can be formed?
Answers: 2
question
Computers and Technology, 23.06.2019 21:40
Simon says is a memory game where "simon" outputs a sequence of 10 characters (r, g, b, y) and the user must repeat the sequence. create a for loop that compares the two strings. for each match, add one point to user_score. upon a mismatch, end the game. sample output with inputs: 'rrgbryybgy' 'rrgbbrybgy'
Answers: 3
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
History, 25.08.2019 02:10
question
Mathematics, 25.08.2019 02:10
question
Physics, 25.08.2019 02:10