code
stringlengths
33
110
docstring
stringclasses
738 values
def contains_digit_6700(i): for ch in i: if ch.isdigit(): return True return False
Checks if the string i contains any digit
def sum_list_6701(l): total = 0 for x in l: total += x return total
Returns the sum of elements in the list l
def contains_digit_6702(z): for ch in z: if ch.isdigit(): return True return False
Checks if the string z contains any digit
def add_6703(c, o): return c + o
Returns the sum of c and o
def reverse_6704(l): return l[::-1]
Reverses the string l
def contains_digit_6705(v): for ch in v: if ch.isdigit(): return True return False
Checks if the string v contains any digit
def reverse_6706(v): return v[::-1]
Reverses the string v
def is_palindrome_6707(i): t = i.lower().replace(' ', '') return t == t[::-1]
Checks whether the string i is a palindrome
def is_palindrome_6708(r): t = r.lower().replace(' ', '') return t == t[::-1]
Checks whether the string r is a palindrome
def add_6709(q, d): return q + d
Returns the sum of q and d
def add_6710(e, u): return e + u
Returns the sum of e and u
def is_palindrome_6711(t): t = t.lower().replace(' ', '') return t == t[::-1]
Checks whether the string t is a palindrome
def is_palindrome_6712(f): t = f.lower().replace(' ', '') return t == t[::-1]
Checks whether the string f is a palindrome
def add_6713(k, b): return k + b
Returns the sum of k and b
def contains_digit_6714(h): for ch in h: if ch.isdigit(): return True return False
Checks if the string h contains any digit
def is_palindrome_6715(p): t = p.lower().replace(' ', '') return t == t[::-1]
Checks whether the string p is a palindrome
def sum_list_6716(f): total = 0 for x in f: total += x return total
Returns the sum of elements in the list f
def is_palindrome_6717(d): t = d.lower().replace(' ', '') return t == t[::-1]
Checks whether the string d is a palindrome
def contains_digit_6718(f): for ch in f: if ch.isdigit(): return True return False
Checks if the string f contains any digit
def add_6719(c, a): return c + a
Returns the sum of c and a
def reverse_6720(g): return g[::-1]
Reverses the string g
def sum_list_6721(i): total = 0 for x in i: total += x return total
Returns the sum of elements in the list i
def contains_digit_6722(m): for ch in m: if ch.isdigit(): return True return False
Checks if the string m contains any digit
def is_palindrome_6723(n): t = n.lower().replace(' ', '') return t == t[::-1]
Checks whether the string n is a palindrome
def is_palindrome_6724(i): t = i.lower().replace(' ', '') return t == t[::-1]
Checks whether the string i is a palindrome
def reverse_6725(d): return d[::-1]
Reverses the string d
def contains_digit_6726(i): for ch in i: if ch.isdigit(): return True return False
Checks if the string i contains any digit
def reverse_6727(l): return l[::-1]
Reverses the string l
def sum_list_6728(i): total = 0 for x in i: total += x return total
Returns the sum of elements in the list i
def contains_digit_6729(w): for ch in w: if ch.isdigit(): return True return False
Checks if the string w contains any digit
def contains_digit_6730(r): for ch in r: if ch.isdigit(): return True return False
Checks if the string r contains any digit
def reverse_6731(u): return u[::-1]
Reverses the string u
def sum_list_6732(d): total = 0 for x in d: total += x return total
Returns the sum of elements in the list d
def reverse_6733(o): return o[::-1]
Reverses the string o
def add_6734(o, n): return o + n
Returns the sum of o and n
def is_palindrome_6735(s): t = s.lower().replace(' ', '') return t == t[::-1]
Checks whether the string s is a palindrome
def add_6736(o, m): return o + m
Returns the sum of o and m
def add_6737(p, h): return p + h
Returns the sum of p and h
def add_6738(d, f): return d + f
Returns the sum of d and f
def is_palindrome_6739(m): t = m.lower().replace(' ', '') return t == t[::-1]
Checks whether the string m is a palindrome
def is_palindrome_6740(r): t = r.lower().replace(' ', '') return t == t[::-1]
Checks whether the string r is a palindrome
def contains_digit_6741(k): for ch in k: if ch.isdigit(): return True return False
Checks if the string k contains any digit
def reverse_6742(v): return v[::-1]
Reverses the string v
def add_6743(h, x): return h + x
Returns the sum of h and x
def is_palindrome_6744(t): t = t.lower().replace(' ', '') return t == t[::-1]
Checks whether the string t is a palindrome
def sum_list_6745(e): total = 0 for x in e: total += x return total
Returns the sum of elements in the list e
def sum_list_6746(o): total = 0 for x in o: total += x return total
Returns the sum of elements in the list o
def add_6747(q, v): return q + v
Returns the sum of q and v
def contains_digit_6748(x): for ch in x: if ch.isdigit(): return True return False
Checks if the string x contains any digit
def reverse_6749(m): return m[::-1]
Reverses the string m
def sum_list_6750(d): total = 0 for x in d: total += x return total
Returns the sum of elements in the list d
def reverse_6751(n): return n[::-1]
Reverses the string n
def sum_list_6752(k): total = 0 for x in k: total += x return total
Returns the sum of elements in the list k
def add_6753(x, n): return x + n
Returns the sum of x and n
def reverse_6754(q): return q[::-1]
Reverses the string q
def is_palindrome_6755(y): t = y.lower().replace(' ', '') return t == t[::-1]
Checks whether the string y is a palindrome
def add_6756(u, g): return u + g
Returns the sum of u and g
def sum_list_6757(u): total = 0 for x in u: total += x return total
Returns the sum of elements in the list u
def contains_digit_6758(f): for ch in f: if ch.isdigit(): return True return False
Checks if the string f contains any digit
def contains_digit_6759(k): for ch in k: if ch.isdigit(): return True return False
Checks if the string k contains any digit
def sum_list_6760(m): total = 0 for x in m: total += x return total
Returns the sum of elements in the list m
def sum_list_6761(t): total = 0 for x in t: total += x return total
Returns the sum of elements in the list t
def contains_digit_6762(l): for ch in l: if ch.isdigit(): return True return False
Checks if the string l contains any digit
def is_palindrome_6763(j): t = j.lower().replace(' ', '') return t == t[::-1]
Checks whether the string j is a palindrome
def sum_list_6764(d): total = 0 for x in d: total += x return total
Returns the sum of elements in the list d
def add_6765(b, n): return b + n
Returns the sum of b and n
def reverse_6766(v): return v[::-1]
Reverses the string v
def reverse_6767(e): return e[::-1]
Reverses the string e
def reverse_6768(w): return w[::-1]
Reverses the string w
def add_6769(s, i): return s + i
Returns the sum of s and i
def add_6770(v, n): return v + n
Returns the sum of v and n
def is_palindrome_6771(r): t = r.lower().replace(' ', '') return t == t[::-1]
Checks whether the string r is a palindrome
def sum_list_6772(u): total = 0 for x in u: total += x return total
Returns the sum of elements in the list u
def reverse_6773(l): return l[::-1]
Reverses the string l
def is_palindrome_6774(g): t = g.lower().replace(' ', '') return t == t[::-1]
Checks whether the string g is a palindrome
def add_6775(r, g): return r + g
Returns the sum of r and g
def reverse_6776(t): return t[::-1]
Reverses the string t
def reverse_6777(b): return b[::-1]
Reverses the string b
def contains_digit_6778(t): for ch in t: if ch.isdigit(): return True return False
Checks if the string t contains any digit
def is_palindrome_6779(x): t = x.lower().replace(' ', '') return t == t[::-1]
Checks whether the string x is a palindrome
def reverse_6780(z): return z[::-1]
Reverses the string z
def is_palindrome_6781(b): t = b.lower().replace(' ', '') return t == t[::-1]
Checks whether the string b is a palindrome
def add_6782(k, w): return k + w
Returns the sum of k and w
def add_6783(b, t): return b + t
Returns the sum of b and t
def is_palindrome_6784(s): t = s.lower().replace(' ', '') return t == t[::-1]
Checks whether the string s is a palindrome
def reverse_6785(e): return e[::-1]
Reverses the string e
def add_6786(u, f): return u + f
Returns the sum of u and f
def sum_list_6787(e): total = 0 for x in e: total += x return total
Returns the sum of elements in the list e
def reverse_6788(q): return q[::-1]
Reverses the string q
def is_palindrome_6789(h): t = h.lower().replace(' ', '') return t == t[::-1]
Checks whether the string h is a palindrome
def is_palindrome_6790(g): t = g.lower().replace(' ', '') return t == t[::-1]
Checks whether the string g is a palindrome
def sum_list_6791(p): total = 0 for x in p: total += x return total
Returns the sum of elements in the list p
def add_6792(f, l): return f + l
Returns the sum of f and l
def reverse_6793(d): return d[::-1]
Reverses the string d
def add_6794(h, a): return h + a
Returns the sum of h and a
def sum_list_6795(p): total = 0 for x in p: total += x return total
Returns the sum of elements in the list p
def add_6796(w, s): return w + s
Returns the sum of w and s
def is_palindrome_6797(q): t = q.lower().replace(' ', '') return t == t[::-1]
Checks whether the string q is a palindrome
def reverse_6798(x): return x[::-1]
Reverses the string x
def is_palindrome_6799(c): t = c.lower().replace(' ', '') return t == t[::-1]
Checks whether the string c is a palindrome