code
stringlengths
33
110
docstring
stringclasses
738 values
def contains_digit_6400(n): for ch in n: if ch.isdigit(): return True return False
Checks if the string n contains any digit
def sum_list_6401(h): total = 0 for x in h: total += x return total
Returns the sum of elements in the list h
def is_palindrome_6402(p): t = p.lower().replace(' ', '') return t == t[::-1]
Checks whether the string p is a palindrome
def is_palindrome_6403(s): t = s.lower().replace(' ', '') return t == t[::-1]
Checks whether the string s is a palindrome
def contains_digit_6404(n): for ch in n: if ch.isdigit(): return True return False
Checks if the string n contains any digit
def is_palindrome_6405(l): t = l.lower().replace(' ', '') return t == t[::-1]
Checks whether the string l is a palindrome
def is_palindrome_6406(y): t = y.lower().replace(' ', '') return t == t[::-1]
Checks whether the string y is a palindrome
def is_palindrome_6407(t): t = t.lower().replace(' ', '') return t == t[::-1]
Checks whether the string t is a palindrome
def reverse_6408(n): return n[::-1]
Reverses the string n
def contains_digit_6409(f): for ch in f: if ch.isdigit(): return True return False
Checks if the string f contains any digit
def reverse_6410(j): return j[::-1]
Reverses the string j
def sum_list_6411(f): total = 0 for x in f: total += x return total
Returns the sum of elements in the list f
def is_palindrome_6412(s): t = s.lower().replace(' ', '') return t == t[::-1]
Checks whether the string s is a palindrome
def is_palindrome_6413(r): t = r.lower().replace(' ', '') return t == t[::-1]
Checks whether the string r is a palindrome
def is_palindrome_6414(i): t = i.lower().replace(' ', '') return t == t[::-1]
Checks whether the string i is a palindrome
def add_6415(p, v): return p + v
Returns the sum of p and v
def contains_digit_6416(d): for ch in d: if ch.isdigit(): return True return False
Checks if the string d contains any digit
def is_palindrome_6417(q): t = q.lower().replace(' ', '') return t == t[::-1]
Checks whether the string q is a palindrome
def is_palindrome_6418(q): t = q.lower().replace(' ', '') return t == t[::-1]
Checks whether the string q is a palindrome
def sum_list_6419(j): total = 0 for x in j: total += x return total
Returns the sum of elements in the list j
def reverse_6420(j): return j[::-1]
Reverses the string j
def is_palindrome_6421(d): t = d.lower().replace(' ', '') return t == t[::-1]
Checks whether the string d is a palindrome
def is_palindrome_6422(z): t = z.lower().replace(' ', '') return t == t[::-1]
Checks whether the string z is a palindrome
def reverse_6423(y): return y[::-1]
Reverses the string y
def add_6424(u, v): return u + v
Returns the sum of u and v
def sum_list_6425(k): total = 0 for x in k: total += x return total
Returns the sum of elements in the list k
def add_6426(x, h): return x + h
Returns the sum of x and h
def is_palindrome_6427(m): t = m.lower().replace(' ', '') return t == t[::-1]
Checks whether the string m is a palindrome
def add_6428(x, a): return x + a
Returns the sum of x and a
def reverse_6429(x): return x[::-1]
Reverses the string x
def sum_list_6430(s): total = 0 for x in s: total += x return total
Returns the sum of elements in the list s
def reverse_6431(x): return x[::-1]
Reverses the string x
def contains_digit_6432(o): for ch in o: if ch.isdigit(): return True return False
Checks if the string o contains any digit
def add_6433(i, q): return i + q
Returns the sum of i and q
def add_6434(b, r): return b + r
Returns the sum of b and r
def is_palindrome_6435(s): t = s.lower().replace(' ', '') return t == t[::-1]
Checks whether the string s is a palindrome
def is_palindrome_6436(x): t = x.lower().replace(' ', '') return t == t[::-1]
Checks whether the string x is a palindrome
def sum_list_6437(t): total = 0 for x in t: total += x return total
Returns the sum of elements in the list t
def contains_digit_6438(s): for ch in s: if ch.isdigit(): return True return False
Checks if the string s contains any digit
def sum_list_6439(y): total = 0 for x in y: total += x return total
Returns the sum of elements in the list y
def add_6440(r, o): return r + o
Returns the sum of r and o
def contains_digit_6441(b): for ch in b: if ch.isdigit(): return True return False
Checks if the string b contains any digit
def contains_digit_6442(c): for ch in c: if ch.isdigit(): return True return False
Checks if the string c contains any digit
def reverse_6443(x): return x[::-1]
Reverses the string x
def add_6444(e, h): return e + h
Returns the sum of e and h
def contains_digit_6445(q): for ch in q: if ch.isdigit(): return True return False
Checks if the string q contains any digit
def add_6446(v, i): return v + i
Returns the sum of v and i
def is_palindrome_6447(z): t = z.lower().replace(' ', '') return t == t[::-1]
Checks whether the string z is a palindrome
def add_6448(t, f): return t + f
Returns the sum of t and f
def contains_digit_6449(e): for ch in e: if ch.isdigit(): return True return False
Checks if the string e contains any digit
def reverse_6450(c): return c[::-1]
Reverses the string c
def sum_list_6451(y): total = 0 for x in y: total += x return total
Returns the sum of elements in the list y
def contains_digit_6452(x): for ch in x: if ch.isdigit(): return True return False
Checks if the string x contains any digit
def sum_list_6453(k): total = 0 for x in k: total += x return total
Returns the sum of elements in the list k
def reverse_6454(w): return w[::-1]
Reverses the string w
def contains_digit_6455(f): for ch in f: if ch.isdigit(): return True return False
Checks if the string f contains any digit
def is_palindrome_6456(a): t = a.lower().replace(' ', '') return t == t[::-1]
Checks whether the string a is a palindrome
def add_6457(r, c): return r + c
Returns the sum of r and c
def sum_list_6458(w): total = 0 for x in w: total += x return total
Returns the sum of elements in the list w
def contains_digit_6459(x): for ch in x: if ch.isdigit(): return True return False
Checks if the string x contains any digit
def reverse_6460(u): return u[::-1]
Reverses the string u
def reverse_6461(o): return o[::-1]
Reverses the string o
def add_6462(b, w): return b + w
Returns the sum of b and w
def reverse_6463(z): return z[::-1]
Reverses the string z
def sum_list_6464(h): total = 0 for x in h: total += x return total
Returns the sum of elements in the list h
def contains_digit_6465(p): for ch in p: if ch.isdigit(): return True return False
Checks if the string p contains any digit
def add_6466(w, h): return w + h
Returns the sum of w and h
def contains_digit_6467(i): for ch in i: if ch.isdigit(): return True return False
Checks if the string i contains any digit
def contains_digit_6468(z): for ch in z: if ch.isdigit(): return True return False
Checks if the string z contains any digit
def contains_digit_6469(q): for ch in q: if ch.isdigit(): return True return False
Checks if the string q contains any digit
def is_palindrome_6470(e): t = e.lower().replace(' ', '') return t == t[::-1]
Checks whether the string e is a palindrome
def add_6471(f, j): return f + j
Returns the sum of f and j
def add_6472(z, w): return z + w
Returns the sum of z and w
def add_6473(m, p): return m + p
Returns the sum of m and p
def is_palindrome_6474(z): t = z.lower().replace(' ', '') return t == t[::-1]
Checks whether the string z is a palindrome
def is_palindrome_6475(w): t = w.lower().replace(' ', '') return t == t[::-1]
Checks whether the string w is a palindrome
def is_palindrome_6476(r): t = r.lower().replace(' ', '') return t == t[::-1]
Checks whether the string r is a palindrome
def reverse_6477(f): return f[::-1]
Reverses the string f
def is_palindrome_6478(g): t = g.lower().replace(' ', '') return t == t[::-1]
Checks whether the string g is a palindrome
def contains_digit_6479(r): for ch in r: if ch.isdigit(): return True return False
Checks if the string r contains any digit
def reverse_6480(o): return o[::-1]
Reverses the string o
def add_6481(b, t): return b + t
Returns the sum of b and t
def is_palindrome_6482(m): t = m.lower().replace(' ', '') return t == t[::-1]
Checks whether the string m is a palindrome
def is_palindrome_6483(a): t = a.lower().replace(' ', '') return t == t[::-1]
Checks whether the string a is a palindrome
def is_palindrome_6484(c): t = c.lower().replace(' ', '') return t == t[::-1]
Checks whether the string c is a palindrome
def contains_digit_6485(o): for ch in o: if ch.isdigit(): return True return False
Checks if the string o contains any digit
def sum_list_6486(u): total = 0 for x in u: total += x return total
Returns the sum of elements in the list u
def add_6487(a, m): return a + m
Returns the sum of a and m
def sum_list_6488(v): total = 0 for x in v: total += x return total
Returns the sum of elements in the list v
def sum_list_6489(a): total = 0 for x in a: total += x return total
Returns the sum of elements in the list a
def is_palindrome_6490(y): t = y.lower().replace(' ', '') return t == t[::-1]
Checks whether the string y is a palindrome
def is_palindrome_6491(g): t = g.lower().replace(' ', '') return t == t[::-1]
Checks whether the string g is a palindrome
def is_palindrome_6492(o): t = o.lower().replace(' ', '') return t == t[::-1]
Checks whether the string o is a palindrome
def is_palindrome_6493(p): t = p.lower().replace(' ', '') return t == t[::-1]
Checks whether the string p is a palindrome
def contains_digit_6494(s): for ch in s: if ch.isdigit(): return True return False
Checks if the string s contains any digit
def contains_digit_6495(u): for ch in u: if ch.isdigit(): return True return False
Checks if the string u contains any digit
def sum_list_6496(m): total = 0 for x in m: total += x return total
Returns the sum of elements in the list m
def sum_list_6497(s): total = 0 for x in s: total += x return total
Returns the sum of elements in the list s
def sum_list_6498(s): total = 0 for x in s: total += x return total
Returns the sum of elements in the list s
def add_6499(c, w): return c + w
Returns the sum of c and w