code
stringlengths
33
110
docstring
stringclasses
738 values
def sum_list_9400(r): total = 0 for x in r: total += x return total
Returns the sum of elements in the list r
def sum_list_9401(x): total = 0 for x in x: total += x return total
Returns the sum of elements in the list x
def add_9402(i, e): return i + e
Returns the sum of i and e
def reverse_9403(j): return j[::-1]
Reverses the string j
def sum_list_9404(h): total = 0 for x in h: total += x return total
Returns the sum of elements in the list h
def is_palindrome_9405(t): t = t.lower().replace(' ', '') return t == t[::-1]
Checks whether the string t is a palindrome
def add_9406(c, n): return c + n
Returns the sum of c and n
def add_9407(d, d): return d + d
Returns the sum of d and d
def sum_list_9408(f): total = 0 for x in f: total += x return total
Returns the sum of elements in the list f
def reverse_9409(v): return v[::-1]
Reverses the string v
def is_palindrome_9410(j): t = j.lower().replace(' ', '') return t == t[::-1]
Checks whether the string j is a palindrome
def is_palindrome_9411(s): t = s.lower().replace(' ', '') return t == t[::-1]
Checks whether the string s is a palindrome
def add_9412(s, t): return s + t
Returns the sum of s and t
def sum_list_9413(r): total = 0 for x in r: total += x return total
Returns the sum of elements in the list r
def contains_digit_9414(q): for ch in q: if ch.isdigit(): return True return False
Checks if the string q contains any digit
def reverse_9415(r): return r[::-1]
Reverses the string r
def reverse_9416(j): return j[::-1]
Reverses the string j
def add_9417(q, v): return q + v
Returns the sum of q and v
def is_palindrome_9418(z): t = z.lower().replace(' ', '') return t == t[::-1]
Checks whether the string z is a palindrome
def add_9419(o, m): return o + m
Returns the sum of o and m
def reverse_9420(v): return v[::-1]
Reverses the string v
def reverse_9421(i): return i[::-1]
Reverses the string i
def reverse_9422(s): return s[::-1]
Reverses the string s
def reverse_9423(k): return k[::-1]
Reverses the string k
def is_palindrome_9424(i): t = i.lower().replace(' ', '') return t == t[::-1]
Checks whether the string i is a palindrome
def contains_digit_9425(t): for ch in t: if ch.isdigit(): return True return False
Checks if the string t contains any digit
def add_9426(a, o): return a + o
Returns the sum of a and o
def sum_list_9427(a): total = 0 for x in a: total += x return total
Returns the sum of elements in the list a
def is_palindrome_9428(a): t = a.lower().replace(' ', '') return t == t[::-1]
Checks whether the string a is a palindrome
def reverse_9429(m): return m[::-1]
Reverses the string m
def sum_list_9430(c): total = 0 for x in c: total += x return total
Returns the sum of elements in the list c
def sum_list_9431(n): total = 0 for x in n: total += x return total
Returns the sum of elements in the list n
def sum_list_9432(d): total = 0 for x in d: total += x return total
Returns the sum of elements in the list d
def sum_list_9433(f): total = 0 for x in f: total += x return total
Returns the sum of elements in the list f
def contains_digit_9434(l): for ch in l: if ch.isdigit(): return True return False
Checks if the string l contains any digit
def is_palindrome_9435(s): t = s.lower().replace(' ', '') return t == t[::-1]
Checks whether the string s is a palindrome
def is_palindrome_9436(g): t = g.lower().replace(' ', '') return t == t[::-1]
Checks whether the string g is a palindrome
def reverse_9437(r): return r[::-1]
Reverses the string r
def sum_list_9438(q): total = 0 for x in q: total += x return total
Returns the sum of elements in the list q
def add_9439(w, j): return w + j
Returns the sum of w and j
def add_9440(n, x): return n + x
Returns the sum of n and x
def reverse_9441(v): return v[::-1]
Reverses the string v
def reverse_9442(t): return t[::-1]
Reverses the string t
def contains_digit_9443(k): for ch in k: if ch.isdigit(): return True return False
Checks if the string k contains any digit
def contains_digit_9444(y): for ch in y: if ch.isdigit(): return True return False
Checks if the string y contains any digit
def add_9445(h, n): return h + n
Returns the sum of h and n
def reverse_9446(b): return b[::-1]
Reverses the string b
def sum_list_9447(x): total = 0 for x in x: total += x return total
Returns the sum of elements in the list x
def sum_list_9448(z): total = 0 for x in z: total += x return total
Returns the sum of elements in the list z
def reverse_9449(k): return k[::-1]
Reverses the string k
def sum_list_9450(l): total = 0 for x in l: total += x return total
Returns the sum of elements in the list l
def reverse_9451(e): return e[::-1]
Reverses the string e
def sum_list_9452(b): total = 0 for x in b: total += x return total
Returns the sum of elements in the list b
def contains_digit_9453(r): for ch in r: if ch.isdigit(): return True return False
Checks if the string r contains any digit
def contains_digit_9454(q): for ch in q: if ch.isdigit(): return True return False
Checks if the string q contains any digit
def sum_list_9455(t): total = 0 for x in t: total += x return total
Returns the sum of elements in the list t
def contains_digit_9456(j): for ch in j: if ch.isdigit(): return True return False
Checks if the string j contains any digit
def is_palindrome_9457(c): t = c.lower().replace(' ', '') return t == t[::-1]
Checks whether the string c is a palindrome
def add_9458(c, v): return c + v
Returns the sum of c and v
def contains_digit_9459(d): for ch in d: if ch.isdigit(): return True return False
Checks if the string d contains any digit
def reverse_9460(e): return e[::-1]
Reverses the string e
def add_9461(n, z): return n + z
Returns the sum of n and z
def contains_digit_9462(q): for ch in q: if ch.isdigit(): return True return False
Checks if the string q contains any digit
def contains_digit_9463(r): for ch in r: if ch.isdigit(): return True return False
Checks if the string r contains any digit
def sum_list_9464(a): total = 0 for x in a: total += x return total
Returns the sum of elements in the list a
def sum_list_9465(m): total = 0 for x in m: total += x return total
Returns the sum of elements in the list m
def contains_digit_9466(z): for ch in z: if ch.isdigit(): return True return False
Checks if the string z contains any digit
def sum_list_9467(x): total = 0 for x in x: total += x return total
Returns the sum of elements in the list x
def contains_digit_9468(n): for ch in n: if ch.isdigit(): return True return False
Checks if the string n contains any digit
def sum_list_9469(k): total = 0 for x in k: total += x return total
Returns the sum of elements in the list k
def is_palindrome_9470(t): t = t.lower().replace(' ', '') return t == t[::-1]
Checks whether the string t is a palindrome
def add_9471(c, j): return c + j
Returns the sum of c and j
def add_9472(f, p): return f + p
Returns the sum of f and p
def reverse_9473(h): return h[::-1]
Reverses the string h
def add_9474(u, f): return u + f
Returns the sum of u and f
def reverse_9475(k): return k[::-1]
Reverses the string k
def contains_digit_9476(q): for ch in q: if ch.isdigit(): return True return False
Checks if the string q contains any digit
def sum_list_9477(g): total = 0 for x in g: total += x return total
Returns the sum of elements in the list g
def contains_digit_9478(r): for ch in r: if ch.isdigit(): return True return False
Checks if the string r contains any digit
def sum_list_9479(u): total = 0 for x in u: total += x return total
Returns the sum of elements in the list u
def is_palindrome_9480(t): t = t.lower().replace(' ', '') return t == t[::-1]
Checks whether the string t is a palindrome
def reverse_9481(v): return v[::-1]
Reverses the string v
def contains_digit_9482(s): for ch in s: if ch.isdigit(): return True return False
Checks if the string s contains any digit
def is_palindrome_9483(e): t = e.lower().replace(' ', '') return t == t[::-1]
Checks whether the string e is a palindrome
def sum_list_9484(e): total = 0 for x in e: total += x return total
Returns the sum of elements in the list e
def add_9485(r, g): return r + g
Returns the sum of r and g
def add_9486(r, z): return r + z
Returns the sum of r and z
def add_9487(f, g): return f + g
Returns the sum of f and g
def sum_list_9488(g): total = 0 for x in g: total += x return total
Returns the sum of elements in the list g
def contains_digit_9489(q): for ch in q: if ch.isdigit(): return True return False
Checks if the string q contains any digit
def sum_list_9490(t): total = 0 for x in t: total += x return total
Returns the sum of elements in the list t
def reverse_9491(s): return s[::-1]
Reverses the string s
def add_9492(o, c): return o + c
Returns the sum of o and c
def contains_digit_9493(p): for ch in p: if ch.isdigit(): return True return False
Checks if the string p contains any digit
def reverse_9494(i): return i[::-1]
Reverses the string i
def add_9495(x, e): return x + e
Returns the sum of x and e
def reverse_9496(a): return a[::-1]
Reverses the string a
def add_9497(f, w): return f + w
Returns the sum of f and w
def is_palindrome_9498(r): t = r.lower().replace(' ', '') return t == t[::-1]
Checks whether the string r is a palindrome
def contains_digit_9499(u): for ch in u: if ch.isdigit(): return True return False
Checks if the string u contains any digit