subject
Computers and Technology, 06.07.2019 02:10 india73

Write a program that creates a dictionary of son-father pairs--you can use celebrities, fictional characters, whatever. your program should present the user menu with three options. the following is an example:
father finder:
0 - quit
1 - find a father
2 - find a grandfather
option 0 should end the program.
option 1 should prompt the user for the name of the son. if the dictionary contains the son-father pair, the program should display the father. otherwise, the prgram should tell the user it doesn't know who the father is.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 13:30
What are the main arguments/points presented in the video about consciousness? present your opinion about the arguments. do you agree with all points? feel free to offer you personal reflections about the video?
Answers: 1
question
Computers and Technology, 22.06.2019 00:40
Write a function 'music_func' that takes 3 parameters -- music type, music group, vocalist -- and prints them all out as shown in the example below. in case no input is provided by the user, the function should assume these values for the parameters: "classic rock", "the beatles", "freddie mercury". for example: input: alternative rock,pearl jam,chris cornell output: the best kind of music is alternative rock the best music group is pearl jam the best lead vocalist is chris cornell note: the print statements will go inside the for example: print("the best kind of music is"
Answers: 2
question
Computers and Technology, 22.06.2019 20:40
Write a program that begins by reading in a series of positive integers on a single line of input and then computes and prints the product of those integers. integers are accepted and multiplied until the user enters an integer less than 1. this final number is not part of the product. then, the program prints the product. if the first entered number is negative or 0, the program must print “bad input.” and terminate immediately. next, the program determines and prints the prime factorization of the product, listing the factors in increasing order. if a prime number is not a factor of the product, then it
Answers: 2
question
Computers and Technology, 23.06.2019 03:00
What are the different parts of computer
Answers: 2
You know the right answer?
Write a program that creates a dictionary of son-father pairs--you can use celebrities, fictional ch...
Questions
question
History, 26.06.2019 12:40
Questions on the website: 13722367