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 11:00
The editing of digital photos us about the same level of difficulty as editing an analog photo
Answers: 2
question
Computers and Technology, 22.06.2019 15:30
When creating a budget, log fixed expenses before income. after income. after savings. at the top.
Answers: 1
question
Computers and Technology, 22.06.2019 20:30
In this lab, you complete a prewritten c program that calculates an employee’s productivity bonus and prints the employee’s name and bonus. bonuses are calculated based on an employee’s productivity score as shown below. a productivity score is calculated by first dividing an employee’s transactions dollar value by the number of transactions and then dividing the result by the number of shifts worked.
Answers: 3
question
Computers and Technology, 22.06.2019 22:10
Asequential circuit contains a register of four flip-flops. initially a binary number n (0000 ≤ n ≤ 1100) is stored in the flip-flops. after a single clock pulse is applied to the circuit, the register should contain n + 0011. in other words, the function of the sequential circuit is to add 3 to the contents of a 4-bit register. design and implement this circuit using j-k flip-flops.
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, 15.04.2021 01:00
question
Mathematics, 15.04.2021 01:00
question
Mathematics, 15.04.2021 01:00
question
Mathematics, 15.04.2021 01:00
question
Mathematics, 15.04.2021 01:00
question
Mathematics, 15.04.2021 01:00
Questions on the website: 13722362