Ad
Code
Diff
  • def return_hundred(n):
        hundred = '3й*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h'
        return hundred.count("*h") - 3
    • def return_hundred(n):
    • hundred = '*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h'
    • hundred = '*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h*h'
    • return hundred.count("*h") - 3
Code
Diff
  • def lenght_line(line='marry, ksnfgjji233jc, harry!@#'):return 'ksnfgjji233jc,'
    • def lenght_line(line='marry, ksnfgjji233jc, harry!@#'):
    • return 'ksnfgjji233jc,'
    • def lenght_line(line='marry, ksnfgjji233jc, harry!@#'):return 'ksnfgjji233jc,'
Code
Diff
  • def lenght_line():return 'ksnfgjji233jc,'
    • def lenght_line():
    • return 'ksnfgjji233jc,'
    • def lenght_line():return 'ksnfgjji233jc,'
Code
Diff
  • def lenght_line():
        return 'ksnfgjji233jc,'
    • def lenght_line(line='marry, ksnfgjji233jc, harry!@#'):
    • def lenght_line():
    • return 'ksnfgjji233jc,'

Find the largest number from the string and output in the number format

def my_first_kumite(s):
    s = list(s)
    for i in range(len(s)):
        s[i] = int(s[i])
    return max(s)
Code
Diff
  • def why():return f"w - h - y"
    • def why():
    • return 'w - h - y'
    • def why():return f"w - h - y"
Code
Diff
  • def return_hundred(n=100):
        return n
    • function returnhundred() {
    • return 10 ** 2;
    • }
    • def return_hundred(n=100):
    • return n
Code
Diff
  • import random
    def return_hundred():
        s = 's'
        s = s * 100 * 10000000
        return len(s) // 10000000 * 1
    • import random
    • def return_hundred():
    • s = 's'
    • s = s * 100 * 10000000
    • return len(s) // 10000000
    • return len(s) // 10000000 * 1
Code
Diff
  • return_hundred=lambda: 101 if 5 == 3 else 1000 - 100 - 900 + 100
        
        
    • return_hundred=lambda: 101 if 5 == 3 else 1000 - 100 - 800
    • return_hundred=lambda: 101 if 5 == 3 else 1000 - 100 - 900 + 100
Code
Diff
  • rectangle = lambda n, n1:f"The area of the rectangle is {int((n*n1))} and the perimeter is {(n*2) + (n1*2)}"
    
    • def rectangle(n, n1):return f"The area of the rectangle is {int((n*n1))} and the perimeter is {(n*2) + (n1*2)}"
    • rectangle = lambda n, n1:f"The area of the rectangle is {int((n*n1))} and the perimeter is {(n*2) + (n1*2)}"
Code
Diff
  • def rectangle(n, n1):return f"The area of the rectangle is {int((n*n1))} and the perimeter is {(n*2) + (n1*2)}"
    
    • def rectangle(n, n1):
    • return f"The area of the rectangle is {int((n*n1))} and the perimeter is {(n*2) + (n1*2)}"
    • def rectangle(n, n1):return f"The area of the rectangle is {int((n*n1))} and the perimeter is {(n*2) + (n1*2)}"
Code
Diff
  • def rectangle(n, n1):
        return f"The area of the rectangle is {int((n*n1))} and the perimeter is {(n*2) + (n1*2)}"
    
    • def rectangle(n, n1):
    • area = (n*n1)/2
    • return f"The area of the rectangle is {int((n*n1))} and the perimeter is {(n*2) + (n1*2)}"
Code
Diff
  • def rectangle(n, n1):
        area = (n*n1)/2
        return f"The area of the rectangle is {int((n*n1))} and the perimeter is {(n*2) + (n1*2)}"
    
    • def rectangle(n, n1):
    • area = (n*n1)/2
    • perimeter = (n*2) + (n1*2)
    • return f"The area of the rectangle is {int((n*n1))} and the perimeter is {(n*2) + (n1*2)}"
Code
Diff
  • def rectangle(n, n1):
        area = (n*n1)/2
        perimeter = (n*2) + (n1*2)
        return f"The area of the rectangle is {int((n*n1))} and the perimeter is {(n*2) + (n1*2)}"
    
    • def rectangle(n, n1):
    • area = (n*n1)/2
    • perimeter = (n*2) + (n1*2)
    • return f"The area of the rectangle is {int((n*n1))} and the perimeter is {perimeter}"
    • return f"The area of the rectangle is {int((n*n1))} and the perimeter is {(n*2) + (n1*2)}"
Code
Diff
  • def rectangle(n, n1):
        area = (n*n1)/2
        perimeter = (n*2) + (n1*2)
        return f"The area of the rectangle is {int((n*n1))} and the perimeter is {perimeter}"
    
    • def rectangle(n, n1):
    • area = (n*n1)/2
    • perimeter = (n*2) + (n1*2)
    • return f"The area of the rectangle is {int(area*2)} and the perimeter is {(n*2) + (n1*2)}"
    • return f"The area of the rectangle is {int((n*n1))} and the perimeter is {perimeter}"
Loading more items...