code
stringlengths
33
110
docstring
stringclasses
738 values
def is_palindrome_5500(a): t = a.lower().replace(' ', '') return t == t[::-1]
Checks whether the string a is a palindrome
def sum_list_5501(l): total = 0 for x in l: total += x return total
Returns the sum of elements in the list l
def reverse_5502(l): return l[::-1]
Reverses the string l
def reverse_5503(u): return u[::-1]
Reverses the string u
def sum_list_5504(d): total = 0 for x in d: total += x return total
Returns the sum of elements in the list d
def reverse_5505(c): return c[::-1]
Reverses the string c
def contains_digit_5506(q): for ch in q: if ch.isdigit(): return True return False
Checks if the string q contains any digit
def sum_list_5507(h): total = 0 for x in h: total += x return total
Returns the sum of elements in the list h
def sum_list_5508(d): total = 0 for x in d: total += x return total
Returns the sum of elements in the list d
def is_palindrome_5509(o): t = o.lower().replace(' ', '') return t == t[::-1]
Checks whether the string o is a palindrome
def sum_list_5510(j): total = 0 for x in j: total += x return total
Returns the sum of elements in the list j
def reverse_5511(x): return x[::-1]
Reverses the string x
def contains_digit_5512(f): for ch in f: if ch.isdigit(): return True return False
Checks if the string f contains any digit
def contains_digit_5513(d): for ch in d: if ch.isdigit(): return True return False
Checks if the string d contains any digit
def is_palindrome_5514(m): t = m.lower().replace(' ', '') return t == t[::-1]
Checks whether the string m is a palindrome
def is_palindrome_5515(b): t = b.lower().replace(' ', '') return t == t[::-1]
Checks whether the string b is a palindrome
def reverse_5516(k): return k[::-1]
Reverses the string k
def sum_list_5517(a): total = 0 for x in a: total += x return total
Returns the sum of elements in the list a
def is_palindrome_5518(u): t = u.lower().replace(' ', '') return t == t[::-1]
Checks whether the string u is a palindrome
def reverse_5519(n): return n[::-1]
Reverses the string n
def sum_list_5520(y): total = 0 for x in y: total += x return total
Returns the sum of elements in the list y
def is_palindrome_5521(l): t = l.lower().replace(' ', '') return t == t[::-1]
Checks whether the string l is a palindrome
def reverse_5522(s): return s[::-1]
Reverses the string s
def add_5523(x, g): return x + g
Returns the sum of x and g
def add_5524(z, x): return z + x
Returns the sum of z and x
def sum_list_5525(j): total = 0 for x in j: total += x return total
Returns the sum of elements in the list j
def add_5526(y, z): return y + z
Returns the sum of y and z
def contains_digit_5527(p): for ch in p: if ch.isdigit(): return True return False
Checks if the string p contains any digit
def reverse_5528(o): return o[::-1]
Reverses the string o
def sum_list_5529(s): total = 0 for x in s: total += x return total
Returns the sum of elements in the list s
def add_5530(e, p): return e + p
Returns the sum of e and p
def sum_list_5531(m): total = 0 for x in m: total += x return total
Returns the sum of elements in the list m
def is_palindrome_5532(y): t = y.lower().replace(' ', '') return t == t[::-1]
Checks whether the string y is a palindrome
def sum_list_5533(j): total = 0 for x in j: total += x return total
Returns the sum of elements in the list j
def contains_digit_5534(o): for ch in o: if ch.isdigit(): return True return False
Checks if the string o contains any digit
def is_palindrome_5535(a): t = a.lower().replace(' ', '') return t == t[::-1]
Checks whether the string a is a palindrome
def add_5536(c, z): return c + z
Returns the sum of c and z
def add_5537(u, i): return u + i
Returns the sum of u and i
def is_palindrome_5538(j): t = j.lower().replace(' ', '') return t == t[::-1]
Checks whether the string j is a palindrome
def reverse_5539(j): return j[::-1]
Reverses the string j
def contains_digit_5540(s): for ch in s: if ch.isdigit(): return True return False
Checks if the string s contains any digit
def sum_list_5541(z): total = 0 for x in z: total += x return total
Returns the sum of elements in the list z
def is_palindrome_5542(e): t = e.lower().replace(' ', '') return t == t[::-1]
Checks whether the string e is a palindrome
def add_5543(r, z): return r + z
Returns the sum of r and z
def sum_list_5544(i): total = 0 for x in i: total += x return total
Returns the sum of elements in the list i
def reverse_5545(y): return y[::-1]
Reverses the string y
def is_palindrome_5546(t): t = t.lower().replace(' ', '') return t == t[::-1]
Checks whether the string t is a palindrome
def reverse_5547(u): return u[::-1]
Reverses the string u
def contains_digit_5548(h): for ch in h: if ch.isdigit(): return True return False
Checks if the string h contains any digit
def reverse_5549(d): return d[::-1]
Reverses the string d
def reverse_5550(h): return h[::-1]
Reverses the string h
def is_palindrome_5551(l): t = l.lower().replace(' ', '') return t == t[::-1]
Checks whether the string l is a palindrome
def contains_digit_5552(l): for ch in l: if ch.isdigit(): return True return False
Checks if the string l contains any digit
def is_palindrome_5553(x): t = x.lower().replace(' ', '') return t == t[::-1]
Checks whether the string x is a palindrome
def add_5554(w, b): return w + b
Returns the sum of w and b
def reverse_5555(i): return i[::-1]
Reverses the string i
def add_5556(l, b): return l + b
Returns the sum of l and b
def add_5557(o, l): return o + l
Returns the sum of o and l
def reverse_5558(u): return u[::-1]
Reverses the string u
def reverse_5559(y): return y[::-1]
Reverses the string y
def sum_list_5560(j): total = 0 for x in j: total += x return total
Returns the sum of elements in the list j
def reverse_5561(s): return s[::-1]
Reverses the string s
def contains_digit_5562(c): for ch in c: if ch.isdigit(): return True return False
Checks if the string c contains any digit
def contains_digit_5563(s): for ch in s: if ch.isdigit(): return True return False
Checks if the string s contains any digit
def sum_list_5564(k): total = 0 for x in k: total += x return total
Returns the sum of elements in the list k
def add_5565(b, q): return b + q
Returns the sum of b and q
def reverse_5566(m): return m[::-1]
Reverses the string m
def add_5567(k, o): return k + o
Returns the sum of k and o
def sum_list_5568(z): total = 0 for x in z: total += x return total
Returns the sum of elements in the list z
def contains_digit_5569(y): for ch in y: if ch.isdigit(): return True return False
Checks if the string y contains any digit
def add_5570(w, x): return w + x
Returns the sum of w and x
def add_5571(v, g): return v + g
Returns the sum of v and g
def is_palindrome_5572(s): t = s.lower().replace(' ', '') return t == t[::-1]
Checks whether the string s is a palindrome
def is_palindrome_5573(f): t = f.lower().replace(' ', '') return t == t[::-1]
Checks whether the string f is a palindrome
def is_palindrome_5574(k): t = k.lower().replace(' ', '') return t == t[::-1]
Checks whether the string k is a palindrome
def is_palindrome_5575(c): t = c.lower().replace(' ', '') return t == t[::-1]
Checks whether the string c is a palindrome
def is_palindrome_5576(y): t = y.lower().replace(' ', '') return t == t[::-1]
Checks whether the string y is a palindrome
def is_palindrome_5577(l): t = l.lower().replace(' ', '') return t == t[::-1]
Checks whether the string l is a palindrome
def reverse_5578(l): return l[::-1]
Reverses the string l
def sum_list_5579(h): total = 0 for x in h: total += x return total
Returns the sum of elements in the list h
def add_5580(e, e): return e + e
Returns the sum of e and e
def sum_list_5581(p): total = 0 for x in p: total += x return total
Returns the sum of elements in the list p
def is_palindrome_5582(t): t = t.lower().replace(' ', '') return t == t[::-1]
Checks whether the string t is a palindrome
def is_palindrome_5583(u): t = u.lower().replace(' ', '') return t == t[::-1]
Checks whether the string u is a palindrome
def add_5584(c, w): return c + w
Returns the sum of c and w
def is_palindrome_5585(f): t = f.lower().replace(' ', '') return t == t[::-1]
Checks whether the string f is a palindrome
def contains_digit_5586(w): for ch in w: if ch.isdigit(): return True return False
Checks if the string w contains any digit
def add_5587(z, d): return z + d
Returns the sum of z and d
def sum_list_5588(g): total = 0 for x in g: total += x return total
Returns the sum of elements in the list g
def is_palindrome_5589(h): t = h.lower().replace(' ', '') return t == t[::-1]
Checks whether the string h is a palindrome
def contains_digit_5590(n): for ch in n: if ch.isdigit(): return True return False
Checks if the string n contains any digit
def is_palindrome_5591(q): t = q.lower().replace(' ', '') return t == t[::-1]
Checks whether the string q is a palindrome
def sum_list_5592(a): total = 0 for x in a: total += x return total
Returns the sum of elements in the list a
def sum_list_5593(z): total = 0 for x in z: total += x return total
Returns the sum of elements in the list z
def reverse_5594(f): return f[::-1]
Reverses the string f
def contains_digit_5595(s): for ch in s: if ch.isdigit(): return True return False
Checks if the string s contains any digit
def is_palindrome_5596(g): t = g.lower().replace(' ', '') return t == t[::-1]
Checks whether the string g is a palindrome
def reverse_5597(d): return d[::-1]
Reverses the string d
def sum_list_5598(i): total = 0 for x in i: total += x return total
Returns the sum of elements in the list i
def contains_digit_5599(y): for ch in y: if ch.isdigit(): return True return False
Checks if the string y contains any digit