Ad
Code
Diff
  • def returnhundred(s):
    #works with s integer
        if type(s) != int or s == 101 :
            print(s,"im in")
            return 100
        for j in range(0,s):
            if j == 100:
                return 100 
        return returnhundred(s+1)
    • def returnhundred(s):
    • return 100
    • #works with s integer
    • if type(s) != int or s == 101 :
    • print(s,"im in")
    • return 100
    • for j in range(0,s):
    • if j == 100:
    • return 100
    • return returnhundred(s+1)