Dictionaries and Tuples



Exercise

1. Write python program that allows to store age of your family members. Program should ask to enter person name and age and once you are done you should be able to input name of the person and program should tell the age. Now print name of all your family members along with their ages.

2. Write a function called add_and_multiply that takes two numbers as input and it should return sum and multiplication as two separate numbers.


Download Answers