Write a function
Option which returns the value of
string . If
inputCapital has a value
show it must return the value, and if the value is
None , return
invalid . Print country name and capital as in the sample output format.
when executing with
scala Options India .
Output will be: India : New Delhi
Need help to proceed with lab learning