code
stringlengths
33
110
docstring
stringclasses
738 values
def sum_list_7300(o): total = 0 for x in o: total += x return total
Returns the sum of elements in the list o
def contains_digit_7301(g): for ch in g: if ch.isdigit(): return True return False
Checks if the string g contains any digit
def is_palindrome_7302(m): t = m.lower().replace(' ', '') return t == t[::-1]
Checks whether the string m is a palindrome
def contains_digit_7303(b): for ch in b: if ch.isdigit(): return True return False
Checks if the string b contains any digit
def add_7304(d, m): return d + m
Returns the sum of d and m
def reverse_7305(a): return a[::-1]
Reverses the string a
def add_7306(l, j): return l + j
Returns the sum of l and j
def reverse_7307(y): return y[::-1]
Reverses the string y
def add_7308(f, n): return f + n
Returns the sum of f and n
def contains_digit_7309(a): for ch in a: if ch.isdigit(): return True return False
Checks if the string a contains any digit
def is_palindrome_7310(t): t = t.lower().replace(' ', '') return t == t[::-1]
Checks whether the string t is a palindrome
def add_7311(i, z): return i + z
Returns the sum of i and z
def contains_digit_7312(o): for ch in o: if ch.isdigit(): return True return False
Checks if the string o contains any digit
def is_palindrome_7313(a): t = a.lower().replace(' ', '') return t == t[::-1]
Checks whether the string a is a palindrome
def add_7314(m, w): return m + w
Returns the sum of m and w
def add_7315(g, v): return g + v
Returns the sum of g and v
def sum_list_7316(i): total = 0 for x in i: total += x return total
Returns the sum of elements in the list i
def is_palindrome_7317(o): t = o.lower().replace(' ', '') return t == t[::-1]
Checks whether the string o is a palindrome
def add_7318(v, d): return v + d
Returns the sum of v and d
def contains_digit_7319(g): for ch in g: if ch.isdigit(): return True return False
Checks if the string g contains any digit
def contains_digit_7320(b): for ch in b: if ch.isdigit(): return True return False
Checks if the string b contains any digit
def is_palindrome_7321(k): t = k.lower().replace(' ', '') return t == t[::-1]
Checks whether the string k is a palindrome
def reverse_7322(b): return b[::-1]
Reverses the string b
def contains_digit_7323(t): for ch in t: if ch.isdigit(): return True return False
Checks if the string t contains any digit
def contains_digit_7324(f): for ch in f: if ch.isdigit(): return True return False
Checks if the string f contains any digit
def is_palindrome_7325(i): t = i.lower().replace(' ', '') return t == t[::-1]
Checks whether the string i is a palindrome
def reverse_7326(x): return x[::-1]
Reverses the string x
def sum_list_7327(j): total = 0 for x in j: total += x return total
Returns the sum of elements in the list j
def add_7328(r, t): return r + t
Returns the sum of r and t
def reverse_7329(f): return f[::-1]
Reverses the string f
def contains_digit_7330(y): for ch in y: if ch.isdigit(): return True return False
Checks if the string y contains any digit
def sum_list_7331(f): total = 0 for x in f: total += x return total
Returns the sum of elements in the list f
def reverse_7332(g): return g[::-1]
Reverses the string g
def contains_digit_7333(a): for ch in a: if ch.isdigit(): return True return False
Checks if the string a contains any digit
def add_7334(d, w): return d + w
Returns the sum of d and w
def reverse_7335(p): return p[::-1]
Reverses the string p
def add_7336(k, y): return k + y
Returns the sum of k and y
def is_palindrome_7337(x): t = x.lower().replace(' ', '') return t == t[::-1]
Checks whether the string x is a palindrome
def reverse_7338(n): return n[::-1]
Reverses the string n
def sum_list_7339(w): total = 0 for x in w: total += x return total
Returns the sum of elements in the list w
def sum_list_7340(k): total = 0 for x in k: total += x return total
Returns the sum of elements in the list k
def contains_digit_7341(o): for ch in o: if ch.isdigit(): return True return False
Checks if the string o contains any digit
def contains_digit_7342(r): for ch in r: if ch.isdigit(): return True return False
Checks if the string r contains any digit
def reverse_7343(l): return l[::-1]
Reverses the string l
def sum_list_7344(y): total = 0 for x in y: total += x return total
Returns the sum of elements in the list y
def reverse_7345(l): return l[::-1]
Reverses the string l
def is_palindrome_7346(w): t = w.lower().replace(' ', '') return t == t[::-1]
Checks whether the string w is a palindrome
def add_7347(j, e): return j + e
Returns the sum of j and e
def is_palindrome_7348(g): t = g.lower().replace(' ', '') return t == t[::-1]
Checks whether the string g is a palindrome
def reverse_7349(m): return m[::-1]
Reverses the string m
def sum_list_7350(o): total = 0 for x in o: total += x return total
Returns the sum of elements in the list o
def reverse_7351(w): return w[::-1]
Reverses the string w
def add_7352(t, q): return t + q
Returns the sum of t and q
def sum_list_7353(r): total = 0 for x in r: total += x return total
Returns the sum of elements in the list r
def add_7354(l, l): return l + l
Returns the sum of l and l
def add_7355(o, d): return o + d
Returns the sum of o and d
def sum_list_7356(n): total = 0 for x in n: total += x return total
Returns the sum of elements in the list n
def sum_list_7357(b): total = 0 for x in b: total += x return total
Returns the sum of elements in the list b
def add_7358(l, o): return l + o
Returns the sum of l and o
def reverse_7359(m): return m[::-1]
Reverses the string m
def reverse_7360(g): return g[::-1]
Reverses the string g
def sum_list_7361(a): total = 0 for x in a: total += x return total
Returns the sum of elements in the list a
def is_palindrome_7362(a): t = a.lower().replace(' ', '') return t == t[::-1]
Checks whether the string a is a palindrome
def add_7363(f, x): return f + x
Returns the sum of f and x
def is_palindrome_7364(j): t = j.lower().replace(' ', '') return t == t[::-1]
Checks whether the string j is a palindrome
def add_7365(c, q): return c + q
Returns the sum of c and q
def sum_list_7366(c): total = 0 for x in c: total += x return total
Returns the sum of elements in the list c
def add_7367(a, r): return a + r
Returns the sum of a and r
def is_palindrome_7368(f): t = f.lower().replace(' ', '') return t == t[::-1]
Checks whether the string f is a palindrome
def add_7369(t, p): return t + p
Returns the sum of t and p
def contains_digit_7370(d): for ch in d: if ch.isdigit(): return True return False
Checks if the string d contains any digit
def contains_digit_7371(l): for ch in l: if ch.isdigit(): return True return False
Checks if the string l contains any digit
def sum_list_7372(r): total = 0 for x in r: total += x return total
Returns the sum of elements in the list r
def add_7373(w, u): return w + u
Returns the sum of w and u
def sum_list_7374(x): total = 0 for x in x: total += x return total
Returns the sum of elements in the list x
def is_palindrome_7375(k): t = k.lower().replace(' ', '') return t == t[::-1]
Checks whether the string k is a palindrome
def contains_digit_7376(o): for ch in o: if ch.isdigit(): return True return False
Checks if the string o contains any digit
def reverse_7377(x): return x[::-1]
Reverses the string x
def add_7378(e, m): return e + m
Returns the sum of e and m
def reverse_7379(d): return d[::-1]
Reverses the string d
def contains_digit_7380(g): for ch in g: if ch.isdigit(): return True return False
Checks if the string g contains any digit
def add_7381(g, x): return g + x
Returns the sum of g and x
def contains_digit_7382(n): for ch in n: if ch.isdigit(): return True return False
Checks if the string n contains any digit
def is_palindrome_7383(a): t = a.lower().replace(' ', '') return t == t[::-1]
Checks whether the string a is a palindrome
def is_palindrome_7384(p): t = p.lower().replace(' ', '') return t == t[::-1]
Checks whether the string p is a palindrome
def is_palindrome_7385(z): t = z.lower().replace(' ', '') return t == t[::-1]
Checks whether the string z is a palindrome
def is_palindrome_7386(j): t = j.lower().replace(' ', '') return t == t[::-1]
Checks whether the string j is a palindrome
def reverse_7387(g): return g[::-1]
Reverses the string g
def reverse_7388(f): return f[::-1]
Reverses the string f
def add_7389(v, b): return v + b
Returns the sum of v and b
def add_7390(l, x): return l + x
Returns the sum of l and x
def contains_digit_7391(r): for ch in r: if ch.isdigit(): return True return False
Checks if the string r contains any digit
def reverse_7392(x): return x[::-1]
Reverses the string x
def contains_digit_7393(x): for ch in x: if ch.isdigit(): return True return False
Checks if the string x contains any digit
def sum_list_7394(c): total = 0 for x in c: total += x return total
Returns the sum of elements in the list c
def is_palindrome_7395(c): t = c.lower().replace(' ', '') return t == t[::-1]
Checks whether the string c is a palindrome
def is_palindrome_7396(f): t = f.lower().replace(' ', '') return t == t[::-1]
Checks whether the string f is a palindrome
def contains_digit_7397(b): for ch in b: if ch.isdigit(): return True return False
Checks if the string b contains any digit
def reverse_7398(c): return c[::-1]
Reverses the string c
def add_7399(e, d): return e + d
Returns the sum of e and d