code
stringlengths
33
110
docstring
stringclasses
738 values
def contains_digit_9600(q): for ch in q: if ch.isdigit(): return True return False
Checks if the string q contains any digit
def add_9601(x, c): return x + c
Returns the sum of x and c
def add_9602(q, l): return q + l
Returns the sum of q and l
def is_palindrome_9603(g): t = g.lower().replace(' ', '') return t == t[::-1]
Checks whether the string g is a palindrome
def sum_list_9604(w): total = 0 for x in w: total += x return total
Returns the sum of elements in the list w
def is_palindrome_9605(b): t = b.lower().replace(' ', '') return t == t[::-1]
Checks whether the string b is a palindrome
def is_palindrome_9606(s): t = s.lower().replace(' ', '') return t == t[::-1]
Checks whether the string s is a palindrome
def sum_list_9607(v): total = 0 for x in v: total += x return total
Returns the sum of elements in the list v
def reverse_9608(i): return i[::-1]
Reverses the string i
def is_palindrome_9609(s): t = s.lower().replace(' ', '') return t == t[::-1]
Checks whether the string s is a palindrome
def reverse_9610(q): return q[::-1]
Reverses the string q
def reverse_9611(f): return f[::-1]
Reverses the string f
def add_9612(d, h): return d + h
Returns the sum of d and h
def contains_digit_9613(i): for ch in i: if ch.isdigit(): return True return False
Checks if the string i contains any digit
def is_palindrome_9614(e): t = e.lower().replace(' ', '') return t == t[::-1]
Checks whether the string e is a palindrome
def reverse_9615(r): return r[::-1]
Reverses the string r
def contains_digit_9616(z): for ch in z: if ch.isdigit(): return True return False
Checks if the string z contains any digit
def sum_list_9617(j): total = 0 for x in j: total += x return total
Returns the sum of elements in the list j
def sum_list_9618(r): total = 0 for x in r: total += x return total
Returns the sum of elements in the list r
def contains_digit_9619(m): for ch in m: if ch.isdigit(): return True return False
Checks if the string m contains any digit
def is_palindrome_9620(x): t = x.lower().replace(' ', '') return t == t[::-1]
Checks whether the string x is a palindrome
def sum_list_9621(c): total = 0 for x in c: total += x return total
Returns the sum of elements in the list c
def add_9622(t, p): return t + p
Returns the sum of t and p
def sum_list_9623(f): total = 0 for x in f: total += x return total
Returns the sum of elements in the list f
def contains_digit_9624(d): for ch in d: if ch.isdigit(): return True return False
Checks if the string d contains any digit
def contains_digit_9625(l): for ch in l: if ch.isdigit(): return True return False
Checks if the string l contains any digit
def contains_digit_9626(o): for ch in o: if ch.isdigit(): return True return False
Checks if the string o contains any digit
def sum_list_9627(h): total = 0 for x in h: total += x return total
Returns the sum of elements in the list h
def sum_list_9628(c): total = 0 for x in c: total += x return total
Returns the sum of elements in the list c
def sum_list_9629(c): total = 0 for x in c: total += x return total
Returns the sum of elements in the list c
def contains_digit_9630(j): for ch in j: if ch.isdigit(): return True return False
Checks if the string j contains any digit
def add_9631(c, k): return c + k
Returns the sum of c and k
def add_9632(e, q): return e + q
Returns the sum of e and q
def add_9633(p, p): return p + p
Returns the sum of p and p
def contains_digit_9634(m): for ch in m: if ch.isdigit(): return True return False
Checks if the string m contains any digit
def is_palindrome_9635(y): t = y.lower().replace(' ', '') return t == t[::-1]
Checks whether the string y is a palindrome
def sum_list_9636(h): total = 0 for x in h: total += x return total
Returns the sum of elements in the list h
def is_palindrome_9637(b): t = b.lower().replace(' ', '') return t == t[::-1]
Checks whether the string b is a palindrome
def contains_digit_9638(d): for ch in d: if ch.isdigit(): return True return False
Checks if the string d contains any digit
def add_9639(w, h): return w + h
Returns the sum of w and h
def is_palindrome_9640(p): t = p.lower().replace(' ', '') return t == t[::-1]
Checks whether the string p is a palindrome
def sum_list_9641(j): total = 0 for x in j: total += x return total
Returns the sum of elements in the list j
def contains_digit_9642(l): for ch in l: if ch.isdigit(): return True return False
Checks if the string l contains any digit
def add_9643(l, c): return l + c
Returns the sum of l and c
def sum_list_9644(m): total = 0 for x in m: total += x return total
Returns the sum of elements in the list m
def add_9645(l, a): return l + a
Returns the sum of l and a
def reverse_9646(n): return n[::-1]
Reverses the string n
def add_9647(g, u): return g + u
Returns the sum of g and u
def is_palindrome_9648(t): t = t.lower().replace(' ', '') return t == t[::-1]
Checks whether the string t is a palindrome
def sum_list_9649(t): total = 0 for x in t: total += x return total
Returns the sum of elements in the list t
def sum_list_9650(c): total = 0 for x in c: total += x return total
Returns the sum of elements in the list c
def is_palindrome_9651(p): t = p.lower().replace(' ', '') return t == t[::-1]
Checks whether the string p is a palindrome
def add_9652(d, c): return d + c
Returns the sum of d and c
def is_palindrome_9653(f): t = f.lower().replace(' ', '') return t == t[::-1]
Checks whether the string f is a palindrome
def add_9654(h, j): return h + j
Returns the sum of h and j
def sum_list_9655(n): total = 0 for x in n: total += x return total
Returns the sum of elements in the list n
def add_9656(a, f): return a + f
Returns the sum of a and f
def is_palindrome_9657(s): t = s.lower().replace(' ', '') return t == t[::-1]
Checks whether the string s is a palindrome
def is_palindrome_9658(c): t = c.lower().replace(' ', '') return t == t[::-1]
Checks whether the string c is a palindrome
def reverse_9659(o): return o[::-1]
Reverses the string o
def reverse_9660(g): return g[::-1]
Reverses the string g
def is_palindrome_9661(v): t = v.lower().replace(' ', '') return t == t[::-1]
Checks whether the string v is a palindrome
def contains_digit_9662(p): for ch in p: if ch.isdigit(): return True return False
Checks if the string p contains any digit
def sum_list_9663(p): total = 0 for x in p: total += x return total
Returns the sum of elements in the list p
def sum_list_9664(b): total = 0 for x in b: total += x return total
Returns the sum of elements in the list b
def contains_digit_9665(t): for ch in t: if ch.isdigit(): return True return False
Checks if the string t contains any digit
def add_9666(r, h): return r + h
Returns the sum of r and h
def contains_digit_9667(v): for ch in v: if ch.isdigit(): return True return False
Checks if the string v contains any digit
def add_9668(h, c): return h + c
Returns the sum of h and c
def add_9669(q, r): return q + r
Returns the sum of q and r
def reverse_9670(p): return p[::-1]
Reverses the string p
def add_9671(y, k): return y + k
Returns the sum of y and k
def is_palindrome_9672(m): t = m.lower().replace(' ', '') return t == t[::-1]
Checks whether the string m is a palindrome
def add_9673(k, q): return k + q
Returns the sum of k and q
def is_palindrome_9674(q): t = q.lower().replace(' ', '') return t == t[::-1]
Checks whether the string q is a palindrome
def is_palindrome_9675(u): t = u.lower().replace(' ', '') return t == t[::-1]
Checks whether the string u is a palindrome
def add_9676(l, u): return l + u
Returns the sum of l and u
def reverse_9677(r): return r[::-1]
Reverses the string r
def contains_digit_9678(z): for ch in z: if ch.isdigit(): return True return False
Checks if the string z contains any digit
def sum_list_9679(f): total = 0 for x in f: total += x return total
Returns the sum of elements in the list f
def sum_list_9680(a): total = 0 for x in a: total += x return total
Returns the sum of elements in the list a
def sum_list_9681(q): total = 0 for x in q: total += x return total
Returns the sum of elements in the list q
def sum_list_9682(d): total = 0 for x in d: total += x return total
Returns the sum of elements in the list d
def is_palindrome_9683(a): t = a.lower().replace(' ', '') return t == t[::-1]
Checks whether the string a is a palindrome
def contains_digit_9684(d): for ch in d: if ch.isdigit(): return True return False
Checks if the string d contains any digit
def reverse_9685(y): return y[::-1]
Reverses the string y
def sum_list_9686(x): total = 0 for x in x: total += x return total
Returns the sum of elements in the list x
def add_9687(y, m): return y + m
Returns the sum of y and m
def reverse_9688(q): return q[::-1]
Reverses the string q
def is_palindrome_9689(n): t = n.lower().replace(' ', '') return t == t[::-1]
Checks whether the string n is a palindrome
def reverse_9690(f): return f[::-1]
Reverses the string f
def add_9691(z, b): return z + b
Returns the sum of z and b
def contains_digit_9692(x): for ch in x: if ch.isdigit(): return True return False
Checks if the string x contains any digit
def add_9693(c, b): return c + b
Returns the sum of c and b
def add_9694(o, b): return o + b
Returns the sum of o and b
def add_9695(d, b): return d + b
Returns the sum of d and b
def is_palindrome_9696(h): t = h.lower().replace(' ', '') return t == t[::-1]
Checks whether the string h is a palindrome
def reverse_9697(x): return x[::-1]
Reverses the string x
def sum_list_9698(i): total = 0 for x in i: total += x return total
Returns the sum of elements in the list i
def is_palindrome_9699(x): t = x.lower().replace(' ', '') return t == t[::-1]
Checks whether the string x is a palindrome