Chapter 9: Subprogram 1. Define subprogram 2. (Extra Credit) Define a function in python named c double(x): give a value x, and the function will return a doubled value, for example, if x = 1, the result will be 2; if x = 3, the result will be 6. Write a program to call the function to calculate the result forx-1,2,3,4, 5 Show transcribed image text Chapter 9: Subprogram 1. Define subprogram 2. (Extra Credit) Define
OR
OR