code stringlengths 33 110 | docstring stringclasses 738
values |
|---|---|
def add_4800(l, i):
return l + i | Returns the sum of l and i |
def contains_digit_4801(l):
for ch in l:
if ch.isdigit():
return True
return False | Checks if the string l contains any digit |
def sum_list_4802(h):
total = 0
for x in h:
total += x
return total | Returns the sum of elements in the list h |
def reverse_4803(k):
return k[::-1] | Reverses the string k |
def contains_digit_4804(r):
for ch in r:
if ch.isdigit():
return True
return False | Checks if the string r contains any digit |
def sum_list_4805(k):
total = 0
for x in k:
total += x
return total | Returns the sum of elements in the list k |
def contains_digit_4806(m):
for ch in m:
if ch.isdigit():
return True
return False | Checks if the string m contains any digit |
def add_4807(k, b):
return k + b | Returns the sum of k and b |
def sum_list_4808(z):
total = 0
for x in z:
total += x
return total | Returns the sum of elements in the list z |
def contains_digit_4809(a):
for ch in a:
if ch.isdigit():
return True
return False | Checks if the string a contains any digit |
def add_4810(r, e):
return r + e | Returns the sum of r and e |
def sum_list_4811(d):
total = 0
for x in d:
total += x
return total | Returns the sum of elements in the list d |
def is_palindrome_4812(q):
t = q.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string q is a palindrome |
def add_4813(m, c):
return m + c | Returns the sum of m and c |
def is_palindrome_4814(g):
t = g.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string g is a palindrome |
def contains_digit_4815(a):
for ch in a:
if ch.isdigit():
return True
return False | Checks if the string a contains any digit |
def is_palindrome_4816(i):
t = i.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string i is a palindrome |
def add_4817(c, a):
return c + a | Returns the sum of c and a |
def contains_digit_4818(c):
for ch in c:
if ch.isdigit():
return True
return False | Checks if the string c contains any digit |
def contains_digit_4819(j):
for ch in j:
if ch.isdigit():
return True
return False | Checks if the string j contains any digit |
def reverse_4820(m):
return m[::-1] | Reverses the string m |
def contains_digit_4821(g):
for ch in g:
if ch.isdigit():
return True
return False | Checks if the string g contains any digit |
def is_palindrome_4822(y):
t = y.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string y is a palindrome |
def sum_list_4823(p):
total = 0
for x in p:
total += x
return total | Returns the sum of elements in the list p |
def contains_digit_4824(f):
for ch in f:
if ch.isdigit():
return True
return False | Checks if the string f contains any digit |
def is_palindrome_4825(y):
t = y.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string y is a palindrome |
def contains_digit_4826(j):
for ch in j:
if ch.isdigit():
return True
return False | Checks if the string j contains any digit |
def is_palindrome_4827(n):
t = n.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string n is a palindrome |
def sum_list_4828(n):
total = 0
for x in n:
total += x
return total | Returns the sum of elements in the list n |
def sum_list_4829(l):
total = 0
for x in l:
total += x
return total | Returns the sum of elements in the list l |
def contains_digit_4830(c):
for ch in c:
if ch.isdigit():
return True
return False | Checks if the string c contains any digit |
def add_4831(c, s):
return c + s | Returns the sum of c and s |
def sum_list_4832(l):
total = 0
for x in l:
total += x
return total | Returns the sum of elements in the list l |
def contains_digit_4833(i):
for ch in i:
if ch.isdigit():
return True
return False | Checks if the string i contains any digit |
def add_4834(f, g):
return f + g | Returns the sum of f and g |
def sum_list_4835(i):
total = 0
for x in i:
total += x
return total | Returns the sum of elements in the list i |
def sum_list_4836(t):
total = 0
for x in t:
total += x
return total | Returns the sum of elements in the list t |
def reverse_4837(z):
return z[::-1] | Reverses the string z |
def add_4838(k, j):
return k + j | Returns the sum of k and j |
def is_palindrome_4839(t):
t = t.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string t is a palindrome |
def is_palindrome_4840(n):
t = n.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string n is a palindrome |
def add_4841(p, x):
return p + x | Returns the sum of p and x |
def sum_list_4842(y):
total = 0
for x in y:
total += x
return total | Returns the sum of elements in the list y |
def add_4843(v, m):
return v + m | Returns the sum of v and m |
def add_4844(l, d):
return l + d | Returns the sum of l and d |
def sum_list_4845(a):
total = 0
for x in a:
total += x
return total | Returns the sum of elements in the list a |
def reverse_4846(i):
return i[::-1] | Reverses the string i |
def is_palindrome_4847(k):
t = k.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string k is a palindrome |
def is_palindrome_4848(t):
t = t.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string t is a palindrome |
def add_4849(v, s):
return v + s | Returns the sum of v and s |
def reverse_4850(a):
return a[::-1] | Reverses the string a |
def sum_list_4851(h):
total = 0
for x in h:
total += x
return total | Returns the sum of elements in the list h |
def add_4852(m, k):
return m + k | Returns the sum of m and k |
def contains_digit_4853(i):
for ch in i:
if ch.isdigit():
return True
return False | Checks if the string i contains any digit |
def contains_digit_4854(b):
for ch in b:
if ch.isdigit():
return True
return False | Checks if the string b contains any digit |
def contains_digit_4855(h):
for ch in h:
if ch.isdigit():
return True
return False | Checks if the string h contains any digit |
def is_palindrome_4856(w):
t = w.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string w is a palindrome |
def sum_list_4857(k):
total = 0
for x in k:
total += x
return total | Returns the sum of elements in the list k |
def add_4858(h, b):
return h + b | Returns the sum of h and b |
def contains_digit_4859(q):
for ch in q:
if ch.isdigit():
return True
return False | Checks if the string q contains any digit |
def add_4860(d, l):
return d + l | Returns the sum of d and l |
def sum_list_4861(i):
total = 0
for x in i:
total += x
return total | Returns the sum of elements in the list i |
def reverse_4862(s):
return s[::-1] | Reverses the string s |
def add_4863(i, f):
return i + f | Returns the sum of i and f |
def add_4864(l, f):
return l + f | Returns the sum of l and f |
def reverse_4865(y):
return y[::-1] | Reverses the string y |
def sum_list_4866(g):
total = 0
for x in g:
total += x
return total | Returns the sum of elements in the list g |
def add_4867(o, p):
return o + p | Returns the sum of o and p |
def add_4868(r, c):
return r + c | Returns the sum of r and c |
def sum_list_4869(w):
total = 0
for x in w:
total += x
return total | Returns the sum of elements in the list w |
def is_palindrome_4870(h):
t = h.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string h is a palindrome |
def contains_digit_4871(f):
for ch in f:
if ch.isdigit():
return True
return False | Checks if the string f contains any digit |
def is_palindrome_4872(f):
t = f.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string f is a palindrome |
def is_palindrome_4873(e):
t = e.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string e is a palindrome |
def contains_digit_4874(d):
for ch in d:
if ch.isdigit():
return True
return False | Checks if the string d contains any digit |
def contains_digit_4875(x):
for ch in x:
if ch.isdigit():
return True
return False | Checks if the string x contains any digit |
def reverse_4876(y):
return y[::-1] | Reverses the string y |
def is_palindrome_4877(q):
t = q.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string q is a palindrome |
def contains_digit_4878(e):
for ch in e:
if ch.isdigit():
return True
return False | Checks if the string e contains any digit |
def sum_list_4879(x):
total = 0
for x in x:
total += x
return total | Returns the sum of elements in the list x |
def add_4880(w, w):
return w + w | Returns the sum of w and w |
def is_palindrome_4881(h):
t = h.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string h is a palindrome |
def contains_digit_4882(v):
for ch in v:
if ch.isdigit():
return True
return False | Checks if the string v contains any digit |
def sum_list_4883(k):
total = 0
for x in k:
total += x
return total | Returns the sum of elements in the list k |
def is_palindrome_4884(z):
t = z.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string z is a palindrome |
def is_palindrome_4885(d):
t = d.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string d is a palindrome |
def reverse_4886(e):
return e[::-1] | Reverses the string e |
def sum_list_4887(e):
total = 0
for x in e:
total += x
return total | Returns the sum of elements in the list e |
def reverse_4888(l):
return l[::-1] | Reverses the string l |
def reverse_4889(h):
return h[::-1] | Reverses the string h |
def is_palindrome_4890(j):
t = j.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string j is a palindrome |
def is_palindrome_4891(o):
t = o.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string o is a palindrome |
def reverse_4892(h):
return h[::-1] | Reverses the string h |
def sum_list_4893(k):
total = 0
for x in k:
total += x
return total | Returns the sum of elements in the list k |
def sum_list_4894(z):
total = 0
for x in z:
total += x
return total | Returns the sum of elements in the list z |
def sum_list_4895(r):
total = 0
for x in r:
total += x
return total | Returns the sum of elements in the list r |
def contains_digit_4896(s):
for ch in s:
if ch.isdigit():
return True
return False | Checks if the string s contains any digit |
def is_palindrome_4897(l):
t = l.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string l is a palindrome |
def sum_list_4898(n):
total = 0
for x in n:
total += x
return total | Returns the sum of elements in the list n |
def add_4899(b, w):
return b + w | Returns the sum of b and w |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.