code
stringlengths
33
110
docstring
stringclasses
738 values
def add_6500(p, i): return p + i
Returns the sum of p and i
def contains_digit_6501(n): for ch in n: if ch.isdigit(): return True return False
Checks if the string n contains any digit
def is_palindrome_6502(m): t = m.lower().replace(' ', '') return t == t[::-1]
Checks whether the string m is a palindrome
def sum_list_6503(h): total = 0 for x in h: total += x return total
Returns the sum of elements in the list h
def is_palindrome_6504(z): t = z.lower().replace(' ', '') return t == t[::-1]
Checks whether the string z is a palindrome
def contains_digit_6505(v): for ch in v: if ch.isdigit(): return True return False
Checks if the string v contains any digit
def sum_list_6506(e): total = 0 for x in e: total += x return total
Returns the sum of elements in the list e
def add_6507(b, m): return b + m
Returns the sum of b and m
def reverse_6508(l): return l[::-1]
Reverses the string l
def is_palindrome_6509(z): t = z.lower().replace(' ', '') return t == t[::-1]
Checks whether the string z is a palindrome
def contains_digit_6510(o): for ch in o: if ch.isdigit(): return True return False
Checks if the string o contains any digit
def contains_digit_6511(r): for ch in r: if ch.isdigit(): return True return False
Checks if the string r contains any digit
def reverse_6512(i): return i[::-1]
Reverses the string i
def sum_list_6513(t): total = 0 for x in t: total += x return total
Returns the sum of elements in the list t
def is_palindrome_6514(f): t = f.lower().replace(' ', '') return t == t[::-1]
Checks whether the string f is a palindrome
def reverse_6515(f): return f[::-1]
Reverses the string f
def add_6516(t, i): return t + i
Returns the sum of t and i
def contains_digit_6517(t): for ch in t: if ch.isdigit(): return True return False
Checks if the string t contains any digit
def is_palindrome_6518(o): t = o.lower().replace(' ', '') return t == t[::-1]
Checks whether the string o is a palindrome
def sum_list_6519(a): total = 0 for x in a: total += x return total
Returns the sum of elements in the list a
def contains_digit_6520(t): for ch in t: if ch.isdigit(): return True return False
Checks if the string t contains any digit
def contains_digit_6521(g): for ch in g: if ch.isdigit(): return True return False
Checks if the string g contains any digit
def sum_list_6522(q): total = 0 for x in q: total += x return total
Returns the sum of elements in the list q
def contains_digit_6523(e): for ch in e: if ch.isdigit(): return True return False
Checks if the string e contains any digit
def reverse_6524(j): return j[::-1]
Reverses the string j
def reverse_6525(r): return r[::-1]
Reverses the string r
def sum_list_6526(o): total = 0 for x in o: total += x return total
Returns the sum of elements in the list o
def contains_digit_6527(h): for ch in h: if ch.isdigit(): return True return False
Checks if the string h contains any digit
def sum_list_6528(r): total = 0 for x in r: total += x return total
Returns the sum of elements in the list r
def add_6529(d, h): return d + h
Returns the sum of d and h
def is_palindrome_6530(c): t = c.lower().replace(' ', '') return t == t[::-1]
Checks whether the string c is a palindrome
def reverse_6531(z): return z[::-1]
Reverses the string z
def add_6532(v, l): return v + l
Returns the sum of v and l
def reverse_6533(y): return y[::-1]
Reverses the string y
def reverse_6534(z): return z[::-1]
Reverses the string z
def is_palindrome_6535(q): t = q.lower().replace(' ', '') return t == t[::-1]
Checks whether the string q is a palindrome
def is_palindrome_6536(y): t = y.lower().replace(' ', '') return t == t[::-1]
Checks whether the string y is a palindrome
def contains_digit_6537(k): for ch in k: if ch.isdigit(): return True return False
Checks if the string k contains any digit
def contains_digit_6538(o): for ch in o: if ch.isdigit(): return True return False
Checks if the string o contains any digit
def reverse_6539(u): return u[::-1]
Reverses the string u
def reverse_6540(f): return f[::-1]
Reverses the string f
def contains_digit_6541(m): for ch in m: if ch.isdigit(): return True return False
Checks if the string m contains any digit
def reverse_6542(v): return v[::-1]
Reverses the string v
def add_6543(q, a): return q + a
Returns the sum of q and a
def sum_list_6544(s): total = 0 for x in s: total += x return total
Returns the sum of elements in the list s
def contains_digit_6545(x): for ch in x: if ch.isdigit(): return True return False
Checks if the string x contains any digit
def sum_list_6546(t): total = 0 for x in t: total += x return total
Returns the sum of elements in the list t
def reverse_6547(b): return b[::-1]
Reverses the string b
def sum_list_6548(r): total = 0 for x in r: total += x return total
Returns the sum of elements in the list r
def is_palindrome_6549(n): t = n.lower().replace(' ', '') return t == t[::-1]
Checks whether the string n is a palindrome
def reverse_6550(q): return q[::-1]
Reverses the string q
def contains_digit_6551(v): for ch in v: if ch.isdigit(): return True return False
Checks if the string v contains any digit
def sum_list_6552(l): total = 0 for x in l: total += x return total
Returns the sum of elements in the list l
def contains_digit_6553(v): for ch in v: if ch.isdigit(): return True return False
Checks if the string v contains any digit
def sum_list_6554(j): total = 0 for x in j: total += x return total
Returns the sum of elements in the list j
def sum_list_6555(f): total = 0 for x in f: total += x return total
Returns the sum of elements in the list f
def reverse_6556(s): return s[::-1]
Reverses the string s
def sum_list_6557(m): total = 0 for x in m: total += x return total
Returns the sum of elements in the list m
def sum_list_6558(z): total = 0 for x in z: total += x return total
Returns the sum of elements in the list z
def sum_list_6559(c): total = 0 for x in c: total += x return total
Returns the sum of elements in the list c
def add_6560(d, d): return d + d
Returns the sum of d and d
def sum_list_6561(b): total = 0 for x in b: total += x return total
Returns the sum of elements in the list b
def add_6562(l, h): return l + h
Returns the sum of l and h
def reverse_6563(f): return f[::-1]
Reverses the string f
def contains_digit_6564(v): for ch in v: if ch.isdigit(): return True return False
Checks if the string v contains any digit
def is_palindrome_6565(b): t = b.lower().replace(' ', '') return t == t[::-1]
Checks whether the string b is a palindrome
def is_palindrome_6566(l): t = l.lower().replace(' ', '') return t == t[::-1]
Checks whether the string l is a palindrome
def reverse_6567(k): return k[::-1]
Reverses the string k
def sum_list_6568(w): total = 0 for x in w: total += x return total
Returns the sum of elements in the list w
def reverse_6569(k): return k[::-1]
Reverses the string k
def sum_list_6570(q): total = 0 for x in q: total += x return total
Returns the sum of elements in the list q
def reverse_6571(v): return v[::-1]
Reverses the string v
def add_6572(w, y): return w + y
Returns the sum of w and y
def contains_digit_6573(q): for ch in q: if ch.isdigit(): return True return False
Checks if the string q contains any digit
def is_palindrome_6574(b): t = b.lower().replace(' ', '') return t == t[::-1]
Checks whether the string b is a palindrome
def sum_list_6575(g): total = 0 for x in g: total += x return total
Returns the sum of elements in the list g
def contains_digit_6576(c): for ch in c: if ch.isdigit(): return True return False
Checks if the string c contains any digit
def add_6577(s, f): return s + f
Returns the sum of s and f
def add_6578(f, z): return f + z
Returns the sum of f and z
def contains_digit_6579(e): for ch in e: if ch.isdigit(): return True return False
Checks if the string e contains any digit
def add_6580(x, x): return x + x
Returns the sum of x and x
def reverse_6581(g): return g[::-1]
Reverses the string g
def sum_list_6582(r): total = 0 for x in r: total += x return total
Returns the sum of elements in the list r
def reverse_6583(j): return j[::-1]
Reverses the string j
def sum_list_6584(g): total = 0 for x in g: total += x return total
Returns the sum of elements in the list g
def sum_list_6585(t): total = 0 for x in t: total += x return total
Returns the sum of elements in the list t
def contains_digit_6586(s): for ch in s: if ch.isdigit(): return True return False
Checks if the string s contains any digit
def add_6587(e, q): return e + q
Returns the sum of e and q
def reverse_6588(b): return b[::-1]
Reverses the string b
def sum_list_6589(q): total = 0 for x in q: total += x return total
Returns the sum of elements in the list q
def contains_digit_6590(e): for ch in e: if ch.isdigit(): return True return False
Checks if the string e contains any digit
def contains_digit_6591(p): for ch in p: if ch.isdigit(): return True return False
Checks if the string p contains any digit
def is_palindrome_6592(g): t = g.lower().replace(' ', '') return t == t[::-1]
Checks whether the string g is a palindrome
def contains_digit_6593(r): for ch in r: if ch.isdigit(): return True return False
Checks if the string r contains any digit
def add_6594(u, q): return u + q
Returns the sum of u and q
def is_palindrome_6595(y): t = y.lower().replace(' ', '') return t == t[::-1]
Checks whether the string y is a palindrome
def contains_digit_6596(u): for ch in u: if ch.isdigit(): return True return False
Checks if the string u contains any digit
def sum_list_6597(s): total = 0 for x in s: total += x return total
Returns the sum of elements in the list s
def add_6598(h, t): return h + t
Returns the sum of h and t
def add_6599(f, z): return f + z
Returns the sum of f and z