I have just started out learning python and needed some help.
Let's say I have created a simple calculator whereby all it do is just finding the average of the sum.
a = input("First number")
b = input("Second number")
c = input("Third number")
if():
avg = (a+b+c)/3
print'Average:%.2f' %avg
else:
............
How am I supposed to write the if condition to indicate that IF and only if a b and c are int.
I put it as input() because I want to give it an option whereby people who may keyed in something that is not a number such as 'ABC'.