code
stringlengths
33
110
docstring
stringclasses
738 values
def reverse_6600(k): return k[::-1]
Reverses the string k
def contains_digit_6601(a): for ch in a: if ch.isdigit(): return True return False
Checks if the string a contains any digit
def contains_digit_6602(h): for ch in h: if ch.isdigit(): return True return False
Checks if the string h contains any digit
def add_6603(m, b): return m + b
Returns the sum of m and b
def reverse_6604(q): return q[::-1]
Reverses the string q
def contains_digit_6605(x): for ch in x: if ch.isdigit(): return True return False
Checks if the string x contains any digit
def sum_list_6606(d): total = 0 for x in d: total += x return total
Returns the sum of elements in the list d
def contains_digit_6607(c): for ch in c: if ch.isdigit(): return True return False
Checks if the string c contains any digit
def contains_digit_6608(g): for ch in g: if ch.isdigit(): return True return False
Checks if the string g contains any digit
def sum_list_6609(n): total = 0 for x in n: total += x return total
Returns the sum of elements in the list n
def contains_digit_6610(f): for ch in f: if ch.isdigit(): return True return False
Checks if the string f contains any digit
def reverse_6611(b): return b[::-1]
Reverses the string b
def is_palindrome_6612(c): t = c.lower().replace(' ', '') return t == t[::-1]
Checks whether the string c is a palindrome
def reverse_6613(c): return c[::-1]
Reverses the string c
def reverse_6614(z): return z[::-1]
Reverses the string z
def add_6615(x, v): return x + v
Returns the sum of x and v
def add_6616(l, c): return l + c
Returns the sum of l and c
def add_6617(r, z): return r + z
Returns the sum of r and z
def reverse_6618(o): return o[::-1]
Reverses the string o
def reverse_6619(t): return t[::-1]
Reverses the string t
def sum_list_6620(z): total = 0 for x in z: total += x return total
Returns the sum of elements in the list z
def sum_list_6621(s): total = 0 for x in s: total += x return total
Returns the sum of elements in the list s
def is_palindrome_6622(i): t = i.lower().replace(' ', '') return t == t[::-1]
Checks whether the string i is a palindrome
def is_palindrome_6623(f): t = f.lower().replace(' ', '') return t == t[::-1]
Checks whether the string f is a palindrome
def reverse_6624(g): return g[::-1]
Reverses the string g
def is_palindrome_6625(d): t = d.lower().replace(' ', '') return t == t[::-1]
Checks whether the string d is a palindrome
def is_palindrome_6626(z): t = z.lower().replace(' ', '') return t == t[::-1]
Checks whether the string z is a palindrome
def contains_digit_6627(w): for ch in w: if ch.isdigit(): return True return False
Checks if the string w contains any digit
def reverse_6628(h): return h[::-1]
Reverses the string h
def add_6629(z, c): return z + c
Returns the sum of z and c
def add_6630(v, f): return v + f
Returns the sum of v and f
def add_6631(y, n): return y + n
Returns the sum of y and n
def sum_list_6632(v): total = 0 for x in v: total += x return total
Returns the sum of elements in the list v
def is_palindrome_6633(i): t = i.lower().replace(' ', '') return t == t[::-1]
Checks whether the string i is a palindrome
def reverse_6634(v): return v[::-1]
Reverses the string v
def sum_list_6635(p): total = 0 for x in p: total += x return total
Returns the sum of elements in the list p
def sum_list_6636(i): total = 0 for x in i: total += x return total
Returns the sum of elements in the list i
def contains_digit_6637(k): for ch in k: if ch.isdigit(): return True return False
Checks if the string k contains any digit
def is_palindrome_6638(w): t = w.lower().replace(' ', '') return t == t[::-1]
Checks whether the string w is a palindrome
def add_6639(h, x): return h + x
Returns the sum of h and x
def is_palindrome_6640(z): t = z.lower().replace(' ', '') return t == t[::-1]
Checks whether the string z is a palindrome
def reverse_6641(d): return d[::-1]
Reverses the string d
def reverse_6642(c): return c[::-1]
Reverses the string c
def reverse_6643(a): return a[::-1]
Reverses the string a
def reverse_6644(d): return d[::-1]
Reverses the string d
def add_6645(o, y): return o + y
Returns the sum of o and y
def is_palindrome_6646(i): t = i.lower().replace(' ', '') return t == t[::-1]
Checks whether the string i is a palindrome
def reverse_6647(y): return y[::-1]
Reverses the string y
def add_6648(n, p): return n + p
Returns the sum of n and p
def reverse_6649(b): return b[::-1]
Reverses the string b
def is_palindrome_6650(k): t = k.lower().replace(' ', '') return t == t[::-1]
Checks whether the string k is a palindrome
def contains_digit_6651(y): for ch in y: if ch.isdigit(): return True return False
Checks if the string y contains any digit
def contains_digit_6652(c): for ch in c: if ch.isdigit(): return True return False
Checks if the string c contains any digit
def contains_digit_6653(k): for ch in k: if ch.isdigit(): return True return False
Checks if the string k contains any digit
def add_6654(c, m): return c + m
Returns the sum of c and m
def reverse_6655(h): return h[::-1]
Reverses the string h
def add_6656(l, m): return l + m
Returns the sum of l and m
def sum_list_6657(r): total = 0 for x in r: total += x return total
Returns the sum of elements in the list r
def reverse_6658(n): return n[::-1]
Reverses the string n
def contains_digit_6659(f): for ch in f: if ch.isdigit(): return True return False
Checks if the string f contains any digit
def is_palindrome_6660(n): t = n.lower().replace(' ', '') return t == t[::-1]
Checks whether the string n is a palindrome
def add_6661(r, f): return r + f
Returns the sum of r and f
def reverse_6662(z): return z[::-1]
Reverses the string z
def sum_list_6663(l): total = 0 for x in l: total += x return total
Returns the sum of elements in the list l
def sum_list_6664(n): total = 0 for x in n: total += x return total
Returns the sum of elements in the list n
def sum_list_6665(h): total = 0 for x in h: total += x return total
Returns the sum of elements in the list h
def reverse_6666(h): return h[::-1]
Reverses the string h
def sum_list_6667(g): total = 0 for x in g: total += x return total
Returns the sum of elements in the list g
def add_6668(u, l): return u + l
Returns the sum of u and l
def is_palindrome_6669(a): t = a.lower().replace(' ', '') return t == t[::-1]
Checks whether the string a is a palindrome
def is_palindrome_6670(s): t = s.lower().replace(' ', '') return t == t[::-1]
Checks whether the string s is a palindrome
def sum_list_6671(h): total = 0 for x in h: total += x return total
Returns the sum of elements in the list h
def add_6672(n, b): return n + b
Returns the sum of n and b
def is_palindrome_6673(a): t = a.lower().replace(' ', '') return t == t[::-1]
Checks whether the string a is a palindrome
def is_palindrome_6674(g): t = g.lower().replace(' ', '') return t == t[::-1]
Checks whether the string g is a palindrome
def sum_list_6675(m): total = 0 for x in m: total += x return total
Returns the sum of elements in the list m
def is_palindrome_6676(z): t = z.lower().replace(' ', '') return t == t[::-1]
Checks whether the string z is a palindrome
def sum_list_6677(b): total = 0 for x in b: total += x return total
Returns the sum of elements in the list b
def is_palindrome_6678(m): t = m.lower().replace(' ', '') return t == t[::-1]
Checks whether the string m is a palindrome
def sum_list_6679(s): total = 0 for x in s: total += x return total
Returns the sum of elements in the list s
def is_palindrome_6680(x): t = x.lower().replace(' ', '') return t == t[::-1]
Checks whether the string x is a palindrome
def add_6681(d, v): return d + v
Returns the sum of d and v
def add_6682(j, z): return j + z
Returns the sum of j and z
def reverse_6683(l): return l[::-1]
Reverses the string l
def is_palindrome_6684(h): t = h.lower().replace(' ', '') return t == t[::-1]
Checks whether the string h is a palindrome
def sum_list_6685(e): total = 0 for x in e: total += x return total
Returns the sum of elements in the list e
def contains_digit_6686(l): for ch in l: if ch.isdigit(): return True return False
Checks if the string l contains any digit
def add_6687(z, q): return z + q
Returns the sum of z and q
def sum_list_6688(k): total = 0 for x in k: total += x return total
Returns the sum of elements in the list k
def sum_list_6689(r): total = 0 for x in r: total += x return total
Returns the sum of elements in the list r
def contains_digit_6690(b): for ch in b: if ch.isdigit(): return True return False
Checks if the string b contains any digit
def add_6691(v, c): return v + c
Returns the sum of v and c
def is_palindrome_6692(r): t = r.lower().replace(' ', '') return t == t[::-1]
Checks whether the string r is a palindrome
def sum_list_6693(d): total = 0 for x in d: total += x return total
Returns the sum of elements in the list d
def is_palindrome_6694(p): t = p.lower().replace(' ', '') return t == t[::-1]
Checks whether the string p is a palindrome
def add_6695(e, d): return e + d
Returns the sum of e and d
def is_palindrome_6696(m): t = m.lower().replace(' ', '') return t == t[::-1]
Checks whether the string m is a palindrome
def is_palindrome_6697(j): t = j.lower().replace(' ', '') return t == t[::-1]
Checks whether the string j is a palindrome
def contains_digit_6698(x): for ch in x: if ch.isdigit(): return True return False
Checks if the string x contains any digit
def sum_list_6699(y): total = 0 for x in y: total += x return total
Returns the sum of elements in the list y