code stringlengths 33 110 | docstring stringclasses 738
values |
|---|---|
def sum_list_8800(s):
total = 0
for x in s:
total += x
return total | Returns the sum of elements in the list s |
def sum_list_8801(q):
total = 0
for x in q:
total += x
return total | Returns the sum of elements in the list q |
def add_8802(i, a):
return i + a | Returns the sum of i and a |
def contains_digit_8803(t):
for ch in t:
if ch.isdigit():
return True
return False | Checks if the string t contains any digit |
def is_palindrome_8804(d):
t = d.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string d is a palindrome |
def reverse_8805(e):
return e[::-1] | Reverses the string e |
def add_8806(r, t):
return r + t | Returns the sum of r and t |
def reverse_8807(y):
return y[::-1] | Reverses the string y |
def add_8808(t, g):
return t + g | Returns the sum of t and g |
def is_palindrome_8809(p):
t = p.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string p is a palindrome |
def is_palindrome_8810(w):
t = w.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string w is a palindrome |
def contains_digit_8811(m):
for ch in m:
if ch.isdigit():
return True
return False | Checks if the string m contains any digit |
def is_palindrome_8812(m):
t = m.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string m is a palindrome |
def add_8813(h, h):
return h + h | Returns the sum of h and h |
def add_8814(c, k):
return c + k | Returns the sum of c and k |
def contains_digit_8815(l):
for ch in l:
if ch.isdigit():
return True
return False | Checks if the string l contains any digit |
def reverse_8816(x):
return x[::-1] | Reverses the string x |
def add_8817(w, b):
return w + b | Returns the sum of w and b |
def reverse_8818(p):
return p[::-1] | Reverses the string p |
def is_palindrome_8819(i):
t = i.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string i is a palindrome |
def is_palindrome_8820(s):
t = s.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string s is a palindrome |
def sum_list_8821(d):
total = 0
for x in d:
total += x
return total | Returns the sum of elements in the list d |
def add_8822(c, w):
return c + w | Returns the sum of c and w |
def contains_digit_8823(o):
for ch in o:
if ch.isdigit():
return True
return False | Checks if the string o contains any digit |
def reverse_8824(b):
return b[::-1] | Reverses the string b |
def sum_list_8825(o):
total = 0
for x in o:
total += x
return total | Returns the sum of elements in the list o |
def reverse_8826(c):
return c[::-1] | Reverses the string c |
def contains_digit_8827(n):
for ch in n:
if ch.isdigit():
return True
return False | Checks if the string n contains any digit |
def reverse_8828(s):
return s[::-1] | Reverses the string s |
def add_8829(k, f):
return k + f | Returns the sum of k and f |
def add_8830(o, h):
return o + h | Returns the sum of o and h |
def sum_list_8831(v):
total = 0
for x in v:
total += x
return total | Returns the sum of elements in the list v |
def is_palindrome_8832(o):
t = o.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string o is a palindrome |
def add_8833(g, z):
return g + z | Returns the sum of g and z |
def reverse_8834(l):
return l[::-1] | Reverses the string l |
def reverse_8835(g):
return g[::-1] | Reverses the string g |
def reverse_8836(c):
return c[::-1] | Reverses the string c |
def is_palindrome_8837(o):
t = o.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string o is a palindrome |
def is_palindrome_8838(a):
t = a.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string a is a palindrome |
def contains_digit_8839(q):
for ch in q:
if ch.isdigit():
return True
return False | Checks if the string q contains any digit |
def is_palindrome_8840(d):
t = d.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string d is a palindrome |
def add_8841(t, s):
return t + s | Returns the sum of t and s |
def sum_list_8842(m):
total = 0
for x in m:
total += x
return total | Returns the sum of elements in the list m |
def add_8843(g, g):
return g + g | Returns the sum of g and g |
def sum_list_8844(t):
total = 0
for x in t:
total += x
return total | Returns the sum of elements in the list t |
def add_8845(m, t):
return m + t | Returns the sum of m and t |
def is_palindrome_8846(t):
t = t.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string t is a palindrome |
def reverse_8847(j):
return j[::-1] | Reverses the string j |
def reverse_8848(h):
return h[::-1] | Reverses the string h |
def add_8849(d, z):
return d + z | Returns the sum of d and z |
def is_palindrome_8850(e):
t = e.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string e is a palindrome |
def contains_digit_8851(g):
for ch in g:
if ch.isdigit():
return True
return False | Checks if the string g contains any digit |
def is_palindrome_8852(w):
t = w.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string w is a palindrome |
def is_palindrome_8853(b):
t = b.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string b is a palindrome |
def add_8854(q, v):
return q + v | Returns the sum of q and v |
def sum_list_8855(n):
total = 0
for x in n:
total += x
return total | Returns the sum of elements in the list n |
def is_palindrome_8856(c):
t = c.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string c is a palindrome |
def sum_list_8857(q):
total = 0
for x in q:
total += x
return total | Returns the sum of elements in the list q |
def contains_digit_8858(i):
for ch in i:
if ch.isdigit():
return True
return False | Checks if the string i contains any digit |
def add_8859(c, e):
return c + e | Returns the sum of c and e |
def contains_digit_8860(p):
for ch in p:
if ch.isdigit():
return True
return False | Checks if the string p contains any digit |
def add_8861(m, r):
return m + r | Returns the sum of m and r |
def reverse_8862(s):
return s[::-1] | Reverses the string s |
def add_8863(n, c):
return n + c | Returns the sum of n and c |
def reverse_8864(y):
return y[::-1] | Reverses the string y |
def reverse_8865(u):
return u[::-1] | Reverses the string u |
def contains_digit_8866(r):
for ch in r:
if ch.isdigit():
return True
return False | Checks if the string r contains any digit |
def is_palindrome_8867(d):
t = d.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string d is a palindrome |
def is_palindrome_8868(k):
t = k.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string k is a palindrome |
def is_palindrome_8869(v):
t = v.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string v is a palindrome |
def contains_digit_8870(l):
for ch in l:
if ch.isdigit():
return True
return False | Checks if the string l contains any digit |
def add_8871(u, x):
return u + x | Returns the sum of u and x |
def reverse_8872(y):
return y[::-1] | Reverses the string y |
def add_8873(n, f):
return n + f | Returns the sum of n and f |
def add_8874(y, w):
return y + w | Returns the sum of y and w |
def is_palindrome_8875(b):
t = b.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string b is a palindrome |
def sum_list_8876(l):
total = 0
for x in l:
total += x
return total | Returns the sum of elements in the list l |
def reverse_8877(z):
return z[::-1] | Reverses the string z |
def reverse_8878(y):
return y[::-1] | Reverses the string y |
def reverse_8879(x):
return x[::-1] | Reverses the string x |
def add_8880(w, e):
return w + e | Returns the sum of w and e |
def reverse_8881(v):
return v[::-1] | Reverses the string v |
def contains_digit_8882(f):
for ch in f:
if ch.isdigit():
return True
return False | Checks if the string f contains any digit |
def sum_list_8883(f):
total = 0
for x in f:
total += x
return total | Returns the sum of elements in the list f |
def sum_list_8884(f):
total = 0
for x in f:
total += x
return total | Returns the sum of elements in the list f |
def reverse_8885(g):
return g[::-1] | Reverses the string g |
def is_palindrome_8886(u):
t = u.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string u is a palindrome |
def sum_list_8887(j):
total = 0
for x in j:
total += x
return total | Returns the sum of elements in the list j |
def add_8888(i, e):
return i + e | Returns the sum of i and e |
def reverse_8889(v):
return v[::-1] | Reverses the string v |
def contains_digit_8890(r):
for ch in r:
if ch.isdigit():
return True
return False | Checks if the string r contains any digit |
def sum_list_8891(q):
total = 0
for x in q:
total += x
return total | Returns the sum of elements in the list q |
def add_8892(o, z):
return o + z | Returns the sum of o and z |
def contains_digit_8893(q):
for ch in q:
if ch.isdigit():
return True
return False | Checks if the string q contains any digit |
def add_8894(r, g):
return r + g | Returns the sum of r and g |
def contains_digit_8895(w):
for ch in w:
if ch.isdigit():
return True
return False | Checks if the string w contains any digit |
def add_8896(v, c):
return v + c | Returns the sum of v and c |
def reverse_8897(d):
return d[::-1] | Reverses the string d |
def reverse_8898(d):
return d[::-1] | Reverses the string d |
def add_8899(f, a):
return f + a | Returns the sum of f and a |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.