Answer:
Parameter
Explanation:
A parameter is a variable/argument of a function that are placed between the parentheses in the function's definition.
Hope this is clear :)
5(3x - 7)
distribute the 5 to both 3x and -7
15x - 35 is equivalent
hope this helps
Answer:
Following are the correct code to this question:
short_names=['Gus','Bob','Zoe']#defining a list short_names that holds string value
print (short_names[0])#print list first element value
print (short_names[1])#print list second element value
print (short_names[2])#print list third element value
Output:
Gus
Bob
Zoe
Explanation:
- In the above python program code, a list "short_names" list is declared, that holds three variable that is "Gus, Bob, and Zoe".
- In the next step, the print method is used that prints list element value.
- In this program, we use the list, which is similar to an array, and both elements index value starting from the 0, that's why in this code we print "0,1, and 2" element value.
Full of emotion and not like a robot
Answer:
You should use an "if" statement to check whether the number is greater than 18 or less than 65.
Explanation:
You usually use "if" statements whenever you want to compare a number to another. Keep in mind that "if" statements are not only used for comparison!