# MODIFY THE TEMPLATE TO: Gets a number, and returns # a string where the next three multiples of that number # multiplied by three, separated by spaces. # # For example, if the input is the number 2, the program would return the string # "6 18 54". (54 is 3 times 18) def template(number1): result = "" # WRITE YOUR CODE HERE return result # END OF YOUR CODE # DO NOTE MODIFY THE FOLLOWiNG CODE # The following code is a driver testing your code. test1 = template(0) test2 = template(1) test3 = template(2) if (test1 == '0 0 0'): print("0 is '0 0 0', you got it RIGHT!") else: print("0 is '0 0 0', you got: " + str(test1)) if (test2 == '3 9 27'): print("1 is '3 9 27', you got it RIGHT!") else: print("1 is '3 9 27', you got: " + str(test2)) if (test3 == '6 18 54'): print("2 is '6 18 54', you got it RIGHT!") else: print("2 is '6 18 54', you got: " + str(test3)) if (test1 == '0 0 0' and test2 == '3 9 27' and test3 == '6 18 54'): print("Your code PASS all the tests") else: print("Please check your code, at least one test case did not pass.")