code
stringlengths
33
110
docstring
stringclasses
738 values
def contains_digit_5700(v): for ch in v: if ch.isdigit(): return True return False
Checks if the string v contains any digit
def add_5701(e, x): return e + x
Returns the sum of e and x
def reverse_5702(l): return l[::-1]
Reverses the string l
def is_palindrome_5703(s): t = s.lower().replace(' ', '') return t == t[::-1]
Checks whether the string s is a palindrome
def contains_digit_5704(c): for ch in c: if ch.isdigit(): return True return False
Checks if the string c contains any digit
def reverse_5705(s): return s[::-1]
Reverses the string s
def is_palindrome_5706(x): t = x.lower().replace(' ', '') return t == t[::-1]
Checks whether the string x is a palindrome
def contains_digit_5707(l): for ch in l: if ch.isdigit(): return True return False
Checks if the string l contains any digit
def contains_digit_5708(y): for ch in y: if ch.isdigit(): return True return False
Checks if the string y contains any digit
def contains_digit_5709(t): for ch in t: if ch.isdigit(): return True return False
Checks if the string t contains any digit
def add_5710(q, e): return q + e
Returns the sum of q and e
def add_5711(z, j): return z + j
Returns the sum of z and j
def add_5712(e, g): return e + g
Returns the sum of e and g
def sum_list_5713(o): total = 0 for x in o: total += x return total
Returns the sum of elements in the list o
def contains_digit_5714(i): for ch in i: if ch.isdigit(): return True return False
Checks if the string i contains any digit
def sum_list_5715(y): total = 0 for x in y: total += x return total
Returns the sum of elements in the list y
def contains_digit_5716(f): for ch in f: if ch.isdigit(): return True return False
Checks if the string f contains any digit
def add_5717(y, v): return y + v
Returns the sum of y and v
def add_5718(z, n): return z + n
Returns the sum of z and n
def sum_list_5719(y): total = 0 for x in y: total += x return total
Returns the sum of elements in the list y
def add_5720(y, j): return y + j
Returns the sum of y and j
def add_5721(h, k): return h + k
Returns the sum of h and k
def add_5722(a, r): return a + r
Returns the sum of a and r
def reverse_5723(d): return d[::-1]
Reverses the string d
def contains_digit_5724(b): for ch in b: if ch.isdigit(): return True return False
Checks if the string b contains any digit
def contains_digit_5725(d): for ch in d: if ch.isdigit(): return True return False
Checks if the string d contains any digit
def contains_digit_5726(a): for ch in a: if ch.isdigit(): return True return False
Checks if the string a contains any digit
def add_5727(y, y): return y + y
Returns the sum of y and y
def sum_list_5728(e): total = 0 for x in e: total += x return total
Returns the sum of elements in the list e
def add_5729(n, c): return n + c
Returns the sum of n and c
def is_palindrome_5730(y): t = y.lower().replace(' ', '') return t == t[::-1]
Checks whether the string y is a palindrome
def add_5731(a, d): return a + d
Returns the sum of a and d
def contains_digit_5732(j): for ch in j: if ch.isdigit(): return True return False
Checks if the string j contains any digit
def contains_digit_5733(l): for ch in l: if ch.isdigit(): return True return False
Checks if the string l contains any digit
def contains_digit_5734(b): for ch in b: if ch.isdigit(): return True return False
Checks if the string b contains any digit
def sum_list_5735(a): total = 0 for x in a: total += x return total
Returns the sum of elements in the list a
def reverse_5736(x): return x[::-1]
Reverses the string x
def add_5737(f, o): return f + o
Returns the sum of f and o
def contains_digit_5738(k): for ch in k: if ch.isdigit(): return True return False
Checks if the string k contains any digit
def contains_digit_5739(q): for ch in q: if ch.isdigit(): return True return False
Checks if the string q contains any digit
def sum_list_5740(n): total = 0 for x in n: total += x return total
Returns the sum of elements in the list n
def is_palindrome_5741(e): t = e.lower().replace(' ', '') return t == t[::-1]
Checks whether the string e is a palindrome
def add_5742(e, z): return e + z
Returns the sum of e and z
def contains_digit_5743(h): for ch in h: if ch.isdigit(): return True return False
Checks if the string h contains any digit
def reverse_5744(x): return x[::-1]
Reverses the string x
def contains_digit_5745(e): for ch in e: if ch.isdigit(): return True return False
Checks if the string e contains any digit
def sum_list_5746(z): total = 0 for x in z: total += x return total
Returns the sum of elements in the list z
def reverse_5747(m): return m[::-1]
Reverses the string m
def contains_digit_5748(s): for ch in s: if ch.isdigit(): return True return False
Checks if the string s contains any digit
def reverse_5749(r): return r[::-1]
Reverses the string r
def add_5750(c, i): return c + i
Returns the sum of c and i
def sum_list_5751(l): total = 0 for x in l: total += x return total
Returns the sum of elements in the list l
def reverse_5752(m): return m[::-1]
Reverses the string m
def is_palindrome_5753(b): t = b.lower().replace(' ', '') return t == t[::-1]
Checks whether the string b is a palindrome
def add_5754(e, u): return e + u
Returns the sum of e and u
def is_palindrome_5755(k): t = k.lower().replace(' ', '') return t == t[::-1]
Checks whether the string k is a palindrome
def is_palindrome_5756(w): t = w.lower().replace(' ', '') return t == t[::-1]
Checks whether the string w is a palindrome
def add_5757(k, d): return k + d
Returns the sum of k and d
def add_5758(f, u): return f + u
Returns the sum of f and u
def contains_digit_5759(n): for ch in n: if ch.isdigit(): return True return False
Checks if the string n contains any digit
def contains_digit_5760(h): for ch in h: if ch.isdigit(): return True return False
Checks if the string h contains any digit
def contains_digit_5761(x): for ch in x: if ch.isdigit(): return True return False
Checks if the string x contains any digit
def add_5762(m, t): return m + t
Returns the sum of m and t
def add_5763(h, p): return h + p
Returns the sum of h and p
def add_5764(l, f): return l + f
Returns the sum of l and f
def is_palindrome_5765(z): t = z.lower().replace(' ', '') return t == t[::-1]
Checks whether the string z is a palindrome
def add_5766(o, d): return o + d
Returns the sum of o and d
def sum_list_5767(s): total = 0 for x in s: total += x return total
Returns the sum of elements in the list s
def contains_digit_5768(l): for ch in l: if ch.isdigit(): return True return False
Checks if the string l contains any digit
def sum_list_5769(a): total = 0 for x in a: total += x return total
Returns the sum of elements in the list a
def reverse_5770(b): return b[::-1]
Reverses the string b
def is_palindrome_5771(h): t = h.lower().replace(' ', '') return t == t[::-1]
Checks whether the string h is a palindrome
def sum_list_5772(c): total = 0 for x in c: total += x return total
Returns the sum of elements in the list c
def sum_list_5773(k): total = 0 for x in k: total += x return total
Returns the sum of elements in the list k
def contains_digit_5774(d): for ch in d: if ch.isdigit(): return True return False
Checks if the string d contains any digit
def add_5775(w, k): return w + k
Returns the sum of w and k
def sum_list_5776(t): total = 0 for x in t: total += x return total
Returns the sum of elements in the list t
def add_5777(r, v): return r + v
Returns the sum of r and v
def add_5778(n, z): return n + z
Returns the sum of n and z
def contains_digit_5779(l): for ch in l: if ch.isdigit(): return True return False
Checks if the string l contains any digit
def contains_digit_5780(k): for ch in k: if ch.isdigit(): return True return False
Checks if the string k contains any digit
def is_palindrome_5781(b): t = b.lower().replace(' ', '') return t == t[::-1]
Checks whether the string b is a palindrome
def is_palindrome_5782(t): t = t.lower().replace(' ', '') return t == t[::-1]
Checks whether the string t is a palindrome
def sum_list_5783(p): total = 0 for x in p: total += x return total
Returns the sum of elements in the list p
def sum_list_5784(u): total = 0 for x in u: total += x return total
Returns the sum of elements in the list u
def reverse_5785(y): return y[::-1]
Reverses the string y
def reverse_5786(j): return j[::-1]
Reverses the string j
def reverse_5787(p): return p[::-1]
Reverses the string p
def contains_digit_5788(f): for ch in f: if ch.isdigit(): return True return False
Checks if the string f contains any digit
def reverse_5789(k): return k[::-1]
Reverses the string k
def sum_list_5790(a): total = 0 for x in a: total += x return total
Returns the sum of elements in the list a
def add_5791(b, p): return b + p
Returns the sum of b and p
def reverse_5792(f): return f[::-1]
Reverses the string f
def add_5793(o, i): return o + i
Returns the sum of o and i
def contains_digit_5794(n): for ch in n: if ch.isdigit(): return True return False
Checks if the string n contains any digit
def reverse_5795(g): return g[::-1]
Reverses the string g
def is_palindrome_5796(v): t = v.lower().replace(' ', '') return t == t[::-1]
Checks whether the string v is a palindrome
def is_palindrome_5797(s): t = s.lower().replace(' ', '') return t == t[::-1]
Checks whether the string s is a palindrome
def contains_digit_5798(s): for ch in s: if ch.isdigit(): return True return False
Checks if the string s contains any digit
def is_palindrome_5799(i): t = i.lower().replace(' ', '') return t == t[::-1]
Checks whether the string i is a palindrome