heyy49
heyy49 heyy49
  • 20-03-2021
  • Computers and Technology
contestada

how to use function in python

Respuesta :

bahjomoha3
bahjomoha3 bahjomoha3
  • 21-03-2021

Answer:

Use the keyword def to declare the function and follow this up with the function name.

Add parameters to the function: they should be within the parentheses of the function. ...

Add statements that the functions should execute.

Answer Link

Otras preguntas

I need help is it A BC or d
The width w of a rectangular swimming pool is 7x2. The area A of the pool is 7x3 – 42x2. What is an expression for the length of the pool? Show your work.
Japan is a dictatorship. true or false
They want to buy one-foot-square tiles. How many tiles do they need
You are considering changing insurance companies. your current company charges you $1,500 per year for homeowners insurance plus $300 quarterly (every 3 months)
Which best describes the characteristics of a river basin
Which African countries are located west of the prime meridian? Check all that apply.
Please save me! Which equation will have a graph that contains all of the ordered pairs shown below? (1, 1), (2, 3), (3, 9) A. y = 3x‒1 B. y = 3x C. y
what fraction is NOT equivalent to 36/52
Which president had a very short term in office because he was assassinated by a man with mental problems? He began his career as a school principal and later b