Kaykay5949 Kaykay5949
  • 21-03-2024
  • Computers and Technology
contestada

Which function will return the result of adding two parameters?

a. def default(x, y): return x + y
b. def default(): x= 0 y=0 return x+y
c. def my_func(default=0, default2=0): return default + default 3
d. def my_func(): default = 0 default2 = 0 return default+default2

Respuesta :

Otras preguntas

Diana had 41 stickers. She put them in 7 equal groups. She put as many as possible in to each group. She gave the leftover stickers to her sister. How many stic
What's the answer? Please help
Can anyone help me with these questions?
what is the traditional pattern of syllables for the three lines of a haiku?
what does the pulmonary artery do?
How many terms are there in the following expression: 3a + 3ab + 7b – 2c – 4d?
What equation can be used to solve the matrix equation
Barbara buys a box of pens for $4. For every additional box she buys, she gets a $1 discount. Which expression represents the total cost of the pens, c, as a fu
1. How is water distributed in Africa?2. How is does the distribution of water affect the development of Africa?
How did natural resources affect the ancient empires in west africa?