Question: Dictionary num _ to _ word contains multiple number and word pairs. Read integers start _ from and end _ at from input, representing an

Dictionary num_to_word contains multiple number and word pairs. Read integers start_from and end_at from input, representing an event's start and end times. Use num_to_word to access the corresponding word of each integer. Then, output the starting time as a word, followed by ' to ' and the ending time as a word.
num_to_word ={
1: 'one', 2: 'two', 3: 'three', 4: 'four',
5: 'five', 6: 'six', 7: 'seven', 8: 'eight',
9: 'nine', 10: 'ten', 11: 'eleven', 12: 'twelve'
}
''' Your code goes here '''

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!