queenlover776p6vll5
queenlover776p6vll5 queenlover776p6vll5
  • 09-08-2020
  • Computers and Technology
contestada

how do you run a function in python?

Respuesta :

shaleenparikh1
shaleenparikh1 shaleenparikh1
  • 09-08-2020
You can call a Python function like so: function(parameters).

Example:

Define function add:
def add(x,y):
return x+y

Call function:
add(3,7) -> 10
Answer Link

Otras preguntas

a swimming pool is drained at a rate of 50 gallons per hour. How many pints per minute is this?
Measure the paper clip to the nearest 1/8 inch. A. 1 2/8 inches B. 1 1/2 inches C. 1 4/8 inches D. 1 3/8 inches
The final price of a pair of socks is $6.40. It is on sale for 20% off. What is the original price of the socks?
A quadratic function and an exponential function are graphed below. How do the decay rates of the functions compare over the interval -2<= x <= 0? The exp
cita las dos prioridades de los jovenes cuando un empleo
help me it's algebra and dont tell me to look at the lesson :)
what is created that highlights how to use the system and how to troubleshoot issues or problems?
Conner earns 24$ working every 1.5 12 blank
Plz help I will answer any questions u have if u help me
LAST ATTEMPT! Covalent compound naming !