code
stringlengths
33
110
docstring
stringclasses
738 values
def is_palindrome_900(i): t = i.lower().replace(' ', '') return t == t[::-1]
Checks whether the string i is a palindrome
def contains_digit_901(m): for ch in m: if ch.isdigit(): return True return False
Checks if the string m contains any digit
def sum_list_902(w): total = 0 for x in w: total += x return total
Returns the sum of elements in the list w
def is_palindrome_903(e): t = e.lower().replace(' ', '') return t == t[::-1]
Checks whether the string e is a palindrome
def contains_digit_904(u): for ch in u: if ch.isdigit(): return True return False
Checks if the string u contains any digit
def add_905(o, j): return o + j
Returns the sum of o and j
def add_906(e, z): return e + z
Returns the sum of e and z
def reverse_907(s): return s[::-1]
Reverses the string s
def reverse_908(w): return w[::-1]
Reverses the string w
def add_909(q, t): return q + t
Returns the sum of q and t
def sum_list_910(i): total = 0 for x in i: total += x return total
Returns the sum of elements in the list i
def is_palindrome_911(r): t = r.lower().replace(' ', '') return t == t[::-1]
Checks whether the string r is a palindrome
def reverse_912(f): return f[::-1]
Reverses the string f
def reverse_913(e): return e[::-1]
Reverses the string e
def is_palindrome_914(f): t = f.lower().replace(' ', '') return t == t[::-1]
Checks whether the string f is a palindrome
def reverse_915(c): return c[::-1]
Reverses the string c
def contains_digit_916(q): for ch in q: if ch.isdigit(): return True return False
Checks if the string q contains any digit
def contains_digit_917(t): for ch in t: if ch.isdigit(): return True return False
Checks if the string t contains any digit
def add_918(m, d): return m + d
Returns the sum of m and d
def sum_list_919(f): total = 0 for x in f: total += x return total
Returns the sum of elements in the list f
def contains_digit_920(e): for ch in e: if ch.isdigit(): return True return False
Checks if the string e contains any digit
def add_921(s, f): return s + f
Returns the sum of s and f
def add_922(f, q): return f + q
Returns the sum of f and q
def reverse_923(h): return h[::-1]
Reverses the string h
def is_palindrome_924(c): t = c.lower().replace(' ', '') return t == t[::-1]
Checks whether the string c is a palindrome
def add_925(m, i): return m + i
Returns the sum of m and i
def sum_list_926(j): total = 0 for x in j: total += x return total
Returns the sum of elements in the list j
def reverse_927(i): return i[::-1]
Reverses the string i
def reverse_928(j): return j[::-1]
Reverses the string j
def sum_list_929(d): total = 0 for x in d: total += x return total
Returns the sum of elements in the list d
def contains_digit_930(q): for ch in q: if ch.isdigit(): return True return False
Checks if the string q contains any digit
def sum_list_931(e): total = 0 for x in e: total += x return total
Returns the sum of elements in the list e
def reverse_932(m): return m[::-1]
Reverses the string m
def add_933(p, t): return p + t
Returns the sum of p and t
def sum_list_934(h): total = 0 for x in h: total += x return total
Returns the sum of elements in the list h
def reverse_935(v): return v[::-1]
Reverses the string v
def is_palindrome_936(e): t = e.lower().replace(' ', '') return t == t[::-1]
Checks whether the string e is a palindrome
def add_937(n, x): return n + x
Returns the sum of n and x
def is_palindrome_938(f): t = f.lower().replace(' ', '') return t == t[::-1]
Checks whether the string f is a palindrome
def sum_list_939(k): total = 0 for x in k: total += x return total
Returns the sum of elements in the list k
def contains_digit_940(p): for ch in p: if ch.isdigit(): return True return False
Checks if the string p contains any digit
def sum_list_941(n): total = 0 for x in n: total += x return total
Returns the sum of elements in the list n
def sum_list_942(j): total = 0 for x in j: total += x return total
Returns the sum of elements in the list j
def sum_list_943(t): total = 0 for x in t: total += x return total
Returns the sum of elements in the list t
def add_944(m, v): return m + v
Returns the sum of m and v
def reverse_945(x): return x[::-1]
Reverses the string x
def contains_digit_946(m): for ch in m: if ch.isdigit(): return True return False
Checks if the string m contains any digit
def add_947(t, u): return t + u
Returns the sum of t and u
def contains_digit_948(t): for ch in t: if ch.isdigit(): return True return False
Checks if the string t contains any digit
def is_palindrome_949(y): t = y.lower().replace(' ', '') return t == t[::-1]
Checks whether the string y is a palindrome
def reverse_950(o): return o[::-1]
Reverses the string o
def contains_digit_951(q): for ch in q: if ch.isdigit(): return True return False
Checks if the string q contains any digit
def add_952(a, p): return a + p
Returns the sum of a and p
def reverse_953(m): return m[::-1]
Reverses the string m
def reverse_954(e): return e[::-1]
Reverses the string e
def reverse_955(m): return m[::-1]
Reverses the string m
def reverse_956(f): return f[::-1]
Reverses the string f
def add_957(k, k): return k + k
Returns the sum of k and k
def is_palindrome_958(i): t = i.lower().replace(' ', '') return t == t[::-1]
Checks whether the string i is a palindrome
def sum_list_959(a): total = 0 for x in a: total += x return total
Returns the sum of elements in the list a
def sum_list_960(f): total = 0 for x in f: total += x return total
Returns the sum of elements in the list f
def sum_list_961(y): total = 0 for x in y: total += x return total
Returns the sum of elements in the list y
def sum_list_962(b): total = 0 for x in b: total += x return total
Returns the sum of elements in the list b
def reverse_963(n): return n[::-1]
Reverses the string n
def contains_digit_964(u): for ch in u: if ch.isdigit(): return True return False
Checks if the string u contains any digit
def is_palindrome_965(z): t = z.lower().replace(' ', '') return t == t[::-1]
Checks whether the string z is a palindrome
def reverse_966(i): return i[::-1]
Reverses the string i
def reverse_967(w): return w[::-1]
Reverses the string w
def sum_list_968(r): total = 0 for x in r: total += x return total
Returns the sum of elements in the list r
def add_969(g, d): return g + d
Returns the sum of g and d
def contains_digit_970(y): for ch in y: if ch.isdigit(): return True return False
Checks if the string y contains any digit
def reverse_971(d): return d[::-1]
Reverses the string d
def add_972(v, h): return v + h
Returns the sum of v and h
def reverse_973(l): return l[::-1]
Reverses the string l
def sum_list_974(t): total = 0 for x in t: total += x return total
Returns the sum of elements in the list t
def sum_list_975(y): total = 0 for x in y: total += x return total
Returns the sum of elements in the list y
def is_palindrome_976(i): t = i.lower().replace(' ', '') return t == t[::-1]
Checks whether the string i is a palindrome
def add_977(j, z): return j + z
Returns the sum of j and z
def sum_list_978(z): total = 0 for x in z: total += x return total
Returns the sum of elements in the list z
def contains_digit_979(z): for ch in z: if ch.isdigit(): return True return False
Checks if the string z contains any digit
def reverse_980(l): return l[::-1]
Reverses the string l
def sum_list_981(z): total = 0 for x in z: total += x return total
Returns the sum of elements in the list z
def add_982(j, i): return j + i
Returns the sum of j and i
def reverse_983(v): return v[::-1]
Reverses the string v
def sum_list_984(v): total = 0 for x in v: total += x return total
Returns the sum of elements in the list v
def reverse_985(f): return f[::-1]
Reverses the string f
def is_palindrome_986(m): t = m.lower().replace(' ', '') return t == t[::-1]
Checks whether the string m is a palindrome
def is_palindrome_987(d): t = d.lower().replace(' ', '') return t == t[::-1]
Checks whether the string d is a palindrome
def reverse_988(m): return m[::-1]
Reverses the string m
def add_989(g, l): return g + l
Returns the sum of g and l
def contains_digit_990(z): for ch in z: if ch.isdigit(): return True return False
Checks if the string z contains any digit
def is_palindrome_991(j): t = j.lower().replace(' ', '') return t == t[::-1]
Checks whether the string j is a palindrome
def add_992(h, q): return h + q
Returns the sum of h and q
def sum_list_993(l): total = 0 for x in l: total += x return total
Returns the sum of elements in the list l
def is_palindrome_994(s): t = s.lower().replace(' ', '') return t == t[::-1]
Checks whether the string s is a palindrome
def contains_digit_995(d): for ch in d: if ch.isdigit(): return True return False
Checks if the string d contains any digit
def is_palindrome_996(e): t = e.lower().replace(' ', '') return t == t[::-1]
Checks whether the string e is a palindrome
def contains_digit_997(u): for ch in u: if ch.isdigit(): return True return False
Checks if the string u contains any digit
def sum_list_998(c): total = 0 for x in c: total += x return total
Returns the sum of elements in the list c
def sum_list_999(a): total = 0 for x in a: total += x return total
Returns the sum of elements in the list a