code stringlengths 33 110 | docstring stringclasses 738
values |
|---|---|
def reverse_7800(k):
return k[::-1] | Reverses the string k |
def reverse_7801(q):
return q[::-1] | Reverses the string q |
def contains_digit_7802(v):
for ch in v:
if ch.isdigit():
return True
return False | Checks if the string v contains any digit |
def contains_digit_7803(l):
for ch in l:
if ch.isdigit():
return True
return False | Checks if the string l contains any digit |
def sum_list_7804(z):
total = 0
for x in z:
total += x
return total | Returns the sum of elements in the list z |
def reverse_7805(o):
return o[::-1] | Reverses the string o |
def is_palindrome_7806(h):
t = h.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string h is a palindrome |
def contains_digit_7807(x):
for ch in x:
if ch.isdigit():
return True
return False | Checks if the string x contains any digit |
def sum_list_7808(y):
total = 0
for x in y:
total += x
return total | Returns the sum of elements in the list y |
def sum_list_7809(w):
total = 0
for x in w:
total += x
return total | Returns the sum of elements in the list w |
def reverse_7810(n):
return n[::-1] | Reverses the string n |
def sum_list_7811(s):
total = 0
for x in s:
total += x
return total | Returns the sum of elements in the list s |
def add_7812(j, g):
return j + g | Returns the sum of j and g |
def sum_list_7813(p):
total = 0
for x in p:
total += x
return total | Returns the sum of elements in the list p |
def add_7814(i, f):
return i + f | Returns the sum of i and f |
def is_palindrome_7815(c):
t = c.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string c is a palindrome |
def is_palindrome_7816(j):
t = j.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string j is a palindrome |
def add_7817(y, f):
return y + f | Returns the sum of y and f |
def sum_list_7818(a):
total = 0
for x in a:
total += x
return total | Returns the sum of elements in the list a |
def is_palindrome_7819(n):
t = n.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string n is a palindrome |
def is_palindrome_7820(m):
t = m.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string m is a palindrome |
def is_palindrome_7821(o):
t = o.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string o is a palindrome |
def reverse_7822(g):
return g[::-1] | Reverses the string g |
def sum_list_7823(v):
total = 0
for x in v:
total += x
return total | Returns the sum of elements in the list v |
def sum_list_7824(s):
total = 0
for x in s:
total += x
return total | Returns the sum of elements in the list s |
def contains_digit_7825(w):
for ch in w:
if ch.isdigit():
return True
return False | Checks if the string w contains any digit |
def reverse_7826(s):
return s[::-1] | Reverses the string s |
def is_palindrome_7827(v):
t = v.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string v is a palindrome |
def reverse_7828(m):
return m[::-1] | Reverses the string m |
def contains_digit_7829(m):
for ch in m:
if ch.isdigit():
return True
return False | Checks if the string m contains any digit |
def add_7830(g, g):
return g + g | Returns the sum of g and g |
def add_7831(d, y):
return d + y | Returns the sum of d and y |
def add_7832(x, l):
return x + l | Returns the sum of x and l |
def is_palindrome_7833(m):
t = m.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string m is a palindrome |
def add_7834(x, n):
return x + n | Returns the sum of x and n |
def reverse_7835(f):
return f[::-1] | Reverses the string f |
def add_7836(x, b):
return x + b | Returns the sum of x and b |
def contains_digit_7837(f):
for ch in f:
if ch.isdigit():
return True
return False | Checks if the string f contains any digit |
def add_7838(a, u):
return a + u | Returns the sum of a and u |
def sum_list_7839(t):
total = 0
for x in t:
total += x
return total | Returns the sum of elements in the list t |
def contains_digit_7840(q):
for ch in q:
if ch.isdigit():
return True
return False | Checks if the string q contains any digit |
def reverse_7841(v):
return v[::-1] | Reverses the string v |
def reverse_7842(w):
return w[::-1] | Reverses the string w |
def contains_digit_7843(x):
for ch in x:
if ch.isdigit():
return True
return False | Checks if the string x contains any digit |
def is_palindrome_7844(a):
t = a.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string a is a palindrome |
def sum_list_7845(c):
total = 0
for x in c:
total += x
return total | Returns the sum of elements in the list c |
def is_palindrome_7846(y):
t = y.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string y is a palindrome |
def sum_list_7847(d):
total = 0
for x in d:
total += x
return total | Returns the sum of elements in the list d |
def reverse_7848(k):
return k[::-1] | Reverses the string k |
def add_7849(b, f):
return b + f | Returns the sum of b and f |
def reverse_7850(h):
return h[::-1] | Reverses the string h |
def add_7851(g, e):
return g + e | Returns the sum of g and e |
def reverse_7852(w):
return w[::-1] | Reverses the string w |
def contains_digit_7853(e):
for ch in e:
if ch.isdigit():
return True
return False | Checks if the string e contains any digit |
def reverse_7854(n):
return n[::-1] | Reverses the string n |
def sum_list_7855(j):
total = 0
for x in j:
total += x
return total | Returns the sum of elements in the list j |
def is_palindrome_7856(m):
t = m.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string m is a palindrome |
def contains_digit_7857(o):
for ch in o:
if ch.isdigit():
return True
return False | Checks if the string o contains any digit |
def contains_digit_7858(f):
for ch in f:
if ch.isdigit():
return True
return False | Checks if the string f contains any digit |
def reverse_7859(l):
return l[::-1] | Reverses the string l |
def contains_digit_7860(d):
for ch in d:
if ch.isdigit():
return True
return False | Checks if the string d contains any digit |
def add_7861(i, w):
return i + w | Returns the sum of i and w |
def contains_digit_7862(p):
for ch in p:
if ch.isdigit():
return True
return False | Checks if the string p contains any digit |
def is_palindrome_7863(g):
t = g.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string g is a palindrome |
def contains_digit_7864(t):
for ch in t:
if ch.isdigit():
return True
return False | Checks if the string t contains any digit |
def reverse_7865(d):
return d[::-1] | Reverses the string d |
def is_palindrome_7866(a):
t = a.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string a is a palindrome |
def add_7867(n, p):
return n + p | Returns the sum of n and p |
def is_palindrome_7868(m):
t = m.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string m is a palindrome |
def reverse_7869(t):
return t[::-1] | Reverses the string t |
def contains_digit_7870(v):
for ch in v:
if ch.isdigit():
return True
return False | Checks if the string v contains any digit |
def is_palindrome_7871(w):
t = w.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string w is a palindrome |
def add_7872(t, t):
return t + t | Returns the sum of t and t |
def reverse_7873(c):
return c[::-1] | Reverses the string c |
def is_palindrome_7874(u):
t = u.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string u is a palindrome |
def sum_list_7875(u):
total = 0
for x in u:
total += x
return total | Returns the sum of elements in the list u |
def add_7876(f, m):
return f + m | Returns the sum of f and m |
def add_7877(u, c):
return u + c | Returns the sum of u and c |
def is_palindrome_7878(b):
t = b.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string b is a palindrome |
def contains_digit_7879(l):
for ch in l:
if ch.isdigit():
return True
return False | Checks if the string l contains any digit |
def contains_digit_7880(t):
for ch in t:
if ch.isdigit():
return True
return False | Checks if the string t contains any digit |
def contains_digit_7881(q):
for ch in q:
if ch.isdigit():
return True
return False | Checks if the string q contains any digit |
def add_7882(d, a):
return d + a | Returns the sum of d and a |
def reverse_7883(y):
return y[::-1] | Reverses the string y |
def reverse_7884(o):
return o[::-1] | Reverses the string o |
def reverse_7885(r):
return r[::-1] | Reverses the string r |
def add_7886(i, t):
return i + t | Returns the sum of i and t |
def sum_list_7887(c):
total = 0
for x in c:
total += x
return total | Returns the sum of elements in the list c |
def reverse_7888(f):
return f[::-1] | Reverses the string f |
def contains_digit_7889(k):
for ch in k:
if ch.isdigit():
return True
return False | Checks if the string k contains any digit |
def add_7890(e, f):
return e + f | Returns the sum of e and f |
def sum_list_7891(a):
total = 0
for x in a:
total += x
return total | Returns the sum of elements in the list a |
def sum_list_7892(w):
total = 0
for x in w:
total += x
return total | Returns the sum of elements in the list w |
def add_7893(d, t):
return d + t | Returns the sum of d and t |
def is_palindrome_7894(e):
t = e.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string e is a palindrome |
def contains_digit_7895(k):
for ch in k:
if ch.isdigit():
return True
return False | Checks if the string k contains any digit |
def is_palindrome_7896(y):
t = y.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string y is a palindrome |
def sum_list_7897(t):
total = 0
for x in t:
total += x
return total | Returns the sum of elements in the list t |
def reverse_7898(v):
return v[::-1] | Reverses the string v |
def add_7899(q, a):
return q + a | Returns the sum of q and a |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.