I accidently deleted my code for is_int



I deleted my code which had worked previously in order to test the type(x) method of doing the exercise, however now I have lost my code and I was going to use it for the next exercise(digit_sum). Is there any way of getting this code back? Because Codecademy seems to have saved over it, and I can't remember what the code was because I wrote it a week ago.
Is there any way of getting code back once it is saved over?
I have made attempts, but to no avail:

def is_int(x):
    if x == round(x) % 1:
        return True
        return False


have you tried resetting code?


go back to the previous exercise you could do this by clicking the thing in the bottom left corner


then redo the activity
this would probably be the only way


That only makes the page blank, but thank you for the help regardless


i will get my code that i used for it


Don't. That's cheating.


Honor for you!
for Honor
Bad Game.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.