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
astraxan [27]
3 years ago
13

Write a function that takes two arguments, both integers, and prints the product. In the main part of your program (the part tha

t isn’t inside a function), call your function to test it out.
Computers and Technology
1 answer:
Fudgin [204]3 years ago
5 0

Answer:

def multiply(a, b):

print(a*b)

multiply(2,3)

Explanation:

Using python3 :

The program is written using python 3 ;

def represent the statement used at the start of a function.

Multiply is the name given to our function (it could be any other name of interest)

(a, b) are the argument, which represents the two integers the function takes.

print(a * b) = What the function does is to print the product of a and b

multiply(2,3) is used to test out our function by call the name and Giving  it two integers to work on. The function will print 6

You might be interested in
Escribe 10 ejemplos de lo que consideras un byte
stira [4]

<u>Respuesta:</u>

Espero y te pueda ayudar: ).

4 0
3 years ago
Select the correct answer. What is the final step of the object-oriented design process?
Vikentia [17]
D. Writing the methods of the classes
6 0
2 years ago
So I got the MSI GE76 Raider and I dont know if I should get a new better gaming laptop or not, is the GE76 good for gaming?
Nadusha1986 [10]

Answer:

yes it is

Explanation:

The MSI GE76 Raider is one of the best gaming laptops for those looking for a desktop replacement. It even brings excess amounts of RGB lighting courtesy of a full light bar under the wrist rest. Of course, that all comes at a cost.

5 0
2 years ago
Which is a correctly formatted Python tuple?
rjkz [21]

Answer:

(12, "circle”, “square")  is the correct answer.

Explanation:

The following answer is true because the following answer is in the correct format. The tuple is the data type of the Python Programming language which is defined inside the parentheses "()" and it is an immutable type that means its elements is not changed after once the element is inserted in the tuple. Tiple is also defined by the parentheses "()" or by the predefined function tuple().

7 0
4 years ago
What does the Finder do?
igor_vitrenko [27]

<u>Purposes of finder </u>:-

It allows the user to do the following mentioned (below) jobs such as:

1) It provides interference in

•coping •moving •deleting etc.

2) It is also associated in the acts of openings and navigation of:

•folders •files

3) Moreover, it can also move windows anywhere on the desktop.

4) Finder is also beneficial in a way that it is capable of revealing different elements and materials or softwares like:

•Storage devices

•Applications

•Files and folders etc

4 0
4 years ago
Other questions:
  • Which signal types are represented by a continuous waveform?
    10·1 answer
  • Nascar has inserted an image into his document but needs the image to appear on its own line Which option should he choose?
    12·2 answers
  • What type of engineering drawing use symbols to represent components drawings
    6·1 answer
  • A certain manager makes the following statement "Our internet company is in business for the money, making profits, and making t
    13·1 answer
  • Write an expression using membership operators that prints "Special number" if special_num is one of the special numbers stored
    13·1 answer
  • Which tab of the ribbon should you go to for removing gridlines on a worksheet?​
    14·1 answer
  • Would you prefer to use an integrated router, switch, and firewall configuration for a home network, or would you prefer to oper
    5·1 answer
  • You need to select the text / picture /shape before you can Hyperlink.
    9·1 answer
  • During slide show mode, hitting the B key will do which of these things? end your presentation move back one page move to the fi
    15·1 answer
  • Display unit is capable of displaying test but not ​
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!