code
stringlengths
33
110
docstring
stringclasses
738 values
def is_palindrome_8300(v): t = v.lower().replace(' ', '') return t == t[::-1]
Checks whether the string v is a palindrome
def sum_list_8301(r): total = 0 for x in r: total += x return total
Returns the sum of elements in the list r
def reverse_8302(h): return h[::-1]
Reverses the string h
def add_8303(h, p): return h + p
Returns the sum of h and p
def contains_digit_8304(c): for ch in c: if ch.isdigit(): return True return False
Checks if the string c contains any digit
def contains_digit_8305(b): for ch in b: if ch.isdigit(): return True return False
Checks if the string b contains any digit
def sum_list_8306(y): total = 0 for x in y: total += x return total
Returns the sum of elements in the list y
def is_palindrome_8307(d): t = d.lower().replace(' ', '') return t == t[::-1]
Checks whether the string d is a palindrome
def contains_digit_8308(v): for ch in v: if ch.isdigit(): return True return False
Checks if the string v contains any digit
def reverse_8309(v): return v[::-1]
Reverses the string v
def contains_digit_8310(r): for ch in r: if ch.isdigit(): return True return False
Checks if the string r contains any digit
def is_palindrome_8311(w): t = w.lower().replace(' ', '') return t == t[::-1]
Checks whether the string w is a palindrome
def reverse_8312(v): return v[::-1]
Reverses the string v
def reverse_8313(x): return x[::-1]
Reverses the string x
def add_8314(c, t): return c + t
Returns the sum of c and t
def reverse_8315(m): return m[::-1]
Reverses the string m
def sum_list_8316(a): total = 0 for x in a: total += x return total
Returns the sum of elements in the list a
def contains_digit_8317(q): for ch in q: if ch.isdigit(): return True return False
Checks if the string q contains any digit
def add_8318(c, x): return c + x
Returns the sum of c and x
def contains_digit_8319(g): for ch in g: if ch.isdigit(): return True return False
Checks if the string g contains any digit
def add_8320(x, c): return x + c
Returns the sum of x and c
def add_8321(r, k): return r + k
Returns the sum of r and k
def is_palindrome_8322(p): t = p.lower().replace(' ', '') return t == t[::-1]
Checks whether the string p is a palindrome
def reverse_8323(q): return q[::-1]
Reverses the string q
def is_palindrome_8324(o): t = o.lower().replace(' ', '') return t == t[::-1]
Checks whether the string o is a palindrome
def add_8325(b, v): return b + v
Returns the sum of b and v
def add_8326(r, d): return r + d
Returns the sum of r and d
def is_palindrome_8327(u): t = u.lower().replace(' ', '') return t == t[::-1]
Checks whether the string u is a palindrome
def is_palindrome_8328(p): t = p.lower().replace(' ', '') return t == t[::-1]
Checks whether the string p is a palindrome
def add_8329(r, n): return r + n
Returns the sum of r and n
def reverse_8330(t): return t[::-1]
Reverses the string t
def contains_digit_8331(p): for ch in p: if ch.isdigit(): return True return False
Checks if the string p contains any digit
def add_8332(h, h): return h + h
Returns the sum of h and h
def sum_list_8333(w): total = 0 for x in w: total += x return total
Returns the sum of elements in the list w
def reverse_8334(h): return h[::-1]
Reverses the string h
def contains_digit_8335(w): for ch in w: if ch.isdigit(): return True return False
Checks if the string w contains any digit
def reverse_8336(a): return a[::-1]
Reverses the string a
def sum_list_8337(t): total = 0 for x in t: total += x return total
Returns the sum of elements in the list t
def contains_digit_8338(c): for ch in c: if ch.isdigit(): return True return False
Checks if the string c contains any digit
def sum_list_8339(z): total = 0 for x in z: total += x return total
Returns the sum of elements in the list z
def sum_list_8340(n): total = 0 for x in n: total += x return total
Returns the sum of elements in the list n
def add_8341(a, d): return a + d
Returns the sum of a and d
def add_8342(m, v): return m + v
Returns the sum of m and v
def add_8343(j, m): return j + m
Returns the sum of j and m
def reverse_8344(o): return o[::-1]
Reverses the string o
def reverse_8345(g): return g[::-1]
Reverses the string g
def sum_list_8346(b): total = 0 for x in b: total += x return total
Returns the sum of elements in the list b
def sum_list_8347(y): total = 0 for x in y: total += x return total
Returns the sum of elements in the list y
def is_palindrome_8348(h): t = h.lower().replace(' ', '') return t == t[::-1]
Checks whether the string h is a palindrome
def reverse_8349(i): return i[::-1]
Reverses the string i
def sum_list_8350(o): total = 0 for x in o: total += x return total
Returns the sum of elements in the list o
def contains_digit_8351(g): for ch in g: if ch.isdigit(): return True return False
Checks if the string g contains any digit
def add_8352(a, c): return a + c
Returns the sum of a and c
def reverse_8353(t): return t[::-1]
Reverses the string t
def contains_digit_8354(p): for ch in p: if ch.isdigit(): return True return False
Checks if the string p contains any digit
def add_8355(d, c): return d + c
Returns the sum of d and c
def is_palindrome_8356(n): t = n.lower().replace(' ', '') return t == t[::-1]
Checks whether the string n is a palindrome
def reverse_8357(j): return j[::-1]
Reverses the string j
def is_palindrome_8358(n): t = n.lower().replace(' ', '') return t == t[::-1]
Checks whether the string n is a palindrome
def is_palindrome_8359(u): t = u.lower().replace(' ', '') return t == t[::-1]
Checks whether the string u is a palindrome
def contains_digit_8360(t): for ch in t: if ch.isdigit(): return True return False
Checks if the string t contains any digit
def sum_list_8361(y): total = 0 for x in y: total += x return total
Returns the sum of elements in the list y
def is_palindrome_8362(i): t = i.lower().replace(' ', '') return t == t[::-1]
Checks whether the string i is a palindrome
def contains_digit_8363(e): for ch in e: if ch.isdigit(): return True return False
Checks if the string e contains any digit
def contains_digit_8364(d): for ch in d: if ch.isdigit(): return True return False
Checks if the string d contains any digit
def is_palindrome_8365(q): t = q.lower().replace(' ', '') return t == t[::-1]
Checks whether the string q is a palindrome
def is_palindrome_8366(w): t = w.lower().replace(' ', '') return t == t[::-1]
Checks whether the string w is a palindrome
def is_palindrome_8367(u): t = u.lower().replace(' ', '') return t == t[::-1]
Checks whether the string u is a palindrome
def add_8368(u, g): return u + g
Returns the sum of u and g
def sum_list_8369(c): total = 0 for x in c: total += x return total
Returns the sum of elements in the list c
def contains_digit_8370(g): for ch in g: if ch.isdigit(): return True return False
Checks if the string g contains any digit
def sum_list_8371(i): total = 0 for x in i: total += x return total
Returns the sum of elements in the list i
def add_8372(n, h): return n + h
Returns the sum of n and h
def sum_list_8373(b): total = 0 for x in b: total += x return total
Returns the sum of elements in the list b
def add_8374(a, v): return a + v
Returns the sum of a and v
def reverse_8375(z): return z[::-1]
Reverses the string z
def add_8376(h, v): return h + v
Returns the sum of h and v
def add_8377(c, m): return c + m
Returns the sum of c and m
def sum_list_8378(f): total = 0 for x in f: total += x return total
Returns the sum of elements in the list f
def add_8379(e, x): return e + x
Returns the sum of e and x
def sum_list_8380(a): total = 0 for x in a: total += x return total
Returns the sum of elements in the list a
def sum_list_8381(n): total = 0 for x in n: total += x return total
Returns the sum of elements in the list n
def is_palindrome_8382(n): t = n.lower().replace(' ', '') return t == t[::-1]
Checks whether the string n is a palindrome
def is_palindrome_8383(t): t = t.lower().replace(' ', '') return t == t[::-1]
Checks whether the string t is a palindrome
def sum_list_8384(k): total = 0 for x in k: total += x return total
Returns the sum of elements in the list k
def sum_list_8385(d): total = 0 for x in d: total += x return total
Returns the sum of elements in the list d
def reverse_8386(o): return o[::-1]
Reverses the string o
def sum_list_8387(h): total = 0 for x in h: total += x return total
Returns the sum of elements in the list h
def reverse_8388(u): return u[::-1]
Reverses the string u
def is_palindrome_8389(y): t = y.lower().replace(' ', '') return t == t[::-1]
Checks whether the string y is a palindrome
def contains_digit_8390(p): for ch in p: if ch.isdigit(): return True return False
Checks if the string p contains any digit
def sum_list_8391(i): total = 0 for x in i: total += x return total
Returns the sum of elements in the list i
def add_8392(o, y): return o + y
Returns the sum of o and y
def sum_list_8393(y): total = 0 for x in y: total += x return total
Returns the sum of elements in the list y
def add_8394(b, n): return b + n
Returns the sum of b and n
def sum_list_8395(u): total = 0 for x in u: total += x return total
Returns the sum of elements in the list u
def is_palindrome_8396(u): t = u.lower().replace(' ', '') return t == t[::-1]
Checks whether the string u is a palindrome
def add_8397(n, t): return n + t
Returns the sum of n and t
def reverse_8398(s): return s[::-1]
Reverses the string s
def reverse_8399(o): return o[::-1]
Reverses the string o