Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hello guys.. please help out in this challenge I was given (coding in python) Write two statements to read in values for my_city followed by
Hello guys.. please help out in this challenge I was given (coding in python)
Write two statements to read in values for my_city followed by my_state. Do not provide a prompt. Assign log_entry with current_time, my_city, and my_state. Values should be separated by a space. Sample output for given program if my_city is Houston and my_state is Texas:
2014-07-26 02:12:18: Houston Texas
Note: Do not write a prompt for the input values.
1.current_time = '2014-07-26 02:12:18:'
2.my_city = ''
3.my_state = ''
4.log_entry = ''
5.
6.''' Your solution goes here '''
7.
8.print(log_entry)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started