228k views
0 votes
Write a function named multiply_by_20. The function should accept an argument and display the product of its argument multiplied by 20

1 Answer

5 votes

Answer:

def multiply_by_20(num):

print(num * 20)

Step-by-step explanation:

def multiply_by_20(num):

print(num * 20)

# Testing the function here. ignore/remove the code below if not required

multiply_by_20(2)

multiply_by_20(7)

multiply_by_20(5)

Write a function named multiply_by_20. The function should accept an argument and-example-1
User Msarchet
by
4.0k points