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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!