subject

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. '2014-07-26 02:12:18:'
1 current_time
2 my_city ''
3 my_state= ''
4 log entry
5
6 current time = '2014-07-26' '02:12:18:
7 my_city = 'Houston'
8 my_state
9 log_entry '2014-07-26 02:12:18: Houston Texas
10
11
12
13
14
15
16
17 print(log._entry)

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 20:00
How much current flows through the alternator brushes? a. 2–5 a b. 25–35 a, depending on the vehicle c. 5–10 a d. 10–15 a
Answers: 2
question
Computers and Technology, 24.06.2019 00:00
Visualizing a game of “tag” to remember the meaning of contagious
Answers: 3
question
Computers and Technology, 24.06.2019 17:40
Write an assembly language program to input a string from the user. your program should do these two things: 1. count and display the number of words in the user input string. 2. flip the case of each character from upper to lower or lower to upper. for example if the user types in: "hello there. how are you? " your output should be: the number of words in the input string is: 5 the output string is : hello there. how are you?
Answers: 2
question
Computers and Technology, 24.06.2019 21:00
How does a vaccine prevent sickness and individual?
Answers: 2
You know the right answer?
Write two statements to read in values for my_city followed by my_state. Do not provide a prompt. As...
Questions
Questions on the website: 13722367