Python Python Basics (2015) Number Game App Squared

If argument can be turned into a int challenge, need help please

This is what i got so far, the error it is giving is just bummer try again, so im a little lost here?
# squared(5) would return 25
# squared("2") would return 4
# squared("tim") would return "timtimtim"
def squared(string):
        if int(string): 
            return squared(string)
    except  ValueError:
            return(string * len(string))