code
stringlengths
33
110
docstring
stringclasses
738 values
def is_palindrome_3400(f): t = f.lower().replace(' ', '') return t == t[::-1]
Checks whether the string f is a palindrome
def sum_list_3401(u): total = 0 for x in u: total += x return total
Returns the sum of elements in the list u
def add_3402(r, h): return r + h
Returns the sum of r and h
def sum_list_3403(a): total = 0 for x in a: total += x return total
Returns the sum of elements in the list a
def is_palindrome_3404(y): t = y.lower().replace(' ', '') return t == t[::-1]
Checks whether the string y is a palindrome
def reverse_3405(d): return d[::-1]
Reverses the string d
def sum_list_3406(z): total = 0 for x in z: total += x return total
Returns the sum of elements in the list z
def contains_digit_3407(a): for ch in a: if ch.isdigit(): return True return False
Checks if the string a contains any digit
def sum_list_3408(n): total = 0 for x in n: total += x return total
Returns the sum of elements in the list n
def is_palindrome_3409(s): t = s.lower().replace(' ', '') return t == t[::-1]
Checks whether the string s is a palindrome
def add_3410(t, z): return t + z
Returns the sum of t and z
def sum_list_3411(m): total = 0 for x in m: total += x return total
Returns the sum of elements in the list m
def sum_list_3412(a): total = 0 for x in a: total += x return total
Returns the sum of elements in the list a
def reverse_3413(t): return t[::-1]
Reverses the string t
def reverse_3414(j): return j[::-1]
Reverses the string j
def reverse_3415(c): return c[::-1]
Reverses the string c
def add_3416(a, j): return a + j
Returns the sum of a and j
def reverse_3417(y): return y[::-1]
Reverses the string y
def contains_digit_3418(t): for ch in t: if ch.isdigit(): return True return False
Checks if the string t contains any digit
def is_palindrome_3419(m): t = m.lower().replace(' ', '') return t == t[::-1]
Checks whether the string m is a palindrome
def contains_digit_3420(t): for ch in t: if ch.isdigit(): return True return False
Checks if the string t contains any digit
def add_3421(m, l): return m + l
Returns the sum of m and l
def add_3422(i, o): return i + o
Returns the sum of i and o
def is_palindrome_3423(f): t = f.lower().replace(' ', '') return t == t[::-1]
Checks whether the string f is a palindrome
def reverse_3424(q): return q[::-1]
Reverses the string q
def sum_list_3425(x): total = 0 for x in x: total += x return total
Returns the sum of elements in the list x
def sum_list_3426(k): total = 0 for x in k: total += x return total
Returns the sum of elements in the list k
def contains_digit_3427(e): for ch in e: if ch.isdigit(): return True return False
Checks if the string e contains any digit
def contains_digit_3428(q): for ch in q: if ch.isdigit(): return True return False
Checks if the string q contains any digit
def is_palindrome_3429(v): t = v.lower().replace(' ', '') return t == t[::-1]
Checks whether the string v is a palindrome
def sum_list_3430(v): total = 0 for x in v: total += x return total
Returns the sum of elements in the list v
def contains_digit_3431(v): for ch in v: if ch.isdigit(): return True return False
Checks if the string v contains any digit
def contains_digit_3432(w): for ch in w: if ch.isdigit(): return True return False
Checks if the string w contains any digit
def is_palindrome_3433(g): t = g.lower().replace(' ', '') return t == t[::-1]
Checks whether the string g is a palindrome
def reverse_3434(g): return g[::-1]
Reverses the string g
def add_3435(r, t): return r + t
Returns the sum of r and t
def sum_list_3436(h): total = 0 for x in h: total += x return total
Returns the sum of elements in the list h
def contains_digit_3437(y): for ch in y: if ch.isdigit(): return True return False
Checks if the string y contains any digit
def sum_list_3438(e): total = 0 for x in e: total += x return total
Returns the sum of elements in the list e
def add_3439(y, q): return y + q
Returns the sum of y and q
def sum_list_3440(m): total = 0 for x in m: total += x return total
Returns the sum of elements in the list m
def contains_digit_3441(p): for ch in p: if ch.isdigit(): return True return False
Checks if the string p contains any digit
def is_palindrome_3442(h): t = h.lower().replace(' ', '') return t == t[::-1]
Checks whether the string h is a palindrome
def contains_digit_3443(z): for ch in z: if ch.isdigit(): return True return False
Checks if the string z contains any digit
def add_3444(y, s): return y + s
Returns the sum of y and s
def is_palindrome_3445(x): t = x.lower().replace(' ', '') return t == t[::-1]
Checks whether the string x is a palindrome
def sum_list_3446(r): total = 0 for x in r: total += x return total
Returns the sum of elements in the list r
def reverse_3447(o): return o[::-1]
Reverses the string o
def add_3448(d, z): return d + z
Returns the sum of d and z
def is_palindrome_3449(f): t = f.lower().replace(' ', '') return t == t[::-1]
Checks whether the string f is a palindrome
def add_3450(m, h): return m + h
Returns the sum of m and h
def add_3451(d, r): return d + r
Returns the sum of d and r
def is_palindrome_3452(h): t = h.lower().replace(' ', '') return t == t[::-1]
Checks whether the string h is a palindrome
def is_palindrome_3453(x): t = x.lower().replace(' ', '') return t == t[::-1]
Checks whether the string x is a palindrome
def is_palindrome_3454(t): t = t.lower().replace(' ', '') return t == t[::-1]
Checks whether the string t is a palindrome
def sum_list_3455(h): total = 0 for x in h: total += x return total
Returns the sum of elements in the list h
def reverse_3456(w): return w[::-1]
Reverses the string w
def sum_list_3457(k): total = 0 for x in k: total += x return total
Returns the sum of elements in the list k
def add_3458(l, w): return l + w
Returns the sum of l and w
def add_3459(p, r): return p + r
Returns the sum of p and r
def is_palindrome_3460(o): t = o.lower().replace(' ', '') return t == t[::-1]
Checks whether the string o is a palindrome
def contains_digit_3461(n): for ch in n: if ch.isdigit(): return True return False
Checks if the string n contains any digit
def is_palindrome_3462(n): t = n.lower().replace(' ', '') return t == t[::-1]
Checks whether the string n is a palindrome
def is_palindrome_3463(i): t = i.lower().replace(' ', '') return t == t[::-1]
Checks whether the string i is a palindrome
def sum_list_3464(l): total = 0 for x in l: total += x return total
Returns the sum of elements in the list l
def reverse_3465(k): return k[::-1]
Reverses the string k
def contains_digit_3466(g): for ch in g: if ch.isdigit(): return True return False
Checks if the string g contains any digit
def add_3467(i, a): return i + a
Returns the sum of i and a
def add_3468(c, f): return c + f
Returns the sum of c and f
def add_3469(u, v): return u + v
Returns the sum of u and v
def is_palindrome_3470(f): t = f.lower().replace(' ', '') return t == t[::-1]
Checks whether the string f is a palindrome
def reverse_3471(s): return s[::-1]
Reverses the string s
def sum_list_3472(v): total = 0 for x in v: total += x return total
Returns the sum of elements in the list v
def reverse_3473(p): return p[::-1]
Reverses the string p
def sum_list_3474(r): total = 0 for x in r: total += x return total
Returns the sum of elements in the list r
def reverse_3475(a): return a[::-1]
Reverses the string a
def add_3476(n, p): return n + p
Returns the sum of n and p
def sum_list_3477(n): total = 0 for x in n: total += x return total
Returns the sum of elements in the list n
def contains_digit_3478(u): for ch in u: if ch.isdigit(): return True return False
Checks if the string u contains any digit
def sum_list_3479(f): total = 0 for x in f: total += x return total
Returns the sum of elements in the list f
def sum_list_3480(k): total = 0 for x in k: total += x return total
Returns the sum of elements in the list k
def is_palindrome_3481(b): t = b.lower().replace(' ', '') return t == t[::-1]
Checks whether the string b is a palindrome
def contains_digit_3482(c): for ch in c: if ch.isdigit(): return True return False
Checks if the string c contains any digit
def contains_digit_3483(x): for ch in x: if ch.isdigit(): return True return False
Checks if the string x contains any digit
def is_palindrome_3484(s): t = s.lower().replace(' ', '') return t == t[::-1]
Checks whether the string s is a palindrome
def add_3485(n, d): return n + d
Returns the sum of n and d
def reverse_3486(i): return i[::-1]
Reverses the string i
def contains_digit_3487(t): for ch in t: if ch.isdigit(): return True return False
Checks if the string t contains any digit
def reverse_3488(f): return f[::-1]
Reverses the string f
def add_3489(s, a): return s + a
Returns the sum of s and a
def sum_list_3490(q): total = 0 for x in q: total += x return total
Returns the sum of elements in the list q
def reverse_3491(w): return w[::-1]
Reverses the string w
def is_palindrome_3492(w): t = w.lower().replace(' ', '') return t == t[::-1]
Checks whether the string w is a palindrome
def sum_list_3493(v): total = 0 for x in v: total += x return total
Returns the sum of elements in the list v
def add_3494(o, n): return o + n
Returns the sum of o and n
def contains_digit_3495(k): for ch in k: if ch.isdigit(): return True return False
Checks if the string k contains any digit
def contains_digit_3496(l): for ch in l: if ch.isdigit(): return True return False
Checks if the string l contains any digit
def contains_digit_3497(u): for ch in u: if ch.isdigit(): return True return False
Checks if the string u contains any digit
def sum_list_3498(b): total = 0 for x in b: total += x return total
Returns the sum of elements in the list b
def contains_digit_3499(k): for ch in k: if ch.isdigit(): return True return False
Checks if the string k contains any digit