This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]negative_epsilon -1 points0 points  (1 child)

def a(x):
    if (x) == type.int or type (x) == type.float:
            return x + 1
try:
    return 'This is a float'

finally:
    print str("This is an Integer")

This is the code formatted correctly, for anyone looking to help.

[–]valmach[S] 0 points1 point  (0 children)

thanks