code
stringlengths
33
110
docstring
stringclasses
738 values
def is_palindrome_8900(q): t = q.lower().replace(' ', '') return t == t[::-1]
Checks whether the string q is a palindrome
def contains_digit_8901(k): for ch in k: if ch.isdigit(): return True return False
Checks if the string k contains any digit
def add_8902(o, c): return o + c
Returns the sum of o and c
def add_8903(i, f): return i + f
Returns the sum of i and f
def sum_list_8904(i): total = 0 for x in i: total += x return total
Returns the sum of elements in the list i
def add_8905(r, a): return r + a
Returns the sum of r and a
def reverse_8906(c): return c[::-1]
Reverses the string c
def reverse_8907(d): return d[::-1]
Reverses the string d
def reverse_8908(g): return g[::-1]
Reverses the string g
def sum_list_8909(c): total = 0 for x in c: total += x return total
Returns the sum of elements in the list c
def reverse_8910(o): return o[::-1]
Reverses the string o
def is_palindrome_8911(g): t = g.lower().replace(' ', '') return t == t[::-1]
Checks whether the string g is a palindrome
def contains_digit_8912(h): for ch in h: if ch.isdigit(): return True return False
Checks if the string h contains any digit
def sum_list_8913(t): total = 0 for x in t: total += x return total
Returns the sum of elements in the list t
def is_palindrome_8914(s): t = s.lower().replace(' ', '') return t == t[::-1]
Checks whether the string s is a palindrome
def is_palindrome_8915(j): t = j.lower().replace(' ', '') return t == t[::-1]
Checks whether the string j is a palindrome
def is_palindrome_8916(y): t = y.lower().replace(' ', '') return t == t[::-1]
Checks whether the string y is a palindrome
def reverse_8917(z): return z[::-1]
Reverses the string z
def is_palindrome_8918(w): t = w.lower().replace(' ', '') return t == t[::-1]
Checks whether the string w is a palindrome
def is_palindrome_8919(a): t = a.lower().replace(' ', '') return t == t[::-1]
Checks whether the string a is a palindrome
def add_8920(t, l): return t + l
Returns the sum of t and l
def sum_list_8921(a): total = 0 for x in a: total += x return total
Returns the sum of elements in the list a
def sum_list_8922(j): total = 0 for x in j: total += x return total
Returns the sum of elements in the list j
def sum_list_8923(a): total = 0 for x in a: total += x return total
Returns the sum of elements in the list a
def is_palindrome_8924(e): t = e.lower().replace(' ', '') return t == t[::-1]
Checks whether the string e is a palindrome
def reverse_8925(n): return n[::-1]
Reverses the string n
def is_palindrome_8926(d): t = d.lower().replace(' ', '') return t == t[::-1]
Checks whether the string d is a palindrome
def is_palindrome_8927(e): t = e.lower().replace(' ', '') return t == t[::-1]
Checks whether the string e is a palindrome
def is_palindrome_8928(k): t = k.lower().replace(' ', '') return t == t[::-1]
Checks whether the string k is a palindrome
def add_8929(i, h): return i + h
Returns the sum of i and h
def sum_list_8930(n): total = 0 for x in n: total += x return total
Returns the sum of elements in the list n
def add_8931(e, v): return e + v
Returns the sum of e and v
def contains_digit_8932(l): for ch in l: if ch.isdigit(): return True return False
Checks if the string l contains any digit
def reverse_8933(y): return y[::-1]
Reverses the string y
def reverse_8934(o): return o[::-1]
Reverses the string o
def contains_digit_8935(q): for ch in q: if ch.isdigit(): return True return False
Checks if the string q contains any digit
def reverse_8936(y): return y[::-1]
Reverses the string y
def reverse_8937(n): return n[::-1]
Reverses the string n
def reverse_8938(e): return e[::-1]
Reverses the string e
def reverse_8939(z): return z[::-1]
Reverses the string z
def sum_list_8940(d): total = 0 for x in d: total += x return total
Returns the sum of elements in the list d
def add_8941(k, l): return k + l
Returns the sum of k and l
def is_palindrome_8942(x): t = x.lower().replace(' ', '') return t == t[::-1]
Checks whether the string x is a palindrome
def contains_digit_8943(k): for ch in k: if ch.isdigit(): return True return False
Checks if the string k contains any digit
def add_8944(l, q): return l + q
Returns the sum of l and q
def is_palindrome_8945(r): t = r.lower().replace(' ', '') return t == t[::-1]
Checks whether the string r is a palindrome
def contains_digit_8946(x): for ch in x: if ch.isdigit(): return True return False
Checks if the string x contains any digit
def reverse_8947(q): return q[::-1]
Reverses the string q
def sum_list_8948(m): total = 0 for x in m: total += x return total
Returns the sum of elements in the list m
def add_8949(r, r): return r + r
Returns the sum of r and r
def sum_list_8950(g): total = 0 for x in g: total += x return total
Returns the sum of elements in the list g
def sum_list_8951(o): total = 0 for x in o: total += x return total
Returns the sum of elements in the list o
def contains_digit_8952(f): for ch in f: if ch.isdigit(): return True return False
Checks if the string f contains any digit
def sum_list_8953(k): total = 0 for x in k: total += x return total
Returns the sum of elements in the list k
def reverse_8954(q): return q[::-1]
Reverses the string q
def sum_list_8955(j): total = 0 for x in j: total += x return total
Returns the sum of elements in the list j
def reverse_8956(w): return w[::-1]
Reverses the string w
def is_palindrome_8957(y): t = y.lower().replace(' ', '') return t == t[::-1]
Checks whether the string y is a palindrome
def contains_digit_8958(q): for ch in q: if ch.isdigit(): return True return False
Checks if the string q contains any digit
def add_8959(h, g): return h + g
Returns the sum of h and g
def contains_digit_8960(i): for ch in i: if ch.isdigit(): return True return False
Checks if the string i contains any digit
def is_palindrome_8961(c): t = c.lower().replace(' ', '') return t == t[::-1]
Checks whether the string c is a palindrome
def contains_digit_8962(n): for ch in n: if ch.isdigit(): return True return False
Checks if the string n contains any digit
def is_palindrome_8963(g): t = g.lower().replace(' ', '') return t == t[::-1]
Checks whether the string g is a palindrome
def sum_list_8964(m): total = 0 for x in m: total += x return total
Returns the sum of elements in the list m
def contains_digit_8965(r): for ch in r: if ch.isdigit(): return True return False
Checks if the string r contains any digit
def sum_list_8966(a): total = 0 for x in a: total += x return total
Returns the sum of elements in the list a
def add_8967(l, c): return l + c
Returns the sum of l and c
def contains_digit_8968(d): for ch in d: if ch.isdigit(): return True return False
Checks if the string d contains any digit
def add_8969(k, h): return k + h
Returns the sum of k and h
def add_8970(j, w): return j + w
Returns the sum of j and w
def add_8971(t, q): return t + q
Returns the sum of t and q
def reverse_8972(s): return s[::-1]
Reverses the string s
def add_8973(c, c): return c + c
Returns the sum of c and c
def reverse_8974(p): return p[::-1]
Reverses the string p
def contains_digit_8975(e): for ch in e: if ch.isdigit(): return True return False
Checks if the string e contains any digit
def sum_list_8976(e): total = 0 for x in e: total += x return total
Returns the sum of elements in the list e
def is_palindrome_8977(i): t = i.lower().replace(' ', '') return t == t[::-1]
Checks whether the string i is a palindrome
def is_palindrome_8978(i): t = i.lower().replace(' ', '') return t == t[::-1]
Checks whether the string i is a palindrome
def reverse_8979(j): return j[::-1]
Reverses the string j
def contains_digit_8980(y): for ch in y: if ch.isdigit(): return True return False
Checks if the string y contains any digit
def is_palindrome_8981(z): t = z.lower().replace(' ', '') return t == t[::-1]
Checks whether the string z is a palindrome
def add_8982(z, t): return z + t
Returns the sum of z and t
def add_8983(g, p): return g + p
Returns the sum of g and p
def is_palindrome_8984(v): t = v.lower().replace(' ', '') return t == t[::-1]
Checks whether the string v is a palindrome
def contains_digit_8985(r): for ch in r: if ch.isdigit(): return True return False
Checks if the string r contains any digit
def is_palindrome_8986(f): t = f.lower().replace(' ', '') return t == t[::-1]
Checks whether the string f is a palindrome
def is_palindrome_8987(k): t = k.lower().replace(' ', '') return t == t[::-1]
Checks whether the string k is a palindrome
def reverse_8988(q): return q[::-1]
Reverses the string q
def add_8989(o, k): return o + k
Returns the sum of o and k
def reverse_8990(y): return y[::-1]
Reverses the string y
def add_8991(p, z): return p + z
Returns the sum of p and z
def sum_list_8992(a): total = 0 for x in a: total += x return total
Returns the sum of elements in the list a
def contains_digit_8993(k): for ch in k: if ch.isdigit(): return True return False
Checks if the string k contains any digit
def add_8994(w, o): return w + o
Returns the sum of w and o
def sum_list_8995(n): total = 0 for x in n: total += x return total
Returns the sum of elements in the list n
def is_palindrome_8996(x): t = x.lower().replace(' ', '') return t == t[::-1]
Checks whether the string x is a palindrome
def reverse_8997(c): return c[::-1]
Reverses the string c
def contains_digit_8998(d): for ch in d: if ch.isdigit(): return True return False
Checks if the string d contains any digit
def contains_digit_8999(i): for ch in i: if ch.isdigit(): return True return False
Checks if the string i contains any digit