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
Nutka1998 [239]
3 years ago
12

Create a new method in your language called Times Print. This should be a void method. It should accept exactly two numeric valu

es as input, X and Y. Inside the body, it should display text like, "The value of X times Y is Z," where Z=X*Y. It should accomplish no other tasks inside the body. Call this method inside your main (or equivalent starting point) three times, each with different inputs. Check that the program runs and the output matches what you expect. Embed screenshots of the code and the program running.

Computers and Technology
1 answer:
user100 [1]3 years ago
8 0

Answer:

The code commented is given below, also the lines that start with # are comments that explains the code.

# Create a function named times_print that receives 2 values x and y

def times_print(x, y):

   # Print the formatted string

   print("The value of {} times {} is {}".format(x,y,x*y))

# Create the main function

def main():

   # Call the funciton times_print 3 times with different values

   times_print(2,3)

   times_print(4,5)

   times_print(5,6)

# Execute the main function

main()

Explanation:

The code was written using Python 3.5, and here I attach the screenshots of the program running:

You might be interested in
When you are driving on a rural road, if your right wheels run off the pavement, you should hold the steering wheel firmly and?
Lady_Fox [76]

When you are driving on a rural road, if your right wheels run off the pavement, you should hold the steering wheel firmly and such that it ought to be still with the bearing heading straight ahead and afterward while driving, it is ideal to back it off.    

Further Explanation:  

Rural Driving:  

Despite the fact that there is less traffic in rural zones those streets stay as hazardous as jam-packed thruways. There are some potential perils in country territories that you ought to know about: plain field and homestead garages and passages, animals crossing regions and ranch vehicles, harsh street conditions.  

Rural street:  

Rural streets are characterized as low traffic volume streets situated in forested and rangeland settings that serve private, recreational and asset the board employments. They may have been developed to moderately low measures with a restricted spending plan.  

Rural streets risky:

They additionally figure they can speed since, what are the chances of getting captured on a provincial street. Perilous Conditions – Because rustic streets are just two paths, it is risky to pass, the streets are typically smaller, and there is an expanded hazard for crashes that are head-on.  

Risky kind of street:  

Answer: Most individuals expect, on account of the high speeds included, that interstates or expressways are the most hazardous sort of street however they aren't. The most risky sort of streets for all drivers however particularly for youngsters are two-path nation or rustic streets  

Subject: Computers and technology

Level: High School

Keywords: Rural Driving, Rural street, Rural streets risky, Risky kind of street.

Related links:

Learn more about evolution on

brainly.com/question/2274303

brainly.com/question/10827308

8 0
3 years ago
Read 2 more answers
Greg works for an online games development company. He is not a net freak, but occasionally he visits online literature sites an
sweet-ann [11.9K]

Answer:

i think its A

Explanation:i hope i helped

5 0
3 years ago
A(n) _______________ supplies one of the most critical aspects of docking stations, but in a smaller, more portable format: supp
baherus [9]

Answer:

A Port Replicators.

Explanation:

Port replicators are devices or extension. They are plugged into the laptop's usb port to provide extra ports to connect other external devices needed by the laptop.

Docking stations does the same thing, but the laptop is plugged into the docking station holding the needed devices, and meant for that laptop brand.

7 0
3 years ago
A. Requiring computer users to log off before leaving for lunch
GuDViN [60]

Answer:

Option A, B, and D.

Explanation:

In the above question, the some details of the question are missing that is the part of the question.

Information Security applies to the mechanisms and techniques built and maintained to secure print, computerized, or any other type of personal, secret and confidential information or records from unauthorized access, usage, exploitation, release, damage, manipulation, or disturbance.

So, the following are the option that is true about the scenario.

Other option is not true about the scenario because Option C the click fraud are not the part or protect from the information security and Option F is not considered to the following scenario.

7 0
3 years ago
Please help me idk I suck at this stuff ​
kap26 [50]
I would say the best clear answer is D, because A is a little bit unclear but I would say the best answer is D.

Why?

Mesh Topology is expensive considering more links as compared to Ring topology.


4 0
2 years ago
Other questions:
  • _____ allows you to use the internet for making phone calls instead of leasing traditional telephone lines from the phone compan
    6·1 answer
  • A report formatted where the page is taller than it is wide is formatted in ____.
    12·1 answer
  • What is the voltage drop across R4 in the diagram shown above?
    13·1 answer
  • Please help me ASAP
    6·1 answer
  • When creating a shape in Word, what are some available options? Check all that apply. adding text to the shape changing the size
    6·1 answer
  • What is the data type of the following expression?
    12·2 answers
  • What is one reason why a business may want to move entirely online?
    12·1 answer
  • Which of the following will print I'VE GOT THIS on the screen? (5 points)
    14·1 answer
  • In needs analysis: Group of answer choices the costs of different physical network design alternatives are assessed the rate of
    10·1 answer
  • Create a program that prompts the user for a positive integer then prints a right-aligned pyramid using that number using the st
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!