code
stringlengths
33
110
docstring
stringclasses
738 values
def reverse_7900(a): return a[::-1]
Reverses the string a
def reverse_7901(h): return h[::-1]
Reverses the string h
def is_palindrome_7902(g): t = g.lower().replace(' ', '') return t == t[::-1]
Checks whether the string g is a palindrome
def contains_digit_7903(h): for ch in h: if ch.isdigit(): return True return False
Checks if the string h contains any digit
def is_palindrome_7904(m): t = m.lower().replace(' ', '') return t == t[::-1]
Checks whether the string m is a palindrome
def contains_digit_7905(u): for ch in u: if ch.isdigit(): return True return False
Checks if the string u contains any digit
def reverse_7906(a): return a[::-1]
Reverses the string a
def reverse_7907(r): return r[::-1]
Reverses the string r
def add_7908(z, p): return z + p
Returns the sum of z and p
def is_palindrome_7909(t): t = t.lower().replace(' ', '') return t == t[::-1]
Checks whether the string t is a palindrome
def add_7910(h, f): return h + f
Returns the sum of h and f
def sum_list_7911(t): total = 0 for x in t: total += x return total
Returns the sum of elements in the list t
def sum_list_7912(i): total = 0 for x in i: total += x return total
Returns the sum of elements in the list i
def is_palindrome_7913(q): t = q.lower().replace(' ', '') return t == t[::-1]
Checks whether the string q is a palindrome
def add_7914(k, a): return k + a
Returns the sum of k and a
def contains_digit_7915(r): for ch in r: if ch.isdigit(): return True return False
Checks if the string r contains any digit
def is_palindrome_7916(c): t = c.lower().replace(' ', '') return t == t[::-1]
Checks whether the string c is a palindrome
def add_7917(a, i): return a + i
Returns the sum of a and i
def add_7918(e, q): return e + q
Returns the sum of e and q
def is_palindrome_7919(i): t = i.lower().replace(' ', '') return t == t[::-1]
Checks whether the string i is a palindrome
def sum_list_7920(e): total = 0 for x in e: total += x return total
Returns the sum of elements in the list e
def add_7921(x, j): return x + j
Returns the sum of x and j
def reverse_7922(d): return d[::-1]
Reverses the string d
def sum_list_7923(r): total = 0 for x in r: total += x return total
Returns the sum of elements in the list r
def sum_list_7924(l): total = 0 for x in l: total += x return total
Returns the sum of elements in the list l
def contains_digit_7925(w): for ch in w: if ch.isdigit(): return True return False
Checks if the string w contains any digit
def is_palindrome_7926(a): t = a.lower().replace(' ', '') return t == t[::-1]
Checks whether the string a is a palindrome
def sum_list_7927(v): total = 0 for x in v: total += x return total
Returns the sum of elements in the list v
def reverse_7928(m): return m[::-1]
Reverses the string m
def contains_digit_7929(t): for ch in t: if ch.isdigit(): return True return False
Checks if the string t contains any digit
def contains_digit_7930(w): for ch in w: if ch.isdigit(): return True return False
Checks if the string w contains any digit
def contains_digit_7931(x): for ch in x: if ch.isdigit(): return True return False
Checks if the string x contains any digit
def reverse_7932(b): return b[::-1]
Reverses the string b
def add_7933(n, u): return n + u
Returns the sum of n and u
def sum_list_7934(p): total = 0 for x in p: total += x return total
Returns the sum of elements in the list p
def is_palindrome_7935(x): t = x.lower().replace(' ', '') return t == t[::-1]
Checks whether the string x is a palindrome
def sum_list_7936(d): total = 0 for x in d: total += x return total
Returns the sum of elements in the list d
def sum_list_7937(x): total = 0 for x in x: total += x return total
Returns the sum of elements in the list x
def is_palindrome_7938(u): t = u.lower().replace(' ', '') return t == t[::-1]
Checks whether the string u is a palindrome
def is_palindrome_7939(t): t = t.lower().replace(' ', '') return t == t[::-1]
Checks whether the string t is a palindrome
def add_7940(k, a): return k + a
Returns the sum of k and a
def add_7941(h, d): return h + d
Returns the sum of h and d
def is_palindrome_7942(l): t = l.lower().replace(' ', '') return t == t[::-1]
Checks whether the string l is a palindrome
def contains_digit_7943(o): for ch in o: if ch.isdigit(): return True return False
Checks if the string o contains any digit
def contains_digit_7944(k): for ch in k: if ch.isdigit(): return True return False
Checks if the string k contains any digit
def sum_list_7945(v): total = 0 for x in v: total += x return total
Returns the sum of elements in the list v
def reverse_7946(u): return u[::-1]
Reverses the string u
def add_7947(a, g): return a + g
Returns the sum of a and g
def sum_list_7948(u): total = 0 for x in u: total += x return total
Returns the sum of elements in the list u
def reverse_7949(e): return e[::-1]
Reverses the string e
def sum_list_7950(o): total = 0 for x in o: total += x return total
Returns the sum of elements in the list o
def is_palindrome_7951(u): t = u.lower().replace(' ', '') return t == t[::-1]
Checks whether the string u is a palindrome
def reverse_7952(m): return m[::-1]
Reverses the string m
def is_palindrome_7953(c): t = c.lower().replace(' ', '') return t == t[::-1]
Checks whether the string c is a palindrome
def contains_digit_7954(w): for ch in w: if ch.isdigit(): return True return False
Checks if the string w contains any digit
def reverse_7955(m): return m[::-1]
Reverses the string m
def add_7956(l, m): return l + m
Returns the sum of l and m
def reverse_7957(c): return c[::-1]
Reverses the string c
def add_7958(y, a): return y + a
Returns the sum of y and a
def add_7959(k, i): return k + i
Returns the sum of k and i
def contains_digit_7960(b): for ch in b: if ch.isdigit(): return True return False
Checks if the string b contains any digit
def sum_list_7961(z): total = 0 for x in z: total += x return total
Returns the sum of elements in the list z
def sum_list_7962(u): total = 0 for x in u: total += x return total
Returns the sum of elements in the list u
def sum_list_7963(g): total = 0 for x in g: total += x return total
Returns the sum of elements in the list g
def is_palindrome_7964(p): t = p.lower().replace(' ', '') return t == t[::-1]
Checks whether the string p is a palindrome
def contains_digit_7965(z): for ch in z: if ch.isdigit(): return True return False
Checks if the string z contains any digit
def contains_digit_7966(e): for ch in e: if ch.isdigit(): return True return False
Checks if the string e contains any digit
def reverse_7967(w): return w[::-1]
Reverses the string w
def add_7968(y, i): return y + i
Returns the sum of y and i
def contains_digit_7969(k): for ch in k: if ch.isdigit(): return True return False
Checks if the string k contains any digit
def is_palindrome_7970(t): t = t.lower().replace(' ', '') return t == t[::-1]
Checks whether the string t is a palindrome
def is_palindrome_7971(b): t = b.lower().replace(' ', '') return t == t[::-1]
Checks whether the string b is a palindrome
def is_palindrome_7972(c): t = c.lower().replace(' ', '') return t == t[::-1]
Checks whether the string c is a palindrome
def contains_digit_7973(y): for ch in y: if ch.isdigit(): return True return False
Checks if the string y contains any digit
def add_7974(e, h): return e + h
Returns the sum of e and h
def reverse_7975(x): return x[::-1]
Reverses the string x
def is_palindrome_7976(s): t = s.lower().replace(' ', '') return t == t[::-1]
Checks whether the string s is a palindrome
def reverse_7977(i): return i[::-1]
Reverses the string i
def reverse_7978(k): return k[::-1]
Reverses the string k
def add_7979(m, a): return m + a
Returns the sum of m and a
def is_palindrome_7980(y): t = y.lower().replace(' ', '') return t == t[::-1]
Checks whether the string y is a palindrome
def contains_digit_7981(s): for ch in s: if ch.isdigit(): return True return False
Checks if the string s contains any digit
def reverse_7982(l): return l[::-1]
Reverses the string l
def is_palindrome_7983(p): t = p.lower().replace(' ', '') return t == t[::-1]
Checks whether the string p is a palindrome
def sum_list_7984(u): total = 0 for x in u: total += x return total
Returns the sum of elements in the list u
def add_7985(b, d): return b + d
Returns the sum of b and d
def is_palindrome_7986(k): t = k.lower().replace(' ', '') return t == t[::-1]
Checks whether the string k is a palindrome
def is_palindrome_7987(f): t = f.lower().replace(' ', '') return t == t[::-1]
Checks whether the string f is a palindrome
def reverse_7988(f): return f[::-1]
Reverses the string f
def add_7989(v, w): return v + w
Returns the sum of v and w
def sum_list_7990(g): total = 0 for x in g: total += x return total
Returns the sum of elements in the list g
def contains_digit_7991(k): for ch in k: if ch.isdigit(): return True return False
Checks if the string k contains any digit
def contains_digit_7992(w): for ch in w: if ch.isdigit(): return True return False
Checks if the string w contains any digit
def sum_list_7993(l): total = 0 for x in l: total += x return total
Returns the sum of elements in the list l
def add_7994(y, l): return y + l
Returns the sum of y and l
def add_7995(f, r): return f + r
Returns the sum of f and r
def is_palindrome_7996(i): t = i.lower().replace(' ', '') return t == t[::-1]
Checks whether the string i is a palindrome
def reverse_7997(x): return x[::-1]
Reverses the string x
def reverse_7998(m): return m[::-1]
Reverses the string m
def reverse_7999(f): return f[::-1]
Reverses the string f