QUESTION IMAGE
Question
- define a function double that returns twice the number passed, eg double(3) should return 6
- calling the function with 17 as the argument.
Step1: Define the function
def double(x):
return 2 * x
Step2: Call the function
result = double(17)
print(result)Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
34