Question: 1. Exercise 2.18 (Current time) Listing 2.7, ShowCurrentTime.py, gives a program that dispiays the current timein GMT. Revise the program so that it prompts the
1. Exercise 2.18 (Current time) Listing 2.7, ShowCurrentTime.py, gives a program that dispiays the current timein GMT. Revise the program so that it prompts the user to enter the time zone in hours away from (offset to) GMT and displays the time in the specified time zone.
Enter the time zone offset to GMT : -5
The current time is :
I need this exact code using python. If you can please write neatly or type and please put exact coding that i need to use because I am confused with this exercise.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
