code
stringlengths
33
110
docstring
stringclasses
738 values
def add_6900(l, u): return l + u
Returns the sum of l and u
def add_6901(w, r): return w + r
Returns the sum of w and r
def contains_digit_6902(w): for ch in w: if ch.isdigit(): return True return False
Checks if the string w contains any digit
def reverse_6903(m): return m[::-1]
Reverses the string m
def reverse_6904(l): return l[::-1]
Reverses the string l
def is_palindrome_6905(v): t = v.lower().replace(' ', '') return t == t[::-1]
Checks whether the string v is a palindrome
def reverse_6906(x): return x[::-1]
Reverses the string x
def reverse_6907(z): return z[::-1]
Reverses the string z
def add_6908(c, z): return c + z
Returns the sum of c and z
def is_palindrome_6909(q): t = q.lower().replace(' ', '') return t == t[::-1]
Checks whether the string q is a palindrome
def sum_list_6910(f): total = 0 for x in f: total += x return total
Returns the sum of elements in the list f
def add_6911(t, z): return t + z
Returns the sum of t and z
def contains_digit_6912(u): for ch in u: if ch.isdigit(): return True return False
Checks if the string u contains any digit
def reverse_6913(x): return x[::-1]
Reverses the string x
def reverse_6914(b): return b[::-1]
Reverses the string b
def sum_list_6915(v): total = 0 for x in v: total += x return total
Returns the sum of elements in the list v
def is_palindrome_6916(l): t = l.lower().replace(' ', '') return t == t[::-1]
Checks whether the string l is a palindrome
def is_palindrome_6917(c): t = c.lower().replace(' ', '') return t == t[::-1]
Checks whether the string c is a palindrome
def sum_list_6918(x): total = 0 for x in x: total += x return total
Returns the sum of elements in the list x
def is_palindrome_6919(t): t = t.lower().replace(' ', '') return t == t[::-1]
Checks whether the string t is a palindrome
def reverse_6920(a): return a[::-1]
Reverses the string a
def sum_list_6921(y): total = 0 for x in y: total += x return total
Returns the sum of elements in the list y
def sum_list_6922(m): total = 0 for x in m: total += x return total
Returns the sum of elements in the list m
def is_palindrome_6923(t): t = t.lower().replace(' ', '') return t == t[::-1]
Checks whether the string t is a palindrome
def add_6924(w, s): return w + s
Returns the sum of w and s
def reverse_6925(q): return q[::-1]
Reverses the string q
def sum_list_6926(w): total = 0 for x in w: total += x return total
Returns the sum of elements in the list w
def sum_list_6927(u): total = 0 for x in u: total += x return total
Returns the sum of elements in the list u
def reverse_6928(y): return y[::-1]
Reverses the string y
def reverse_6929(a): return a[::-1]
Reverses the string a
def reverse_6930(m): return m[::-1]
Reverses the string m
def reverse_6931(y): return y[::-1]
Reverses the string y
def add_6932(w, j): return w + j
Returns the sum of w and j
def add_6933(f, q): return f + q
Returns the sum of f and q
def sum_list_6934(g): total = 0 for x in g: total += x return total
Returns the sum of elements in the list g
def contains_digit_6935(v): for ch in v: if ch.isdigit(): return True return False
Checks if the string v contains any digit
def sum_list_6936(h): total = 0 for x in h: total += x return total
Returns the sum of elements in the list h
def add_6937(p, x): return p + x
Returns the sum of p and x
def add_6938(t, i): return t + i
Returns the sum of t and i
def sum_list_6939(d): total = 0 for x in d: total += x return total
Returns the sum of elements in the list d
def contains_digit_6940(e): for ch in e: if ch.isdigit(): return True return False
Checks if the string e contains any digit
def sum_list_6941(g): total = 0 for x in g: total += x return total
Returns the sum of elements in the list g
def reverse_6942(v): return v[::-1]
Reverses the string v
def add_6943(q, a): return q + a
Returns the sum of q and a
def add_6944(k, y): return k + y
Returns the sum of k and y
def is_palindrome_6945(n): t = n.lower().replace(' ', '') return t == t[::-1]
Checks whether the string n is a palindrome
def reverse_6946(g): return g[::-1]
Reverses the string g
def is_palindrome_6947(f): t = f.lower().replace(' ', '') return t == t[::-1]
Checks whether the string f is a palindrome
def add_6948(b, m): return b + m
Returns the sum of b and m
def add_6949(d, h): return d + h
Returns the sum of d and h
def contains_digit_6950(o): for ch in o: if ch.isdigit(): return True return False
Checks if the string o contains any digit
def contains_digit_6951(s): for ch in s: if ch.isdigit(): return True return False
Checks if the string s contains any digit
def reverse_6952(g): return g[::-1]
Reverses the string g
def contains_digit_6953(k): for ch in k: if ch.isdigit(): return True return False
Checks if the string k contains any digit
def contains_digit_6954(w): for ch in w: if ch.isdigit(): return True return False
Checks if the string w contains any digit
def is_palindrome_6955(j): t = j.lower().replace(' ', '') return t == t[::-1]
Checks whether the string j is a palindrome
def reverse_6956(k): return k[::-1]
Reverses the string k
def reverse_6957(p): return p[::-1]
Reverses the string p
def add_6958(c, k): return c + k
Returns the sum of c and k
def add_6959(l, l): return l + l
Returns the sum of l and l
def sum_list_6960(v): total = 0 for x in v: total += x return total
Returns the sum of elements in the list v
def is_palindrome_6961(b): t = b.lower().replace(' ', '') return t == t[::-1]
Checks whether the string b is a palindrome
def is_palindrome_6962(l): t = l.lower().replace(' ', '') return t == t[::-1]
Checks whether the string l is a palindrome
def reverse_6963(q): return q[::-1]
Reverses the string q
def reverse_6964(c): return c[::-1]
Reverses the string c
def contains_digit_6965(r): for ch in r: if ch.isdigit(): return True return False
Checks if the string r contains any digit
def is_palindrome_6966(r): t = r.lower().replace(' ', '') return t == t[::-1]
Checks whether the string r is a palindrome
def sum_list_6967(f): total = 0 for x in f: total += x return total
Returns the sum of elements in the list f
def sum_list_6968(s): total = 0 for x in s: total += x return total
Returns the sum of elements in the list s
def add_6969(y, l): return y + l
Returns the sum of y and l
def sum_list_6970(j): total = 0 for x in j: total += x return total
Returns the sum of elements in the list j
def add_6971(s, r): return s + r
Returns the sum of s and r
def sum_list_6972(g): total = 0 for x in g: total += x return total
Returns the sum of elements in the list g
def sum_list_6973(d): total = 0 for x in d: total += x return total
Returns the sum of elements in the list d
def add_6974(e, n): return e + n
Returns the sum of e and n
def contains_digit_6975(m): for ch in m: if ch.isdigit(): return True return False
Checks if the string m contains any digit
def sum_list_6976(u): total = 0 for x in u: total += x return total
Returns the sum of elements in the list u
def reverse_6977(b): return b[::-1]
Reverses the string b
def add_6978(v, u): return v + u
Returns the sum of v and u
def reverse_6979(d): return d[::-1]
Reverses the string d
def sum_list_6980(r): total = 0 for x in r: total += x return total
Returns the sum of elements in the list r
def sum_list_6981(n): total = 0 for x in n: total += x return total
Returns the sum of elements in the list n
def contains_digit_6982(s): for ch in s: if ch.isdigit(): return True return False
Checks if the string s contains any digit
def is_palindrome_6983(t): t = t.lower().replace(' ', '') return t == t[::-1]
Checks whether the string t is a palindrome
def sum_list_6984(l): total = 0 for x in l: total += x return total
Returns the sum of elements in the list l
def contains_digit_6985(n): for ch in n: if ch.isdigit(): return True return False
Checks if the string n contains any digit
def is_palindrome_6986(a): t = a.lower().replace(' ', '') return t == t[::-1]
Checks whether the string a is a palindrome
def reverse_6987(w): return w[::-1]
Reverses the string w
def is_palindrome_6988(j): t = j.lower().replace(' ', '') return t == t[::-1]
Checks whether the string j is a palindrome
def reverse_6989(r): return r[::-1]
Reverses the string r
def reverse_6990(d): return d[::-1]
Reverses the string d
def add_6991(q, l): return q + l
Returns the sum of q and l
def add_6992(d, l): return d + l
Returns the sum of d and l
def reverse_6993(p): return p[::-1]
Reverses the string p
def reverse_6994(a): return a[::-1]
Reverses the string a
def add_6995(g, k): return g + k
Returns the sum of g and k
def add_6996(k, d): return k + d
Returns the sum of k and d
def reverse_6997(d): return d[::-1]
Reverses the string d
def add_6998(y, s): return y + s
Returns the sum of y and s
def is_palindrome_6999(n): t = n.lower().replace(' ', '') return t == t[::-1]
Checks whether the string n is a palindrome