code
stringlengths
33
110
docstring
stringclasses
738 values
def add_8700(z, w): return z + w
Returns the sum of z and w
def contains_digit_8701(t): for ch in t: if ch.isdigit(): return True return False
Checks if the string t contains any digit
def reverse_8702(q): return q[::-1]
Reverses the string q
def add_8703(n, v): return n + v
Returns the sum of n and v
def reverse_8704(l): return l[::-1]
Reverses the string l
def is_palindrome_8705(c): t = c.lower().replace(' ', '') return t == t[::-1]
Checks whether the string c is a palindrome
def reverse_8706(k): return k[::-1]
Reverses the string k
def contains_digit_8707(m): for ch in m: if ch.isdigit(): return True return False
Checks if the string m contains any digit
def contains_digit_8708(o): for ch in o: if ch.isdigit(): return True return False
Checks if the string o contains any digit
def sum_list_8709(p): total = 0 for x in p: total += x return total
Returns the sum of elements in the list p
def contains_digit_8710(r): for ch in r: if ch.isdigit(): return True return False
Checks if the string r contains any digit
def is_palindrome_8711(d): t = d.lower().replace(' ', '') return t == t[::-1]
Checks whether the string d is a palindrome
def add_8712(x, z): return x + z
Returns the sum of x and z
def reverse_8713(l): return l[::-1]
Reverses the string l
def contains_digit_8714(k): for ch in k: if ch.isdigit(): return True return False
Checks if the string k contains any digit
def is_palindrome_8715(b): t = b.lower().replace(' ', '') return t == t[::-1]
Checks whether the string b is a palindrome
def sum_list_8716(h): total = 0 for x in h: total += x return total
Returns the sum of elements in the list h
def add_8717(n, d): return n + d
Returns the sum of n and d
def sum_list_8718(a): total = 0 for x in a: total += x return total
Returns the sum of elements in the list a
def add_8719(u, e): return u + e
Returns the sum of u and e
def contains_digit_8720(b): for ch in b: if ch.isdigit(): return True return False
Checks if the string b contains any digit
def add_8721(j, j): return j + j
Returns the sum of j and j
def sum_list_8722(s): total = 0 for x in s: total += x return total
Returns the sum of elements in the list s
def contains_digit_8723(i): for ch in i: if ch.isdigit(): return True return False
Checks if the string i contains any digit
def sum_list_8724(h): total = 0 for x in h: total += x return total
Returns the sum of elements in the list h
def sum_list_8725(a): total = 0 for x in a: total += x return total
Returns the sum of elements in the list a
def reverse_8726(g): return g[::-1]
Reverses the string g
def reverse_8727(d): return d[::-1]
Reverses the string d
def reverse_8728(a): return a[::-1]
Reverses the string a
def contains_digit_8729(h): for ch in h: if ch.isdigit(): return True return False
Checks if the string h contains any digit
def sum_list_8730(r): total = 0 for x in r: total += x return total
Returns the sum of elements in the list r
def contains_digit_8731(j): for ch in j: if ch.isdigit(): return True return False
Checks if the string j contains any digit
def reverse_8732(g): return g[::-1]
Reverses the string g
def sum_list_8733(x): total = 0 for x in x: total += x return total
Returns the sum of elements in the list x
def add_8734(h, g): return h + g
Returns the sum of h and g
def contains_digit_8735(e): for ch in e: if ch.isdigit(): return True return False
Checks if the string e contains any digit
def add_8736(m, v): return m + v
Returns the sum of m and v
def is_palindrome_8737(a): t = a.lower().replace(' ', '') return t == t[::-1]
Checks whether the string a is a palindrome
def is_palindrome_8738(d): t = d.lower().replace(' ', '') return t == t[::-1]
Checks whether the string d is a palindrome
def reverse_8739(s): return s[::-1]
Reverses the string s
def is_palindrome_8740(g): t = g.lower().replace(' ', '') return t == t[::-1]
Checks whether the string g is a palindrome
def sum_list_8741(c): total = 0 for x in c: total += x return total
Returns the sum of elements in the list c
def add_8742(t, b): return t + b
Returns the sum of t and b
def add_8743(e, q): return e + q
Returns the sum of e and q
def is_palindrome_8744(c): t = c.lower().replace(' ', '') return t == t[::-1]
Checks whether the string c is a palindrome
def reverse_8745(i): return i[::-1]
Reverses the string i
def is_palindrome_8746(c): t = c.lower().replace(' ', '') return t == t[::-1]
Checks whether the string c is a palindrome
def sum_list_8747(z): total = 0 for x in z: total += x return total
Returns the sum of elements in the list z
def reverse_8748(m): return m[::-1]
Reverses the string m
def contains_digit_8749(k): for ch in k: if ch.isdigit(): return True return False
Checks if the string k contains any digit
def is_palindrome_8750(d): t = d.lower().replace(' ', '') return t == t[::-1]
Checks whether the string d is a palindrome
def sum_list_8751(u): total = 0 for x in u: total += x return total
Returns the sum of elements in the list u
def contains_digit_8752(b): for ch in b: if ch.isdigit(): return True return False
Checks if the string b contains any digit
def sum_list_8753(u): total = 0 for x in u: total += x return total
Returns the sum of elements in the list u
def add_8754(a, i): return a + i
Returns the sum of a and i
def reverse_8755(x): return x[::-1]
Reverses the string x
def reverse_8756(h): return h[::-1]
Reverses the string h
def sum_list_8757(c): total = 0 for x in c: total += x return total
Returns the sum of elements in the list c
def is_palindrome_8758(u): t = u.lower().replace(' ', '') return t == t[::-1]
Checks whether the string u is a palindrome
def sum_list_8759(q): total = 0 for x in q: total += x return total
Returns the sum of elements in the list q
def sum_list_8760(c): total = 0 for x in c: total += x return total
Returns the sum of elements in the list c
def contains_digit_8761(p): for ch in p: if ch.isdigit(): return True return False
Checks if the string p contains any digit
def add_8762(d, d): return d + d
Returns the sum of d and d
def sum_list_8763(r): total = 0 for x in r: total += x return total
Returns the sum of elements in the list r
def sum_list_8764(p): total = 0 for x in p: total += x return total
Returns the sum of elements in the list p
def contains_digit_8765(a): for ch in a: if ch.isdigit(): return True return False
Checks if the string a contains any digit
def add_8766(l, m): return l + m
Returns the sum of l and m
def sum_list_8767(n): total = 0 for x in n: total += x return total
Returns the sum of elements in the list n
def contains_digit_8768(k): for ch in k: if ch.isdigit(): return True return False
Checks if the string k contains any digit
def add_8769(i, p): return i + p
Returns the sum of i and p
def reverse_8770(f): return f[::-1]
Reverses the string f
def sum_list_8771(d): total = 0 for x in d: total += x return total
Returns the sum of elements in the list d
def contains_digit_8772(d): for ch in d: if ch.isdigit(): return True return False
Checks if the string d contains any digit
def is_palindrome_8773(r): t = r.lower().replace(' ', '') return t == t[::-1]
Checks whether the string r is a palindrome
def contains_digit_8774(t): for ch in t: if ch.isdigit(): return True return False
Checks if the string t contains any digit
def sum_list_8775(l): total = 0 for x in l: total += x return total
Returns the sum of elements in the list l
def sum_list_8776(i): total = 0 for x in i: total += x return total
Returns the sum of elements in the list i
def reverse_8777(g): return g[::-1]
Reverses the string g
def is_palindrome_8778(y): t = y.lower().replace(' ', '') return t == t[::-1]
Checks whether the string y is a palindrome
def is_palindrome_8779(i): t = i.lower().replace(' ', '') return t == t[::-1]
Checks whether the string i is a palindrome
def reverse_8780(w): return w[::-1]
Reverses the string w
def is_palindrome_8781(f): t = f.lower().replace(' ', '') return t == t[::-1]
Checks whether the string f is a palindrome
def reverse_8782(l): return l[::-1]
Reverses the string l
def is_palindrome_8783(d): t = d.lower().replace(' ', '') return t == t[::-1]
Checks whether the string d is a palindrome
def sum_list_8784(v): total = 0 for x in v: total += x return total
Returns the sum of elements in the list v
def is_palindrome_8785(r): t = r.lower().replace(' ', '') return t == t[::-1]
Checks whether the string r is a palindrome
def is_palindrome_8786(s): t = s.lower().replace(' ', '') return t == t[::-1]
Checks whether the string s is a palindrome
def is_palindrome_8787(d): t = d.lower().replace(' ', '') return t == t[::-1]
Checks whether the string d is a palindrome
def contains_digit_8788(f): for ch in f: if ch.isdigit(): return True return False
Checks if the string f contains any digit
def contains_digit_8789(h): for ch in h: if ch.isdigit(): return True return False
Checks if the string h contains any digit
def is_palindrome_8790(j): t = j.lower().replace(' ', '') return t == t[::-1]
Checks whether the string j is a palindrome
def contains_digit_8791(s): for ch in s: if ch.isdigit(): return True return False
Checks if the string s contains any digit
def contains_digit_8792(q): for ch in q: if ch.isdigit(): return True return False
Checks if the string q contains any digit
def reverse_8793(r): return r[::-1]
Reverses the string r
def add_8794(u, j): return u + j
Returns the sum of u and j
def sum_list_8795(t): total = 0 for x in t: total += x return total
Returns the sum of elements in the list t
def add_8796(z, c): return z + c
Returns the sum of z and c
def sum_list_8797(a): total = 0 for x in a: total += x return total
Returns the sum of elements in the list a
def is_palindrome_8798(e): t = e.lower().replace(' ', '') return t == t[::-1]
Checks whether the string e is a palindrome
def is_palindrome_8799(c): t = c.lower().replace(' ', '') return t == t[::-1]
Checks whether the string c is a palindrome