loop
loop
n = int(input("Enter number:"))
factorial(n)
b) def check_number(var):
if isinstance(var, (int, float)):
print('variable', var, 'is instance of numeric type')
else:
print('variable', var, 'is not instance of numeric type')
avg = total_sum / n
print('The average value of numbers = %0.2f' %avg)