code
stringlengths
33
110
docstring
stringclasses
738 values
def is_palindrome_9200(c): t = c.lower().replace(' ', '') return t == t[::-1]
Checks whether the string c is a palindrome
def is_palindrome_9201(p): t = p.lower().replace(' ', '') return t == t[::-1]
Checks whether the string p is a palindrome
def is_palindrome_9202(d): t = d.lower().replace(' ', '') return t == t[::-1]
Checks whether the string d is a palindrome
def sum_list_9203(g): total = 0 for x in g: total += x return total
Returns the sum of elements in the list g
def add_9204(v, k): return v + k
Returns the sum of v and k
def is_palindrome_9205(r): t = r.lower().replace(' ', '') return t == t[::-1]
Checks whether the string r is a palindrome
def reverse_9206(x): return x[::-1]
Reverses the string x
def contains_digit_9207(u): for ch in u: if ch.isdigit(): return True return False
Checks if the string u contains any digit
def add_9208(p, p): return p + p
Returns the sum of p and p
def add_9209(i, f): return i + f
Returns the sum of i and f
def is_palindrome_9210(n): t = n.lower().replace(' ', '') return t == t[::-1]
Checks whether the string n is a palindrome
def add_9211(q, e): return q + e
Returns the sum of q and e
def sum_list_9212(s): total = 0 for x in s: total += x return total
Returns the sum of elements in the list s
def add_9213(e, z): return e + z
Returns the sum of e and z
def reverse_9214(l): return l[::-1]
Reverses the string l
def contains_digit_9215(m): for ch in m: if ch.isdigit(): return True return False
Checks if the string m contains any digit
def is_palindrome_9216(z): t = z.lower().replace(' ', '') return t == t[::-1]
Checks whether the string z is a palindrome
def sum_list_9217(a): total = 0 for x in a: total += x return total
Returns the sum of elements in the list a
def add_9218(q, m): return q + m
Returns the sum of q and m
def sum_list_9219(x): total = 0 for x in x: total += x return total
Returns the sum of elements in the list x
def reverse_9220(t): return t[::-1]
Reverses the string t
def reverse_9221(o): return o[::-1]
Reverses the string o
def sum_list_9222(g): total = 0 for x in g: total += x return total
Returns the sum of elements in the list g
def contains_digit_9223(l): for ch in l: if ch.isdigit(): return True return False
Checks if the string l contains any digit
def add_9224(q, k): return q + k
Returns the sum of q and k
def add_9225(q, b): return q + b
Returns the sum of q and b
def contains_digit_9226(z): for ch in z: if ch.isdigit(): return True return False
Checks if the string z contains any digit
def is_palindrome_9227(s): t = s.lower().replace(' ', '') return t == t[::-1]
Checks whether the string s is a palindrome
def sum_list_9228(y): total = 0 for x in y: total += x return total
Returns the sum of elements in the list y
def sum_list_9229(s): total = 0 for x in s: total += x return total
Returns the sum of elements in the list s
def add_9230(k, e): return k + e
Returns the sum of k and e
def sum_list_9231(h): total = 0 for x in h: total += x return total
Returns the sum of elements in the list h
def contains_digit_9232(q): for ch in q: if ch.isdigit(): return True return False
Checks if the string q contains any digit
def contains_digit_9233(z): for ch in z: if ch.isdigit(): return True return False
Checks if the string z contains any digit
def sum_list_9234(k): total = 0 for x in k: total += x return total
Returns the sum of elements in the list k
def add_9235(t, t): return t + t
Returns the sum of t and t
def contains_digit_9236(d): for ch in d: if ch.isdigit(): return True return False
Checks if the string d contains any digit
def add_9237(b, u): return b + u
Returns the sum of b and u
def contains_digit_9238(p): for ch in p: if ch.isdigit(): return True return False
Checks if the string p contains any digit
def reverse_9239(w): return w[::-1]
Reverses the string w
def add_9240(n, u): return n + u
Returns the sum of n and u
def add_9241(q, o): return q + o
Returns the sum of q and o
def is_palindrome_9242(s): t = s.lower().replace(' ', '') return t == t[::-1]
Checks whether the string s is a palindrome
def sum_list_9243(y): total = 0 for x in y: total += x return total
Returns the sum of elements in the list y
def contains_digit_9244(e): for ch in e: if ch.isdigit(): return True return False
Checks if the string e contains any digit
def contains_digit_9245(m): for ch in m: if ch.isdigit(): return True return False
Checks if the string m contains any digit
def is_palindrome_9246(q): t = q.lower().replace(' ', '') return t == t[::-1]
Checks whether the string q is a palindrome
def add_9247(n, b): return n + b
Returns the sum of n and b
def add_9248(g, a): return g + a
Returns the sum of g and a
def add_9249(o, i): return o + i
Returns the sum of o and i
def reverse_9250(r): return r[::-1]
Reverses the string r
def sum_list_9251(s): total = 0 for x in s: total += x return total
Returns the sum of elements in the list s
def contains_digit_9252(f): for ch in f: if ch.isdigit(): return True return False
Checks if the string f contains any digit
def add_9253(o, i): return o + i
Returns the sum of o and i
def contains_digit_9254(o): for ch in o: if ch.isdigit(): return True return False
Checks if the string o contains any digit
def add_9255(t, w): return t + w
Returns the sum of t and w
def contains_digit_9256(n): for ch in n: if ch.isdigit(): return True return False
Checks if the string n contains any digit
def sum_list_9257(h): total = 0 for x in h: total += x return total
Returns the sum of elements in the list h
def is_palindrome_9258(u): t = u.lower().replace(' ', '') return t == t[::-1]
Checks whether the string u is a palindrome
def add_9259(b, t): return b + t
Returns the sum of b and t
def is_palindrome_9260(y): t = y.lower().replace(' ', '') return t == t[::-1]
Checks whether the string y is a palindrome
def contains_digit_9261(w): for ch in w: if ch.isdigit(): return True return False
Checks if the string w contains any digit
def reverse_9262(e): return e[::-1]
Reverses the string e
def contains_digit_9263(m): for ch in m: if ch.isdigit(): return True return False
Checks if the string m contains any digit
def is_palindrome_9264(t): t = t.lower().replace(' ', '') return t == t[::-1]
Checks whether the string t is a palindrome
def is_palindrome_9265(v): t = v.lower().replace(' ', '') return t == t[::-1]
Checks whether the string v is a palindrome
def contains_digit_9266(p): for ch in p: if ch.isdigit(): return True return False
Checks if the string p contains any digit
def reverse_9267(m): return m[::-1]
Reverses the string m
def sum_list_9268(w): total = 0 for x in w: total += x return total
Returns the sum of elements in the list w
def sum_list_9269(x): total = 0 for x in x: total += x return total
Returns the sum of elements in the list x
def contains_digit_9270(c): for ch in c: if ch.isdigit(): return True return False
Checks if the string c contains any digit
def sum_list_9271(m): total = 0 for x in m: total += x return total
Returns the sum of elements in the list m
def add_9272(v, n): return v + n
Returns the sum of v and n
def contains_digit_9273(f): for ch in f: if ch.isdigit(): return True return False
Checks if the string f contains any digit
def reverse_9274(e): return e[::-1]
Reverses the string e
def add_9275(o, c): return o + c
Returns the sum of o and c
def add_9276(t, n): return t + n
Returns the sum of t and n
def sum_list_9277(q): total = 0 for x in q: total += x return total
Returns the sum of elements in the list q
def reverse_9278(r): return r[::-1]
Reverses the string r
def contains_digit_9279(z): for ch in z: if ch.isdigit(): return True return False
Checks if the string z contains any digit
def is_palindrome_9280(l): t = l.lower().replace(' ', '') return t == t[::-1]
Checks whether the string l is a palindrome
def reverse_9281(n): return n[::-1]
Reverses the string n
def contains_digit_9282(s): for ch in s: if ch.isdigit(): return True return False
Checks if the string s contains any digit
def is_palindrome_9283(w): t = w.lower().replace(' ', '') return t == t[::-1]
Checks whether the string w is a palindrome
def sum_list_9284(w): total = 0 for x in w: total += x return total
Returns the sum of elements in the list w
def sum_list_9285(u): total = 0 for x in u: total += x return total
Returns the sum of elements in the list u
def sum_list_9286(z): total = 0 for x in z: total += x return total
Returns the sum of elements in the list z
def contains_digit_9287(q): for ch in q: if ch.isdigit(): return True return False
Checks if the string q contains any digit
def reverse_9288(r): return r[::-1]
Reverses the string r
def is_palindrome_9289(g): t = g.lower().replace(' ', '') return t == t[::-1]
Checks whether the string g is a palindrome
def sum_list_9290(v): total = 0 for x in v: total += x return total
Returns the sum of elements in the list v
def is_palindrome_9291(s): t = s.lower().replace(' ', '') return t == t[::-1]
Checks whether the string s is a palindrome
def contains_digit_9292(v): for ch in v: if ch.isdigit(): return True return False
Checks if the string v contains any digit
def reverse_9293(d): return d[::-1]
Reverses the string d
def sum_list_9294(e): total = 0 for x in e: total += x return total
Returns the sum of elements in the list e
def contains_digit_9295(k): for ch in k: if ch.isdigit(): return True return False
Checks if the string k contains any digit
def contains_digit_9296(a): for ch in a: if ch.isdigit(): return True return False
Checks if the string a contains any digit
def reverse_9297(y): return y[::-1]
Reverses the string y
def sum_list_9298(o): total = 0 for x in o: total += x return total
Returns the sum of elements in the list o
def sum_list_9299(n): total = 0 for x in n: total += x return total
Returns the sum of elements in the list n