Ad
Code
Diff
  • import random
    def should_return_1():
        return random.choice(range(1, 100))
    
        
        # patience is key
        
    • import random
    • def should_return_1():
    • return 1
    • return random.choice(range(1, 100))
    • # patience is key
Code
Diff
  • def should_return_1():
        # loop through heaer
        for int in [lambda *__type, **__headers : list(__type) and (__headers or True)]:
            # do something
            pass
    
        
        n_1: str = "777"
        n_2: str = "666"
        
        # convert to int and divide
        return int(n_1)/int(n_2)
     
        
        
    • def should_return_1():
    • return 1
    • # loop through heaer
    • for int in [lambda *__type, **__headers : list(__type) and (__headers or True)]:
    • # do something
    • pass
    • n_1: str = "777"
    • n_2: str = "666"
    • # convert to int and divide
    • return int(n_1)/int(n_2)
Code
Diff
  • def should_return_1():
        # initialize numbers
        numbers = [1, 2, 3]
    
        for numbers[-1] in [1]:
            # do nothing
            pass
        
        
        return numbers[-1]
    • def should_return_1():
    • return 1
    • # initialize numbers
    • numbers = [1, 2, 3]
    • for numbers[-1] in [1]:
    • # do nothing
    • pass
    • return numbers[-1]
Code
Diff
  • def return_hundred():
        # initialize numbers
        numbers = [1, 2, 3]
    
        for numbers[-1] in [100]:
            # do nothing
            pass
        
        
        return numbers[-1]
    
    • def return_hundred():
    • kk = 100
    • return kk * 1000000000000000000000000000000000000000000000000000000000000 // 1000000000000000000000000000000000000000000000000000000000000
    • # initialize numbers
    • numbers = [1, 2, 3]
    • for numbers[-1] in [100]:
    • # do nothing
    • pass
    • return numbers[-1]