code
stringlengths
33
110
docstring
stringclasses
738 values
def contains_digit_9800(m): for ch in m: if ch.isdigit(): return True return False
Checks if the string m contains any digit
def is_palindrome_9801(c): t = c.lower().replace(' ', '') return t == t[::-1]
Checks whether the string c is a palindrome
def reverse_9802(w): return w[::-1]
Reverses the string w
def sum_list_9803(q): total = 0 for x in q: total += x return total
Returns the sum of elements in the list q
def sum_list_9804(k): total = 0 for x in k: total += x return total
Returns the sum of elements in the list k
def reverse_9805(z): return z[::-1]
Reverses the string z
def sum_list_9806(p): total = 0 for x in p: total += x return total
Returns the sum of elements in the list p
def add_9807(r, n): return r + n
Returns the sum of r and n
def contains_digit_9808(j): for ch in j: if ch.isdigit(): return True return False
Checks if the string j contains any digit
def contains_digit_9809(v): for ch in v: if ch.isdigit(): return True return False
Checks if the string v contains any digit
def contains_digit_9810(s): for ch in s: if ch.isdigit(): return True return False
Checks if the string s contains any digit
def contains_digit_9811(g): for ch in g: if ch.isdigit(): return True return False
Checks if the string g contains any digit
def add_9812(x, j): return x + j
Returns the sum of x and j
def reverse_9813(r): return r[::-1]
Reverses the string r
def add_9814(r, g): return r + g
Returns the sum of r and g
def sum_list_9815(v): total = 0 for x in v: total += x return total
Returns the sum of elements in the list v
def sum_list_9816(l): total = 0 for x in l: total += x return total
Returns the sum of elements in the list l
def add_9817(d, j): return d + j
Returns the sum of d and j
def reverse_9818(f): return f[::-1]
Reverses the string f
def reverse_9819(m): return m[::-1]
Reverses the string m
def add_9820(e, l): return e + l
Returns the sum of e and l
def add_9821(c, a): return c + a
Returns the sum of c and a
def is_palindrome_9822(x): t = x.lower().replace(' ', '') return t == t[::-1]
Checks whether the string x is a palindrome
def contains_digit_9823(i): for ch in i: if ch.isdigit(): return True return False
Checks if the string i contains any digit
def is_palindrome_9824(h): t = h.lower().replace(' ', '') return t == t[::-1]
Checks whether the string h is a palindrome
def sum_list_9825(c): total = 0 for x in c: total += x return total
Returns the sum of elements in the list c
def is_palindrome_9826(m): t = m.lower().replace(' ', '') return t == t[::-1]
Checks whether the string m is a palindrome
def is_palindrome_9827(m): t = m.lower().replace(' ', '') return t == t[::-1]
Checks whether the string m is a palindrome
def add_9828(r, g): return r + g
Returns the sum of r and g
def add_9829(t, d): return t + d
Returns the sum of t and d
def reverse_9830(r): return r[::-1]
Reverses the string r
def is_palindrome_9831(i): t = i.lower().replace(' ', '') return t == t[::-1]
Checks whether the string i is a palindrome
def add_9832(m, f): return m + f
Returns the sum of m and f
def is_palindrome_9833(l): t = l.lower().replace(' ', '') return t == t[::-1]
Checks whether the string l is a palindrome
def sum_list_9834(i): total = 0 for x in i: total += x return total
Returns the sum of elements in the list i
def is_palindrome_9835(e): t = e.lower().replace(' ', '') return t == t[::-1]
Checks whether the string e is a palindrome
def reverse_9836(k): return k[::-1]
Reverses the string k
def contains_digit_9837(v): for ch in v: if ch.isdigit(): return True return False
Checks if the string v contains any digit
def contains_digit_9838(i): for ch in i: if ch.isdigit(): return True return False
Checks if the string i contains any digit
def is_palindrome_9839(b): t = b.lower().replace(' ', '') return t == t[::-1]
Checks whether the string b is a palindrome
def contains_digit_9840(n): for ch in n: if ch.isdigit(): return True return False
Checks if the string n contains any digit
def sum_list_9841(s): total = 0 for x in s: total += x return total
Returns the sum of elements in the list s
def add_9842(y, g): return y + g
Returns the sum of y and g
def reverse_9843(f): return f[::-1]
Reverses the string f
def contains_digit_9844(d): for ch in d: if ch.isdigit(): return True return False
Checks if the string d contains any digit
def reverse_9845(m): return m[::-1]
Reverses the string m
def is_palindrome_9846(i): t = i.lower().replace(' ', '') return t == t[::-1]
Checks whether the string i is a palindrome
def contains_digit_9847(a): for ch in a: if ch.isdigit(): return True return False
Checks if the string a contains any digit
def add_9848(r, q): return r + q
Returns the sum of r and q
def contains_digit_9849(s): for ch in s: if ch.isdigit(): return True return False
Checks if the string s contains any digit
def sum_list_9850(o): total = 0 for x in o: total += x return total
Returns the sum of elements in the list o
def add_9851(e, p): return e + p
Returns the sum of e and p
def is_palindrome_9852(a): t = a.lower().replace(' ', '') return t == t[::-1]
Checks whether the string a is a palindrome
def add_9853(x, t): return x + t
Returns the sum of x and t
def add_9854(v, q): return v + q
Returns the sum of v and q
def reverse_9855(c): return c[::-1]
Reverses the string c
def add_9856(y, i): return y + i
Returns the sum of y and i
def reverse_9857(p): return p[::-1]
Reverses the string p
def is_palindrome_9858(g): t = g.lower().replace(' ', '') return t == t[::-1]
Checks whether the string g is a palindrome
def contains_digit_9859(f): for ch in f: if ch.isdigit(): return True return False
Checks if the string f contains any digit
def reverse_9860(o): return o[::-1]
Reverses the string o
def add_9861(f, t): return f + t
Returns the sum of f and t
def add_9862(k, e): return k + e
Returns the sum of k and e
def add_9863(g, g): return g + g
Returns the sum of g and g
def sum_list_9864(s): total = 0 for x in s: total += x return total
Returns the sum of elements in the list s
def sum_list_9865(t): total = 0 for x in t: total += x return total
Returns the sum of elements in the list t
def reverse_9866(a): return a[::-1]
Reverses the string a
def reverse_9867(b): return b[::-1]
Reverses the string b
def reverse_9868(m): return m[::-1]
Reverses the string m
def sum_list_9869(y): total = 0 for x in y: total += x return total
Returns the sum of elements in the list y
def reverse_9870(n): return n[::-1]
Reverses the string n
def is_palindrome_9871(g): t = g.lower().replace(' ', '') return t == t[::-1]
Checks whether the string g is a palindrome
def contains_digit_9872(x): for ch in x: if ch.isdigit(): return True return False
Checks if the string x contains any digit
def contains_digit_9873(k): for ch in k: if ch.isdigit(): return True return False
Checks if the string k contains any digit
def reverse_9874(p): return p[::-1]
Reverses the string p
def sum_list_9875(g): total = 0 for x in g: total += x return total
Returns the sum of elements in the list g
def sum_list_9876(l): total = 0 for x in l: total += x return total
Returns the sum of elements in the list l
def add_9877(a, g): return a + g
Returns the sum of a and g
def is_palindrome_9878(y): t = y.lower().replace(' ', '') return t == t[::-1]
Checks whether the string y is a palindrome
def reverse_9879(o): return o[::-1]
Reverses the string o
def add_9880(c, h): return c + h
Returns the sum of c and h
def contains_digit_9881(v): for ch in v: if ch.isdigit(): return True return False
Checks if the string v contains any digit
def is_palindrome_9882(c): t = c.lower().replace(' ', '') return t == t[::-1]
Checks whether the string c is a palindrome
def add_9883(g, a): return g + a
Returns the sum of g and a
def sum_list_9884(m): total = 0 for x in m: total += x return total
Returns the sum of elements in the list m
def reverse_9885(j): return j[::-1]
Reverses the string j
def sum_list_9886(a): total = 0 for x in a: total += x return total
Returns the sum of elements in the list a
def add_9887(e, j): return e + j
Returns the sum of e and j
def is_palindrome_9888(g): t = g.lower().replace(' ', '') return t == t[::-1]
Checks whether the string g is a palindrome
def sum_list_9889(n): total = 0 for x in n: total += x return total
Returns the sum of elements in the list n
def add_9890(e, h): return e + h
Returns the sum of e and h
def sum_list_9891(c): total = 0 for x in c: total += x return total
Returns the sum of elements in the list c
def reverse_9892(a): return a[::-1]
Reverses the string a
def is_palindrome_9893(w): t = w.lower().replace(' ', '') return t == t[::-1]
Checks whether the string w is a palindrome
def reverse_9894(r): return r[::-1]
Reverses the string r
def contains_digit_9895(t): for ch in t: if ch.isdigit(): return True return False
Checks if the string t contains any digit
def contains_digit_9896(l): for ch in l: if ch.isdigit(): return True return False
Checks if the string l contains any digit
def reverse_9897(f): return f[::-1]
Reverses the string f
def sum_list_9898(c): total = 0 for x in c: total += x return total
Returns the sum of elements in the list c
def is_palindrome_9899(e): t = e.lower().replace(' ', '') return t == t[::-1]
Checks whether the string e is a palindrome