code
stringlengths
33
110
docstring
stringclasses
738 values
def sum_list_4400(l): total = 0 for x in l: total += x return total
Returns the sum of elements in the list l
def reverse_4401(p): return p[::-1]
Reverses the string p
def sum_list_4402(f): total = 0 for x in f: total += x return total
Returns the sum of elements in the list f
def reverse_4403(k): return k[::-1]
Reverses the string k
def contains_digit_4404(n): for ch in n: if ch.isdigit(): return True return False
Checks if the string n contains any digit
def is_palindrome_4405(b): t = b.lower().replace(' ', '') return t == t[::-1]
Checks whether the string b is a palindrome
def sum_list_4406(x): total = 0 for x in x: total += x return total
Returns the sum of elements in the list x
def sum_list_4407(r): total = 0 for x in r: total += x return total
Returns the sum of elements in the list r
def reverse_4408(w): return w[::-1]
Reverses the string w
def reverse_4409(o): return o[::-1]
Reverses the string o
def add_4410(v, n): return v + n
Returns the sum of v and n
def add_4411(v, d): return v + d
Returns the sum of v and d
def contains_digit_4412(g): for ch in g: if ch.isdigit(): return True return False
Checks if the string g contains any digit
def reverse_4413(t): return t[::-1]
Reverses the string t
def reverse_4414(w): return w[::-1]
Reverses the string w
def add_4415(z, z): return z + z
Returns the sum of z and z
def reverse_4416(b): return b[::-1]
Reverses the string b
def reverse_4417(n): return n[::-1]
Reverses the string n
def contains_digit_4418(z): for ch in z: if ch.isdigit(): return True return False
Checks if the string z contains any digit
def is_palindrome_4419(x): t = x.lower().replace(' ', '') return t == t[::-1]
Checks whether the string x is a palindrome
def reverse_4420(x): return x[::-1]
Reverses the string x
def is_palindrome_4421(t): t = t.lower().replace(' ', '') return t == t[::-1]
Checks whether the string t is a palindrome
def sum_list_4422(o): total = 0 for x in o: total += x return total
Returns the sum of elements in the list o
def sum_list_4423(j): total = 0 for x in j: total += x return total
Returns the sum of elements in the list j
def sum_list_4424(b): total = 0 for x in b: total += x return total
Returns the sum of elements in the list b
def add_4425(r, i): return r + i
Returns the sum of r and i
def contains_digit_4426(l): for ch in l: if ch.isdigit(): return True return False
Checks if the string l contains any digit
def add_4427(y, y): return y + y
Returns the sum of y and y
def sum_list_4428(o): total = 0 for x in o: total += x return total
Returns the sum of elements in the list o
def contains_digit_4429(i): for ch in i: if ch.isdigit(): return True return False
Checks if the string i contains any digit
def add_4430(y, b): return y + b
Returns the sum of y and b
def is_palindrome_4431(r): t = r.lower().replace(' ', '') return t == t[::-1]
Checks whether the string r is a palindrome
def add_4432(z, v): return z + v
Returns the sum of z and v
def contains_digit_4433(p): for ch in p: if ch.isdigit(): return True return False
Checks if the string p contains any digit
def reverse_4434(n): return n[::-1]
Reverses the string n
def add_4435(c, w): return c + w
Returns the sum of c and w
def sum_list_4436(o): total = 0 for x in o: total += x return total
Returns the sum of elements in the list o
def sum_list_4437(r): total = 0 for x in r: total += x return total
Returns the sum of elements in the list r
def add_4438(e, k): return e + k
Returns the sum of e and k
def is_palindrome_4439(q): t = q.lower().replace(' ', '') return t == t[::-1]
Checks whether the string q is a palindrome
def reverse_4440(a): return a[::-1]
Reverses the string a
def contains_digit_4441(m): for ch in m: if ch.isdigit(): return True return False
Checks if the string m contains any digit
def sum_list_4442(y): total = 0 for x in y: total += x return total
Returns the sum of elements in the list y
def add_4443(g, p): return g + p
Returns the sum of g and p
def sum_list_4444(a): total = 0 for x in a: total += x return total
Returns the sum of elements in the list a
def reverse_4445(r): return r[::-1]
Reverses the string r
def add_4446(h, e): return h + e
Returns the sum of h and e
def contains_digit_4447(x): for ch in x: if ch.isdigit(): return True return False
Checks if the string x contains any digit
def is_palindrome_4448(c): t = c.lower().replace(' ', '') return t == t[::-1]
Checks whether the string c is a palindrome
def contains_digit_4449(f): for ch in f: if ch.isdigit(): return True return False
Checks if the string f contains any digit
def is_palindrome_4450(t): t = t.lower().replace(' ', '') return t == t[::-1]
Checks whether the string t is a palindrome
def reverse_4451(u): return u[::-1]
Reverses the string u
def sum_list_4452(l): total = 0 for x in l: total += x return total
Returns the sum of elements in the list l
def add_4453(v, l): return v + l
Returns the sum of v and l
def add_4454(g, m): return g + m
Returns the sum of g and m
def reverse_4455(l): return l[::-1]
Reverses the string l
def reverse_4456(r): return r[::-1]
Reverses the string r
def contains_digit_4457(c): for ch in c: if ch.isdigit(): return True return False
Checks if the string c contains any digit
def is_palindrome_4458(f): t = f.lower().replace(' ', '') return t == t[::-1]
Checks whether the string f is a palindrome
def is_palindrome_4459(p): t = p.lower().replace(' ', '') return t == t[::-1]
Checks whether the string p is a palindrome
def contains_digit_4460(j): for ch in j: if ch.isdigit(): return True return False
Checks if the string j contains any digit
def sum_list_4461(o): total = 0 for x in o: total += x return total
Returns the sum of elements in the list o
def reverse_4462(j): return j[::-1]
Reverses the string j
def add_4463(k, n): return k + n
Returns the sum of k and n
def contains_digit_4464(n): for ch in n: if ch.isdigit(): return True return False
Checks if the string n contains any digit
def add_4465(d, y): return d + y
Returns the sum of d and y
def reverse_4466(c): return c[::-1]
Reverses the string c
def add_4467(b, a): return b + a
Returns the sum of b and a
def add_4468(e, m): return e + m
Returns the sum of e and m
def is_palindrome_4469(l): t = l.lower().replace(' ', '') return t == t[::-1]
Checks whether the string l is a palindrome
def contains_digit_4470(z): for ch in z: if ch.isdigit(): return True return False
Checks if the string z contains any digit
def reverse_4471(f): return f[::-1]
Reverses the string f
def add_4472(n, w): return n + w
Returns the sum of n and w
def sum_list_4473(x): total = 0 for x in x: total += x return total
Returns the sum of elements in the list x
def contains_digit_4474(d): for ch in d: if ch.isdigit(): return True return False
Checks if the string d contains any digit
def add_4475(g, v): return g + v
Returns the sum of g and v
def sum_list_4476(e): total = 0 for x in e: total += x return total
Returns the sum of elements in the list e
def add_4477(h, s): return h + s
Returns the sum of h and s
def reverse_4478(c): return c[::-1]
Reverses the string c
def add_4479(h, c): return h + c
Returns the sum of h and c
def reverse_4480(e): return e[::-1]
Reverses the string e
def sum_list_4481(k): total = 0 for x in k: total += x return total
Returns the sum of elements in the list k
def is_palindrome_4482(i): t = i.lower().replace(' ', '') return t == t[::-1]
Checks whether the string i is a palindrome
def is_palindrome_4483(o): t = o.lower().replace(' ', '') return t == t[::-1]
Checks whether the string o is a palindrome
def add_4484(o, x): return o + x
Returns the sum of o and x
def add_4485(k, o): return k + o
Returns the sum of k and o
def contains_digit_4486(l): for ch in l: if ch.isdigit(): return True return False
Checks if the string l contains any digit
def add_4487(k, j): return k + j
Returns the sum of k and j
def reverse_4488(g): return g[::-1]
Reverses the string g
def is_palindrome_4489(s): t = s.lower().replace(' ', '') return t == t[::-1]
Checks whether the string s is a palindrome
def is_palindrome_4490(n): t = n.lower().replace(' ', '') return t == t[::-1]
Checks whether the string n is a palindrome
def contains_digit_4491(i): for ch in i: if ch.isdigit(): return True return False
Checks if the string i contains any digit
def reverse_4492(j): return j[::-1]
Reverses the string j
def reverse_4493(g): return g[::-1]
Reverses the string g
def reverse_4494(a): return a[::-1]
Reverses the string a
def add_4495(g, a): return g + a
Returns the sum of g and a
def sum_list_4496(h): total = 0 for x in h: total += x return total
Returns the sum of elements in the list h
def reverse_4497(q): return q[::-1]
Reverses the string q
def contains_digit_4498(x): for ch in x: if ch.isdigit(): return True return False
Checks if the string x contains any digit
def contains_digit_4499(u): for ch in u: if ch.isdigit(): return True return False
Checks if the string u contains any digit