Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2 . 1 . 2 : Concatenating strings. First, write two input ( ) statements to read in values for my _ city followed by

2.1.2: Concatenating strings.
First, write two input() statements to read in values for my_city followed by my_state.
Then, use string concatenation to assign log_entry with current_time, my_city, and my_state. Separate each value with a space
character (').
Ex: If my_city is Houston and my_state is Texas, then the output is:
2020-07-2602:12:18: Houston Texas
Learn how our autograder works
543046.3884724.93zqy7
current_time =?'2020-07-2602:12:18:?'
|'' Your solution goes here '"
print(log_entry)
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions