• Nov 19, 2022 •CodeCatch
0 likes • 0 views
# Deleting all even numbers from a list a = [1,2,3,4,5] del a[1::2] print(a)
• Apr 21, 2023 •sebastianagauyao2002-61a8
print("hellur")
• Jan 20, 2021 •Ntindle
0 likes • 4 views
print(“Hello World”)
• Oct 7, 2022 •KETRICK
x[cat_var].isnull().sum().sort_values(ascending=False)
0 likes • 2 views
# Input for row and column R = int(input()) C = int(input()) # Using list comprehension for input matrix = [[int(input()) for x in range (C)] for y in range(R)]
• Oct 4, 2023 •AustinLeath
0 likes • 10 views
weigh = lambda a,b: sum(b)-sum(a) FindCoin = lambda A: 0 if (n := len(A)) == 1 else (m := n//3) * (w := 1 + weigh(A[:m], A[2*m:])) + FindCoin(A[m*w:m*(w+1)]) print(FindCoin([1,1,1,1,1,1,1,2,1]))