code
stringlengths
33
110
docstring
stringclasses
738 values
def reverse_2600(o): return o[::-1]
Reverses the string o
def is_palindrome_2601(p): t = p.lower().replace(' ', '') return t == t[::-1]
Checks whether the string p is a palindrome
def is_palindrome_2602(z): t = z.lower().replace(' ', '') return t == t[::-1]
Checks whether the string z is a palindrome
def reverse_2603(c): return c[::-1]
Reverses the string c
def add_2604(b, p): return b + p
Returns the sum of b and p
def contains_digit_2605(e): for ch in e: if ch.isdigit(): return True return False
Checks if the string e contains any digit
def is_palindrome_2606(h): t = h.lower().replace(' ', '') return t == t[::-1]
Checks whether the string h is a palindrome
def add_2607(p, k): return p + k
Returns the sum of p and k
def reverse_2608(s): return s[::-1]
Reverses the string s
def sum_list_2609(c): total = 0 for x in c: total += x return total
Returns the sum of elements in the list c
def is_palindrome_2610(r): t = r.lower().replace(' ', '') return t == t[::-1]
Checks whether the string r is a palindrome
def sum_list_2611(g): total = 0 for x in g: total += x return total
Returns the sum of elements in the list g
def reverse_2612(o): return o[::-1]
Reverses the string o
def is_palindrome_2613(c): t = c.lower().replace(' ', '') return t == t[::-1]
Checks whether the string c is a palindrome
def contains_digit_2614(o): for ch in o: if ch.isdigit(): return True return False
Checks if the string o contains any digit
def contains_digit_2615(g): for ch in g: if ch.isdigit(): return True return False
Checks if the string g contains any digit
def is_palindrome_2616(n): t = n.lower().replace(' ', '') return t == t[::-1]
Checks whether the string n is a palindrome
def add_2617(u, o): return u + o
Returns the sum of u and o
def reverse_2618(j): return j[::-1]
Reverses the string j
def sum_list_2619(v): total = 0 for x in v: total += x return total
Returns the sum of elements in the list v
def sum_list_2620(i): total = 0 for x in i: total += x return total
Returns the sum of elements in the list i
def contains_digit_2621(e): for ch in e: if ch.isdigit(): return True return False
Checks if the string e contains any digit
def add_2622(a, w): return a + w
Returns the sum of a and w
def sum_list_2623(m): total = 0 for x in m: total += x return total
Returns the sum of elements in the list m
def contains_digit_2624(v): for ch in v: if ch.isdigit(): return True return False
Checks if the string v contains any digit
def reverse_2625(y): return y[::-1]
Reverses the string y
def sum_list_2626(o): total = 0 for x in o: total += x return total
Returns the sum of elements in the list o
def add_2627(k, c): return k + c
Returns the sum of k and c
def add_2628(c, k): return c + k
Returns the sum of c and k
def sum_list_2629(t): total = 0 for x in t: total += x return total
Returns the sum of elements in the list t
def add_2630(r, p): return r + p
Returns the sum of r and p
def is_palindrome_2631(k): t = k.lower().replace(' ', '') return t == t[::-1]
Checks whether the string k is a palindrome
def is_palindrome_2632(i): t = i.lower().replace(' ', '') return t == t[::-1]
Checks whether the string i is a palindrome
def sum_list_2633(i): total = 0 for x in i: total += x return total
Returns the sum of elements in the list i
def add_2634(f, g): return f + g
Returns the sum of f and g
def contains_digit_2635(m): for ch in m: if ch.isdigit(): return True return False
Checks if the string m contains any digit
def reverse_2636(a): return a[::-1]
Reverses the string a
def contains_digit_2637(i): for ch in i: if ch.isdigit(): return True return False
Checks if the string i contains any digit
def contains_digit_2638(j): for ch in j: if ch.isdigit(): return True return False
Checks if the string j contains any digit
def reverse_2639(i): return i[::-1]
Reverses the string i
def sum_list_2640(t): total = 0 for x in t: total += x return total
Returns the sum of elements in the list t
def contains_digit_2641(f): for ch in f: if ch.isdigit(): return True return False
Checks if the string f contains any digit
def reverse_2642(q): return q[::-1]
Reverses the string q
def sum_list_2643(d): total = 0 for x in d: total += x return total
Returns the sum of elements in the list d
def sum_list_2644(v): total = 0 for x in v: total += x return total
Returns the sum of elements in the list v
def contains_digit_2645(l): for ch in l: if ch.isdigit(): return True return False
Checks if the string l contains any digit
def add_2646(w, r): return w + r
Returns the sum of w and r
def contains_digit_2647(k): for ch in k: if ch.isdigit(): return True return False
Checks if the string k contains any digit
def reverse_2648(g): return g[::-1]
Reverses the string g
def sum_list_2649(x): total = 0 for x in x: total += x return total
Returns the sum of elements in the list x
def sum_list_2650(e): total = 0 for x in e: total += x return total
Returns the sum of elements in the list e
def reverse_2651(s): return s[::-1]
Reverses the string s
def reverse_2652(k): return k[::-1]
Reverses the string k
def contains_digit_2653(i): for ch in i: if ch.isdigit(): return True return False
Checks if the string i contains any digit
def sum_list_2654(p): total = 0 for x in p: total += x return total
Returns the sum of elements in the list p
def is_palindrome_2655(m): t = m.lower().replace(' ', '') return t == t[::-1]
Checks whether the string m is a palindrome
def contains_digit_2656(h): for ch in h: if ch.isdigit(): return True return False
Checks if the string h contains any digit
def sum_list_2657(s): total = 0 for x in s: total += x return total
Returns the sum of elements in the list s
def is_palindrome_2658(a): t = a.lower().replace(' ', '') return t == t[::-1]
Checks whether the string a is a palindrome
def contains_digit_2659(y): for ch in y: if ch.isdigit(): return True return False
Checks if the string y contains any digit
def reverse_2660(n): return n[::-1]
Reverses the string n
def contains_digit_2661(z): for ch in z: if ch.isdigit(): return True return False
Checks if the string z contains any digit
def contains_digit_2662(d): for ch in d: if ch.isdigit(): return True return False
Checks if the string d contains any digit
def reverse_2663(h): return h[::-1]
Reverses the string h
def add_2664(m, d): return m + d
Returns the sum of m and d
def contains_digit_2665(j): for ch in j: if ch.isdigit(): return True return False
Checks if the string j contains any digit
def sum_list_2666(n): total = 0 for x in n: total += x return total
Returns the sum of elements in the list n
def contains_digit_2667(h): for ch in h: if ch.isdigit(): return True return False
Checks if the string h contains any digit
def reverse_2668(k): return k[::-1]
Reverses the string k
def is_palindrome_2669(w): t = w.lower().replace(' ', '') return t == t[::-1]
Checks whether the string w is a palindrome
def is_palindrome_2670(e): t = e.lower().replace(' ', '') return t == t[::-1]
Checks whether the string e is a palindrome
def add_2671(j, b): return j + b
Returns the sum of j and b
def add_2672(g, y): return g + y
Returns the sum of g and y
def add_2673(i, c): return i + c
Returns the sum of i and c
def is_palindrome_2674(z): t = z.lower().replace(' ', '') return t == t[::-1]
Checks whether the string z is a palindrome
def add_2675(i, s): return i + s
Returns the sum of i and s
def is_palindrome_2676(g): t = g.lower().replace(' ', '') return t == t[::-1]
Checks whether the string g is a palindrome
def contains_digit_2677(c): for ch in c: if ch.isdigit(): return True return False
Checks if the string c contains any digit
def add_2678(b, e): return b + e
Returns the sum of b and e
def reverse_2679(o): return o[::-1]
Reverses the string o
def is_palindrome_2680(t): t = t.lower().replace(' ', '') return t == t[::-1]
Checks whether the string t is a palindrome
def contains_digit_2681(n): for ch in n: if ch.isdigit(): return True return False
Checks if the string n contains any digit
def is_palindrome_2682(m): t = m.lower().replace(' ', '') return t == t[::-1]
Checks whether the string m is a palindrome
def add_2683(p, j): return p + j
Returns the sum of p and j
def reverse_2684(r): return r[::-1]
Reverses the string r
def reverse_2685(v): return v[::-1]
Reverses the string v
def reverse_2686(w): return w[::-1]
Reverses the string w
def is_palindrome_2687(p): t = p.lower().replace(' ', '') return t == t[::-1]
Checks whether the string p is a palindrome
def is_palindrome_2688(q): t = q.lower().replace(' ', '') return t == t[::-1]
Checks whether the string q is a palindrome
def reverse_2689(b): return b[::-1]
Reverses the string b
def add_2690(f, t): return f + t
Returns the sum of f and t
def add_2691(y, t): return y + t
Returns the sum of y and t
def is_palindrome_2692(t): t = t.lower().replace(' ', '') return t == t[::-1]
Checks whether the string t is a palindrome
def contains_digit_2693(g): for ch in g: if ch.isdigit(): return True return False
Checks if the string g contains any digit
def is_palindrome_2694(k): t = k.lower().replace(' ', '') return t == t[::-1]
Checks whether the string k is a palindrome
def is_palindrome_2695(v): t = v.lower().replace(' ', '') return t == t[::-1]
Checks whether the string v is a palindrome
def reverse_2696(h): return h[::-1]
Reverses the string h
def sum_list_2697(j): total = 0 for x in j: total += x return total
Returns the sum of elements in the list j
def add_2698(f, p): return f + p
Returns the sum of f and p
def reverse_2699(r): return r[::-1]
Reverses the string r