Question: String key _ value _ pair is read from input. Split key _ value _ pair into tokens using : as the separator

String key_value_pair is read from input. Split key_value_pair into tokens using ": " as the separator and assign tokens_list with the result.
Ex: If the input is Year of birth: 2016, then the output is:
['Year of birth', '2016'], in python please!

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 Programming Questions!