Question For Practice 4
Question for practice 4
- Create an empty list of type string called
days
. Use the add method to add names of 7 days and print all days. - Create a map with
name
,address
,age
,country
keys and store values to it. Update country name to other country and print all keys and values.