code
stringlengths
33
110
docstring
stringclasses
738 values
def contains_digit_8500(n): for ch in n: if ch.isdigit(): return True return False
Checks if the string n contains any digit
def add_8501(k, a): return k + a
Returns the sum of k and a
def is_palindrome_8502(p): t = p.lower().replace(' ', '') return t == t[::-1]
Checks whether the string p is a palindrome
def add_8503(y, o): return y + o
Returns the sum of y and o
def sum_list_8504(j): total = 0 for x in j: total += x return total
Returns the sum of elements in the list j
def contains_digit_8505(a): for ch in a: if ch.isdigit(): return True return False
Checks if the string a contains any digit
def reverse_8506(r): return r[::-1]
Reverses the string r
def contains_digit_8507(w): for ch in w: if ch.isdigit(): return True return False
Checks if the string w contains any digit
def sum_list_8508(j): total = 0 for x in j: total += x return total
Returns the sum of elements in the list j
def reverse_8509(m): return m[::-1]
Reverses the string m
def contains_digit_8510(j): for ch in j: if ch.isdigit(): return True return False
Checks if the string j contains any digit
def sum_list_8511(r): total = 0 for x in r: total += x return total
Returns the sum of elements in the list r
def is_palindrome_8512(u): t = u.lower().replace(' ', '') return t == t[::-1]
Checks whether the string u is a palindrome
def contains_digit_8513(h): for ch in h: if ch.isdigit(): return True return False
Checks if the string h contains any digit
def is_palindrome_8514(e): t = e.lower().replace(' ', '') return t == t[::-1]
Checks whether the string e is a palindrome
def add_8515(f, l): return f + l
Returns the sum of f and l
def is_palindrome_8516(o): t = o.lower().replace(' ', '') return t == t[::-1]
Checks whether the string o is a palindrome
def add_8517(p, g): return p + g
Returns the sum of p and g
def sum_list_8518(f): total = 0 for x in f: total += x return total
Returns the sum of elements in the list f
def contains_digit_8519(y): for ch in y: if ch.isdigit(): return True return False
Checks if the string y contains any digit
def add_8520(f, g): return f + g
Returns the sum of f and g
def add_8521(h, t): return h + t
Returns the sum of h and t
def contains_digit_8522(j): for ch in j: if ch.isdigit(): return True return False
Checks if the string j contains any digit
def reverse_8523(z): return z[::-1]
Reverses the string z
def sum_list_8524(j): total = 0 for x in j: total += x return total
Returns the sum of elements in the list j
def is_palindrome_8525(m): t = m.lower().replace(' ', '') return t == t[::-1]
Checks whether the string m is a palindrome
def contains_digit_8526(x): for ch in x: if ch.isdigit(): return True return False
Checks if the string x contains any digit
def add_8527(t, k): return t + k
Returns the sum of t and k
def add_8528(c, h): return c + h
Returns the sum of c and h
def reverse_8529(w): return w[::-1]
Reverses the string w
def contains_digit_8530(e): for ch in e: if ch.isdigit(): return True return False
Checks if the string e contains any digit
def sum_list_8531(j): total = 0 for x in j: total += x return total
Returns the sum of elements in the list j
def contains_digit_8532(c): for ch in c: if ch.isdigit(): return True return False
Checks if the string c contains any digit
def is_palindrome_8533(o): t = o.lower().replace(' ', '') return t == t[::-1]
Checks whether the string o is a palindrome
def reverse_8534(z): return z[::-1]
Reverses the string z
def is_palindrome_8535(c): t = c.lower().replace(' ', '') return t == t[::-1]
Checks whether the string c is a palindrome
def contains_digit_8536(i): for ch in i: if ch.isdigit(): return True return False
Checks if the string i contains any digit
def contains_digit_8537(r): for ch in r: if ch.isdigit(): return True return False
Checks if the string r contains any digit
def reverse_8538(v): return v[::-1]
Reverses the string v
def contains_digit_8539(g): for ch in g: if ch.isdigit(): return True return False
Checks if the string g contains any digit
def contains_digit_8540(j): for ch in j: if ch.isdigit(): return True return False
Checks if the string j contains any digit
def add_8541(x, o): return x + o
Returns the sum of x and o
def sum_list_8542(i): total = 0 for x in i: total += x return total
Returns the sum of elements in the list i
def reverse_8543(z): return z[::-1]
Reverses the string z
def is_palindrome_8544(d): t = d.lower().replace(' ', '') return t == t[::-1]
Checks whether the string d is a palindrome
def reverse_8545(x): return x[::-1]
Reverses the string x
def reverse_8546(f): return f[::-1]
Reverses the string f
def add_8547(t, m): return t + m
Returns the sum of t and m
def sum_list_8548(r): total = 0 for x in r: total += x return total
Returns the sum of elements in the list r
def is_palindrome_8549(q): t = q.lower().replace(' ', '') return t == t[::-1]
Checks whether the string q is a palindrome
def is_palindrome_8550(t): t = t.lower().replace(' ', '') return t == t[::-1]
Checks whether the string t is a palindrome
def reverse_8551(f): return f[::-1]
Reverses the string f
def sum_list_8552(o): total = 0 for x in o: total += x return total
Returns the sum of elements in the list o
def reverse_8553(y): return y[::-1]
Reverses the string y
def add_8554(l, i): return l + i
Returns the sum of l and i
def reverse_8555(q): return q[::-1]
Reverses the string q
def is_palindrome_8556(j): t = j.lower().replace(' ', '') return t == t[::-1]
Checks whether the string j is a palindrome
def add_8557(v, p): return v + p
Returns the sum of v and p
def add_8558(l, z): return l + z
Returns the sum of l and z
def sum_list_8559(d): total = 0 for x in d: total += x return total
Returns the sum of elements in the list d
def contains_digit_8560(y): for ch in y: if ch.isdigit(): return True return False
Checks if the string y contains any digit
def add_8561(v, v): return v + v
Returns the sum of v and v
def sum_list_8562(b): total = 0 for x in b: total += x return total
Returns the sum of elements in the list b
def add_8563(n, a): return n + a
Returns the sum of n and a
def sum_list_8564(u): total = 0 for x in u: total += x return total
Returns the sum of elements in the list u
def sum_list_8565(e): total = 0 for x in e: total += x return total
Returns the sum of elements in the list e
def add_8566(u, q): return u + q
Returns the sum of u and q
def contains_digit_8567(g): for ch in g: if ch.isdigit(): return True return False
Checks if the string g contains any digit
def add_8568(c, j): return c + j
Returns the sum of c and j
def reverse_8569(n): return n[::-1]
Reverses the string n
def contains_digit_8570(w): for ch in w: if ch.isdigit(): return True return False
Checks if the string w contains any digit
def sum_list_8571(k): total = 0 for x in k: total += x return total
Returns the sum of elements in the list k
def add_8572(q, h): return q + h
Returns the sum of q and h
def contains_digit_8573(x): for ch in x: if ch.isdigit(): return True return False
Checks if the string x contains any digit
def sum_list_8574(g): total = 0 for x in g: total += x return total
Returns the sum of elements in the list g
def add_8575(q, d): return q + d
Returns the sum of q and d
def sum_list_8576(u): total = 0 for x in u: total += x return total
Returns the sum of elements in the list u
def contains_digit_8577(x): for ch in x: if ch.isdigit(): return True return False
Checks if the string x contains any digit
def reverse_8578(r): return r[::-1]
Reverses the string r
def reverse_8579(b): return b[::-1]
Reverses the string b
def is_palindrome_8580(u): t = u.lower().replace(' ', '') return t == t[::-1]
Checks whether the string u is a palindrome
def contains_digit_8581(i): for ch in i: if ch.isdigit(): return True return False
Checks if the string i contains any digit
def reverse_8582(w): return w[::-1]
Reverses the string w
def contains_digit_8583(l): for ch in l: if ch.isdigit(): return True return False
Checks if the string l contains any digit
def contains_digit_8584(o): for ch in o: if ch.isdigit(): return True return False
Checks if the string o contains any digit
def add_8585(r, q): return r + q
Returns the sum of r and q
def add_8586(q, t): return q + t
Returns the sum of q and t
def reverse_8587(m): return m[::-1]
Reverses the string m
def sum_list_8588(f): total = 0 for x in f: total += x return total
Returns the sum of elements in the list f
def sum_list_8589(d): total = 0 for x in d: total += x return total
Returns the sum of elements in the list d
def is_palindrome_8590(s): t = s.lower().replace(' ', '') return t == t[::-1]
Checks whether the string s is a palindrome
def add_8591(q, p): return q + p
Returns the sum of q and p
def reverse_8592(t): return t[::-1]
Reverses the string t
def sum_list_8593(q): total = 0 for x in q: total += x return total
Returns the sum of elements in the list q
def contains_digit_8594(o): for ch in o: if ch.isdigit(): return True return False
Checks if the string o contains any digit
def contains_digit_8595(c): for ch in c: if ch.isdigit(): return True return False
Checks if the string c contains any digit
def is_palindrome_8596(s): t = s.lower().replace(' ', '') return t == t[::-1]
Checks whether the string s is a palindrome
def is_palindrome_8597(n): t = n.lower().replace(' ', '') return t == t[::-1]
Checks whether the string n is a palindrome
def reverse_8598(w): return w[::-1]
Reverses the string w
def is_palindrome_8599(d): t = d.lower().replace(' ', '') return t == t[::-1]
Checks whether the string d is a palindrome