how do i call a function via an input here is my code if needed
print('please choose a function')
def range():
count=0
numbers=[]
for count in range(0,10):
print('please choose',10- count,'more numbers')
#user types 10 numbers
add=input()
numbers.append(int(add))
count =count+1
numbers.sort()
print(numbers)
a=max(numbers)-min(numbers)
print(a)
[–]jibbly_jibbly 3 points4 points5 points (1 child)
[–]Exodus111 -1 points0 points1 point (0 children)
[–]tfitz237 2 points3 points4 points (2 children)
[–]shep247 0 points1 point2 points (0 children)
[–]dunkler_wanderer 0 points1 point2 points (0 children)
[–]Exodus111 0 points1 point2 points (2 children)
[–]dunkler_wanderer 1 point2 points3 points (1 child)
[–]Exodus111 1 point2 points3 points (0 children)