1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
egoroff_w [7]
4 years ago
14

Write two statements to read in values for my_city followed by my_state. assign log_entry with current_time, my_city, and my_sta

te. 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
Computers and Technology
1 answer:
viktelen [127]4 years ago
6 0

current_time = '2014-07-26 02:12:18:'

my_city = ' '

my_state = ' '

log_entry = ' '

'''Your solution goes here'''

my_city = input(' ')

my_state = input(' ')

log_entry = current_time + ' ' + my_city + ' ' + my_state

print(log_entry)

You might be interested in
A classmate is texting a false rumor around school that another student was arrested for shoplifting. This behavior can be descr
Natali5045456 [20]

Denigration. it means to unfairly criticize someone or something

3 0
4 years ago
Read 2 more answers
Write a program that receives a series of numbers from the user and allows the user to press the enter key to indicate that he o
kogti [31]

Answer:

theSum = 0.0#defined in the question.

count=0 #modified code and it is used to intialize the value to count.

data = input("Enter a number: ") #defined in the question.

while data != "": #defined in the question.

   number = float(data) #defined in the question.

   theSum += number #defined in the question.

   data = input("Enter the next number or press enter to quit ") #defined in the question "only some part is modified"

   count=count+1#modified code and it is used to count the input to print the average.

print("The sum is", theSum)#defined in the question.

print("The average is", theSum/count) #modified code and it is used to print the average value.

output:

  • If the user inputs as 1,4 then the sum is 5 and the average is 2.5.

Explanation:

  • The above code is written in the python language, in which some part of the code is taken from the question and some are added.
  • The question has a code that tells the sum, but that code is not print the average value of the user input value.
  • To find the average, some codes are added, in which one count variable which is initialized at the starting of the program and gets increased by 1, when the user gives the value.
  • Then that count divides the sum to print the average.
5 0
3 years ago
I need someone to help me paraphrase and make it in there own words? I struggle with this. This is the sentence
solniwko [45]

A hyperlink is a uniquely formatted word, group of words, or graphic that often shows webpage on the Internet, or file, or email, or the files with the  the same location when clicked.

<h3>How do I paraphrase a sentence?</h3>

To paraphrase rightly, one need to makes some changes to the original sentence and then use their synonyms or reformulate it.

Note that the paraphrase  form of the sentence given above is A hyperlink is a uniquely formatted word, group of words, or graphic that often shows webpage on the Internet, or file, or email, or the files with the  the same location when clicked.

Learn more about hyperlink from

brainly.com/question/17373938

#SPJ1

5 0
2 years ago
Answer the following questions which are based on the study "Patients' Engagement with Sweet Talk." Submit your answers.
eimsori [14]

Answer:

HURRY

Dr. Khan works for the marketing department of a company that manufactures mechanical toy dogs. Dr. Khan has been asked to assess the effectiveness of a new advertising campaign that is designed to be most persuasive to people with a certain personality profile. She brought four groups of participants to the lab to watch the video advertisements and to measure the likelihood that they would purchase the toy, both before and after watching the ad. The results of Dr. Khan’s study are presented below.

Part A

Explain how each of the following concepts applies to Dr. Khan’s research.

Survey

Dependent variable

Big Five theory of personality

Part B

Explain the limitations of Dr. Khan’s study based on the research method used.

Explain what Dr. Khan’s research hypothesis most likely was.

Part C

Use the graph to answer the following questions.

How did the trait of agreeableness affect how people responded to the new ad campaign?

How did the trait of conscientiousness affect how people responded to the new ad campaign?

7 0
3 years ago
Give the type and value of each result of the following Java expressions.
atroni [7]
Give the type and value of each result of the following Java expressions. a. (5 / 2) * 2.0  type is float value is 4.0 b. (5/2.0) * 2 type is integer value is 5c. "1.3" + "5.2" type is string value is 1.35.2d. 1 + 7.0 + "2" + "x"  this will produce an error because we cannot add variables of different type
3 0
3 years ago
Other questions:
  • Which of the following is small Java code script that adds functionality to web pages in a browser?
    7·1 answer
  • What is the main idea of this article? Please someone help me. I will give brainliest answer
    7·1 answer
  • PHOTOSHOP QUESTION:
    14·1 answer
  • Which wireless device connects multiple laptops, tablets, phones, and other mobile devices in a corporate environment?
    13·1 answer
  • Discuss the importance of employee security awareness training. What innovative ways should company’s implement security trainin
    14·1 answer
  • You are part of an Information Systems project team. Your job is to ensure that the technology and vendor suggested for use in t
    12·1 answer
  • Define the function max2 that takes two integers as arguments and returns the largest of them. Then define the function max_list t
    11·1 answer
  • I'm working on an assignment for my computer science class (Edhesive) and when I run the code, there are no errors. But when I t
    11·1 answer
  • to see additional functions available in an open desktop, document or website what action should the user perform?
    11·2 answers
  • To improve readability and maintainability, you should declare ________ instead of using literal values such as 3.14159.
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!