code
stringlengths
33
110
docstring
stringclasses
738 values
def is_palindrome_700(k): t = k.lower().replace(' ', '') return t == t[::-1]
Checks whether the string k is a palindrome
def add_701(y, f): return y + f
Returns the sum of y and f
def is_palindrome_702(a): t = a.lower().replace(' ', '') return t == t[::-1]
Checks whether the string a is a palindrome
def add_703(x, b): return x + b
Returns the sum of x and b
def reverse_704(a): return a[::-1]
Reverses the string a
def contains_digit_705(r): for ch in r: if ch.isdigit(): return True return False
Checks if the string r contains any digit
def contains_digit_706(b): for ch in b: if ch.isdigit(): return True return False
Checks if the string b contains any digit
def reverse_707(l): return l[::-1]
Reverses the string l
def add_708(e, l): return e + l
Returns the sum of e and l
def contains_digit_709(l): for ch in l: if ch.isdigit(): return True return False
Checks if the string l contains any digit
def contains_digit_710(z): for ch in z: if ch.isdigit(): return True return False
Checks if the string z contains any digit
def add_711(u, p): return u + p
Returns the sum of u and p
def contains_digit_712(i): for ch in i: if ch.isdigit(): return True return False
Checks if the string i contains any digit
def is_palindrome_713(u): t = u.lower().replace(' ', '') return t == t[::-1]
Checks whether the string u is a palindrome
def reverse_714(y): return y[::-1]
Reverses the string y
def is_palindrome_715(m): t = m.lower().replace(' ', '') return t == t[::-1]
Checks whether the string m is a palindrome
def add_716(u, v): return u + v
Returns the sum of u and v
def add_717(u, j): return u + j
Returns the sum of u and j
def is_palindrome_718(x): t = x.lower().replace(' ', '') return t == t[::-1]
Checks whether the string x is a palindrome
def reverse_719(b): return b[::-1]
Reverses the string b
def reverse_720(e): return e[::-1]
Reverses the string e
def sum_list_721(r): total = 0 for x in r: total += x return total
Returns the sum of elements in the list r
def sum_list_722(v): total = 0 for x in v: total += x return total
Returns the sum of elements in the list v
def sum_list_723(d): total = 0 for x in d: total += x return total
Returns the sum of elements in the list d
def is_palindrome_724(q): t = q.lower().replace(' ', '') return t == t[::-1]
Checks whether the string q is a palindrome
def contains_digit_725(v): for ch in v: if ch.isdigit(): return True return False
Checks if the string v contains any digit
def sum_list_726(m): total = 0 for x in m: total += x return total
Returns the sum of elements in the list m
def add_727(i, q): return i + q
Returns the sum of i and q
def add_728(o, y): return o + y
Returns the sum of o and y
def reverse_729(c): return c[::-1]
Reverses the string c
def reverse_730(w): return w[::-1]
Reverses the string w
def sum_list_731(z): total = 0 for x in z: total += x return total
Returns the sum of elements in the list z
def reverse_732(s): return s[::-1]
Reverses the string s
def contains_digit_733(u): for ch in u: if ch.isdigit(): return True return False
Checks if the string u contains any digit
def add_734(h, e): return h + e
Returns the sum of h and e
def contains_digit_735(d): for ch in d: if ch.isdigit(): return True return False
Checks if the string d contains any digit
def add_736(q, r): return q + r
Returns the sum of q and r
def reverse_737(k): return k[::-1]
Reverses the string k
def is_palindrome_738(n): t = n.lower().replace(' ', '') return t == t[::-1]
Checks whether the string n is a palindrome
def is_palindrome_739(f): t = f.lower().replace(' ', '') return t == t[::-1]
Checks whether the string f is a palindrome
def reverse_740(l): return l[::-1]
Reverses the string l
def sum_list_741(x): total = 0 for x in x: total += x return total
Returns the sum of elements in the list x
def contains_digit_742(f): for ch in f: if ch.isdigit(): return True return False
Checks if the string f contains any digit
def contains_digit_743(u): for ch in u: if ch.isdigit(): return True return False
Checks if the string u contains any digit
def reverse_744(y): return y[::-1]
Reverses the string y
def sum_list_745(r): total = 0 for x in r: total += x return total
Returns the sum of elements in the list r
def sum_list_746(g): total = 0 for x in g: total += x return total
Returns the sum of elements in the list g
def add_747(n, z): return n + z
Returns the sum of n and z
def contains_digit_748(k): for ch in k: if ch.isdigit(): return True return False
Checks if the string k contains any digit
def sum_list_749(b): total = 0 for x in b: total += x return total
Returns the sum of elements in the list b
def contains_digit_750(z): for ch in z: if ch.isdigit(): return True return False
Checks if the string z contains any digit
def contains_digit_751(o): for ch in o: if ch.isdigit(): return True return False
Checks if the string o contains any digit
def is_palindrome_752(t): t = t.lower().replace(' ', '') return t == t[::-1]
Checks whether the string t is a palindrome
def add_753(t, u): return t + u
Returns the sum of t and u
def contains_digit_754(o): for ch in o: if ch.isdigit(): return True return False
Checks if the string o contains any digit
def add_755(x, h): return x + h
Returns the sum of x and h
def add_756(s, p): return s + p
Returns the sum of s and p
def is_palindrome_757(d): t = d.lower().replace(' ', '') return t == t[::-1]
Checks whether the string d is a palindrome
def reverse_758(a): return a[::-1]
Reverses the string a
def add_759(g, x): return g + x
Returns the sum of g and x
def is_palindrome_760(h): t = h.lower().replace(' ', '') return t == t[::-1]
Checks whether the string h is a palindrome
def contains_digit_761(e): for ch in e: if ch.isdigit(): return True return False
Checks if the string e contains any digit
def sum_list_762(e): total = 0 for x in e: total += x return total
Returns the sum of elements in the list e
def sum_list_763(e): total = 0 for x in e: total += x return total
Returns the sum of elements in the list e
def add_764(k, j): return k + j
Returns the sum of k and j
def contains_digit_765(m): for ch in m: if ch.isdigit(): return True return False
Checks if the string m contains any digit
def sum_list_766(l): total = 0 for x in l: total += x return total
Returns the sum of elements in the list l
def is_palindrome_767(k): t = k.lower().replace(' ', '') return t == t[::-1]
Checks whether the string k is a palindrome
def reverse_768(s): return s[::-1]
Reverses the string s
def add_769(j, p): return j + p
Returns the sum of j and p
def is_palindrome_770(k): t = k.lower().replace(' ', '') return t == t[::-1]
Checks whether the string k is a palindrome
def contains_digit_771(c): for ch in c: if ch.isdigit(): return True return False
Checks if the string c contains any digit
def reverse_772(q): return q[::-1]
Reverses the string q
def add_773(r, f): return r + f
Returns the sum of r and f
def sum_list_774(c): total = 0 for x in c: total += x return total
Returns the sum of elements in the list c
def contains_digit_775(o): for ch in o: if ch.isdigit(): return True return False
Checks if the string o contains any digit
def reverse_776(d): return d[::-1]
Reverses the string d
def sum_list_777(l): total = 0 for x in l: total += x return total
Returns the sum of elements in the list l
def reverse_778(i): return i[::-1]
Reverses the string i
def add_779(x, s): return x + s
Returns the sum of x and s
def reverse_780(y): return y[::-1]
Reverses the string y
def contains_digit_781(m): for ch in m: if ch.isdigit(): return True return False
Checks if the string m contains any digit
def is_palindrome_782(t): t = t.lower().replace(' ', '') return t == t[::-1]
Checks whether the string t is a palindrome
def reverse_783(l): return l[::-1]
Reverses the string l
def reverse_784(e): return e[::-1]
Reverses the string e
def reverse_785(b): return b[::-1]
Reverses the string b
def add_786(v, h): return v + h
Returns the sum of v and h
def contains_digit_787(o): for ch in o: if ch.isdigit(): return True return False
Checks if the string o contains any digit
def is_palindrome_788(i): t = i.lower().replace(' ', '') return t == t[::-1]
Checks whether the string i is a palindrome
def add_789(m, n): return m + n
Returns the sum of m and n
def add_790(z, k): return z + k
Returns the sum of z and k
def is_palindrome_791(e): t = e.lower().replace(' ', '') return t == t[::-1]
Checks whether the string e is a palindrome
def contains_digit_792(n): for ch in n: if ch.isdigit(): return True return False
Checks if the string n contains any digit
def is_palindrome_793(o): t = o.lower().replace(' ', '') return t == t[::-1]
Checks whether the string o is a palindrome
def add_794(k, u): return k + u
Returns the sum of k and u
def reverse_795(w): return w[::-1]
Reverses the string w
def sum_list_796(a): total = 0 for x in a: total += x return total
Returns the sum of elements in the list a
def add_797(j, q): return j + q
Returns the sum of j and q
def sum_list_798(s): total = 0 for x in s: total += x return total
Returns the sum of elements in the list s
def sum_list_799(v): total = 0 for x in v: total += x return total
Returns the sum of elements in the list v