Question: in python Write a program that repeatedly prompts the user for a pair of inputs: name and age. For each pair of input it creates
in python
Write a program that repeatedly prompts the user for a pair of inputs: name and age. For each pair of input it creates a Record. Create a set with a Record object for each pair.
Question: What happens if two records are created with the same initial date, say (`Sean', 36) and ('Sean, 36)? (i.e. will the set have two record objects or one, in the set?
Do the last question again using dictionaries.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
