Function printGreater()
问题 I am trying to implement a function printGreater() that takes a list of numbers and a numeric value as parameter. It prints the numbers in the list that are greater than the value, all on one line with a space between them. If an empty list is provided as the first parameter, the function doesn't print anything. This is what I have so far: def printGreater(nums, value): lstN = (int[nums],value) if nums > value: print(nums, end=", ") 回答1: def printGreater(nums, value): #First create an empty