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

Use the distributive property to remove the parentheses -5(-4y-w+3)
a straight ling graph indicates that there is a ______ relationship between the dependent variable and independent variable.
What is the working principle of computer?? But CPU is not the one can you plz tell the answer?? ​
A 25kg box starts from rest and slides down a 200m frictionless ramp that has an angle of 20degrees from the horizontal. What is the acceleration of the box. 4p
Pl help it’s for homework
The Bay of Pigs plan was to train Cuban exiles and then help them get rid of Castro A. True B. False
In the following sentences, the underlined words share the same denotation, or general literal meaning: “thinking well of oneself.” Which underlined word has th
You are on a school excuusionYou have travelled outside thecity for the first time withoutyour family. Write an emailfriend telling him/her about her experienc
state two functions of a microscope​
What are the coordinates of point A (−234,1) after it is reflected across the x-axis?