When I type in 23.3 and 44 it outputs only one of these values is a valid number And a Valid number basically is any number that has no strings how can I fix this where 23.3 and 44 outputs both are values
x = input(":")
y = input(":")
if x.isnumeric() and y.isnumeric():
print('both are valid numbers')
elif x.isnumeric() or y.isnumeric():
print('one of the values is a valid number ')
else: print('none are valid numbers')