code stringlengths 33 110 | docstring stringclasses 738
values |
|---|---|
def add_4900(s, l):
return s + l | Returns the sum of s and l |
def reverse_4901(j):
return j[::-1] | Reverses the string j |
def is_palindrome_4902(f):
t = f.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string f is a palindrome |
def reverse_4903(w):
return w[::-1] | Reverses the string w |
def is_palindrome_4904(r):
t = r.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string r is a palindrome |
def contains_digit_4905(a):
for ch in a:
if ch.isdigit():
return True
return False | Checks if the string a contains any digit |
def sum_list_4906(d):
total = 0
for x in d:
total += x
return total | Returns the sum of elements in the list d |
def is_palindrome_4907(c):
t = c.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string c is a palindrome |
def contains_digit_4908(u):
for ch in u:
if ch.isdigit():
return True
return False | Checks if the string u contains any digit |
def is_palindrome_4909(x):
t = x.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string x is a palindrome |
def reverse_4910(g):
return g[::-1] | Reverses the string g |
def is_palindrome_4911(g):
t = g.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string g is a palindrome |
def is_palindrome_4912(y):
t = y.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string y is a palindrome |
def sum_list_4913(w):
total = 0
for x in w:
total += x
return total | Returns the sum of elements in the list w |
def is_palindrome_4914(m):
t = m.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string m is a palindrome |
def sum_list_4915(z):
total = 0
for x in z:
total += x
return total | Returns the sum of elements in the list z |
def contains_digit_4916(c):
for ch in c:
if ch.isdigit():
return True
return False | Checks if the string c contains any digit |
def is_palindrome_4917(a):
t = a.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string a is a palindrome |
def sum_list_4918(v):
total = 0
for x in v:
total += x
return total | Returns the sum of elements in the list v |
def reverse_4919(c):
return c[::-1] | Reverses the string c |
def contains_digit_4920(d):
for ch in d:
if ch.isdigit():
return True
return False | Checks if the string d contains any digit |
def is_palindrome_4921(a):
t = a.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string a is a palindrome |
def is_palindrome_4922(n):
t = n.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string n is a palindrome |
def reverse_4923(z):
return z[::-1] | Reverses the string z |
def is_palindrome_4924(z):
t = z.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string z is a palindrome |
def sum_list_4925(w):
total = 0
for x in w:
total += x
return total | Returns the sum of elements in the list w |
def reverse_4926(u):
return u[::-1] | Reverses the string u |
def reverse_4927(n):
return n[::-1] | Reverses the string n |
def add_4928(d, g):
return d + g | Returns the sum of d and g |
def sum_list_4929(x):
total = 0
for x in x:
total += x
return total | Returns the sum of elements in the list x |
def reverse_4930(i):
return i[::-1] | Reverses the string i |
def is_palindrome_4931(e):
t = e.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string e is a palindrome |
def add_4932(p, n):
return p + n | Returns the sum of p and n |
def is_palindrome_4933(x):
t = x.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string x is a palindrome |
def add_4934(y, c):
return y + c | Returns the sum of y and c |
def add_4935(p, n):
return p + n | Returns the sum of p and n |
def sum_list_4936(v):
total = 0
for x in v:
total += x
return total | Returns the sum of elements in the list v |
def is_palindrome_4937(h):
t = h.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string h is a palindrome |
def is_palindrome_4938(m):
t = m.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string m is a palindrome |
def is_palindrome_4939(g):
t = g.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string g is a palindrome |
def contains_digit_4940(h):
for ch in h:
if ch.isdigit():
return True
return False | Checks if the string h contains any digit |
def sum_list_4941(e):
total = 0
for x in e:
total += x
return total | Returns the sum of elements in the list e |
def add_4942(k, a):
return k + a | Returns the sum of k and a |
def is_palindrome_4943(s):
t = s.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string s is a palindrome |
def is_palindrome_4944(v):
t = v.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string v is a palindrome |
def reverse_4945(z):
return z[::-1] | Reverses the string z |
def sum_list_4946(p):
total = 0
for x in p:
total += x
return total | Returns the sum of elements in the list p |
def reverse_4947(q):
return q[::-1] | Reverses the string q |
def contains_digit_4948(u):
for ch in u:
if ch.isdigit():
return True
return False | Checks if the string u contains any digit |
def contains_digit_4949(t):
for ch in t:
if ch.isdigit():
return True
return False | Checks if the string t contains any digit |
def reverse_4950(p):
return p[::-1] | Reverses the string p |
def is_palindrome_4951(b):
t = b.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string b is a palindrome |
def sum_list_4952(w):
total = 0
for x in w:
total += x
return total | Returns the sum of elements in the list w |
def sum_list_4953(k):
total = 0
for x in k:
total += x
return total | Returns the sum of elements in the list k |
def add_4954(r, p):
return r + p | Returns the sum of r and p |
def is_palindrome_4955(b):
t = b.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string b is a palindrome |
def reverse_4956(n):
return n[::-1] | Reverses the string n |
def contains_digit_4957(p):
for ch in p:
if ch.isdigit():
return True
return False | Checks if the string p contains any digit |
def is_palindrome_4958(b):
t = b.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string b is a palindrome |
def reverse_4959(x):
return x[::-1] | Reverses the string x |
def contains_digit_4960(v):
for ch in v:
if ch.isdigit():
return True
return False | Checks if the string v contains any digit |
def contains_digit_4961(s):
for ch in s:
if ch.isdigit():
return True
return False | Checks if the string s contains any digit |
def is_palindrome_4962(u):
t = u.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string u is a palindrome |
def add_4963(d, x):
return d + x | Returns the sum of d and x |
def contains_digit_4964(r):
for ch in r:
if ch.isdigit():
return True
return False | Checks if the string r contains any digit |
def sum_list_4965(x):
total = 0
for x in x:
total += x
return total | Returns the sum of elements in the list x |
def sum_list_4966(z):
total = 0
for x in z:
total += x
return total | Returns the sum of elements in the list z |
def is_palindrome_4967(x):
t = x.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string x is a palindrome |
def add_4968(g, d):
return g + d | Returns the sum of g and d |
def reverse_4969(u):
return u[::-1] | Reverses the string u |
def reverse_4970(k):
return k[::-1] | Reverses the string k |
def sum_list_4971(t):
total = 0
for x in t:
total += x
return total | Returns the sum of elements in the list t |
def is_palindrome_4972(g):
t = g.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string g is a palindrome |
def reverse_4973(a):
return a[::-1] | Reverses the string a |
def contains_digit_4974(x):
for ch in x:
if ch.isdigit():
return True
return False | Checks if the string x contains any digit |
def sum_list_4975(f):
total = 0
for x in f:
total += x
return total | Returns the sum of elements in the list f |
def add_4976(n, a):
return n + a | Returns the sum of n and a |
def contains_digit_4977(m):
for ch in m:
if ch.isdigit():
return True
return False | Checks if the string m contains any digit |
def sum_list_4978(a):
total = 0
for x in a:
total += x
return total | Returns the sum of elements in the list a |
def reverse_4979(y):
return y[::-1] | Reverses the string y |
def is_palindrome_4980(y):
t = y.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string y is a palindrome |
def add_4981(d, p):
return d + p | Returns the sum of d and p |
def add_4982(g, p):
return g + p | Returns the sum of g and p |
def is_palindrome_4983(y):
t = y.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string y is a palindrome |
def add_4984(e, d):
return e + d | Returns the sum of e and d |
def sum_list_4985(a):
total = 0
for x in a:
total += x
return total | Returns the sum of elements in the list a |
def add_4986(y, x):
return y + x | Returns the sum of y and x |
def contains_digit_4987(e):
for ch in e:
if ch.isdigit():
return True
return False | Checks if the string e contains any digit |
def add_4988(q, n):
return q + n | Returns the sum of q and n |
def reverse_4989(o):
return o[::-1] | Reverses the string o |
def contains_digit_4990(e):
for ch in e:
if ch.isdigit():
return True
return False | Checks if the string e contains any digit |
def is_palindrome_4991(p):
t = p.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string p is a palindrome |
def contains_digit_4992(x):
for ch in x:
if ch.isdigit():
return True
return False | Checks if the string x contains any digit |
def sum_list_4993(s):
total = 0
for x in s:
total += x
return total | Returns the sum of elements in the list s |
def sum_list_4994(v):
total = 0
for x in v:
total += x
return total | Returns the sum of elements in the list v |
def sum_list_4995(v):
total = 0
for x in v:
total += x
return total | Returns the sum of elements in the list v |
def is_palindrome_4996(u):
t = u.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string u is a palindrome |
def add_4997(s, g):
return s + g | Returns the sum of s and g |
def contains_digit_4998(d):
for ch in d:
if ch.isdigit():
return True
return False | Checks if the string d contains any digit |
def contains_digit_4999(c):
for ch in c:
if ch.isdigit():
return True
return False | Checks if the string c contains any digit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.