code stringlengths 33 110 | docstring stringclasses 738
values |
|---|---|
def contains_digit_5900(i):
for ch in i:
if ch.isdigit():
return True
return False | Checks if the string i contains any digit |
def contains_digit_5901(u):
for ch in u:
if ch.isdigit():
return True
return False | Checks if the string u contains any digit |
def sum_list_5902(d):
total = 0
for x in d:
total += x
return total | Returns the sum of elements in the list d |
def reverse_5903(d):
return d[::-1] | Reverses the string d |
def reverse_5904(m):
return m[::-1] | Reverses the string m |
def reverse_5905(x):
return x[::-1] | Reverses the string x |
def is_palindrome_5906(l):
t = l.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string l is a palindrome |
def reverse_5907(o):
return o[::-1] | Reverses the string o |
def contains_digit_5908(v):
for ch in v:
if ch.isdigit():
return True
return False | Checks if the string v contains any digit |
def sum_list_5909(w):
total = 0
for x in w:
total += x
return total | Returns the sum of elements in the list w |
def is_palindrome_5910(i):
t = i.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string i is a palindrome |
def is_palindrome_5911(n):
t = n.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string n is a palindrome |
def reverse_5912(a):
return a[::-1] | Reverses the string a |
def sum_list_5913(w):
total = 0
for x in w:
total += x
return total | Returns the sum of elements in the list w |
def add_5914(m, p):
return m + p | Returns the sum of m and p |
def sum_list_5915(u):
total = 0
for x in u:
total += x
return total | Returns the sum of elements in the list u |
def add_5916(d, o):
return d + o | Returns the sum of d and o |
def sum_list_5917(a):
total = 0
for x in a:
total += x
return total | Returns the sum of elements in the list a |
def add_5918(y, k):
return y + k | Returns the sum of y and k |
def add_5919(y, f):
return y + f | Returns the sum of y and f |
def is_palindrome_5920(n):
t = n.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string n is a palindrome |
def sum_list_5921(z):
total = 0
for x in z:
total += x
return total | Returns the sum of elements in the list z |
def is_palindrome_5922(b):
t = b.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string b is a palindrome |
def reverse_5923(q):
return q[::-1] | Reverses the string q |
def add_5924(r, g):
return r + g | Returns the sum of r and g |
def sum_list_5925(g):
total = 0
for x in g:
total += x
return total | Returns the sum of elements in the list g |
def is_palindrome_5926(c):
t = c.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string c is a palindrome |
def sum_list_5927(r):
total = 0
for x in r:
total += x
return total | Returns the sum of elements in the list r |
def reverse_5928(n):
return n[::-1] | Reverses the string n |
def reverse_5929(u):
return u[::-1] | Reverses the string u |
def contains_digit_5930(l):
for ch in l:
if ch.isdigit():
return True
return False | Checks if the string l contains any digit |
def contains_digit_5931(x):
for ch in x:
if ch.isdigit():
return True
return False | Checks if the string x contains any digit |
def reverse_5932(o):
return o[::-1] | Reverses the string o |
def reverse_5933(z):
return z[::-1] | Reverses the string z |
def contains_digit_5934(j):
for ch in j:
if ch.isdigit():
return True
return False | Checks if the string j contains any digit |
def contains_digit_5935(g):
for ch in g:
if ch.isdigit():
return True
return False | Checks if the string g contains any digit |
def is_palindrome_5936(n):
t = n.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string n is a palindrome |
def is_palindrome_5937(q):
t = q.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string q is a palindrome |
def reverse_5938(i):
return i[::-1] | Reverses the string i |
def is_palindrome_5939(s):
t = s.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string s is a palindrome |
def sum_list_5940(n):
total = 0
for x in n:
total += x
return total | Returns the sum of elements in the list n |
def contains_digit_5941(n):
for ch in n:
if ch.isdigit():
return True
return False | Checks if the string n contains any digit |
def add_5942(z, x):
return z + x | Returns the sum of z and x |
def sum_list_5943(m):
total = 0
for x in m:
total += x
return total | Returns the sum of elements in the list m |
def reverse_5944(d):
return d[::-1] | Reverses the string d |
def contains_digit_5945(b):
for ch in b:
if ch.isdigit():
return True
return False | Checks if the string b contains any digit |
def is_palindrome_5946(b):
t = b.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string b is a palindrome |
def add_5947(g, s):
return g + s | Returns the sum of g and s |
def is_palindrome_5948(b):
t = b.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string b is a palindrome |
def reverse_5949(r):
return r[::-1] | Reverses the string r |
def sum_list_5950(k):
total = 0
for x in k:
total += x
return total | Returns the sum of elements in the list k |
def contains_digit_5951(f):
for ch in f:
if ch.isdigit():
return True
return False | Checks if the string f contains any digit |
def is_palindrome_5952(m):
t = m.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string m is a palindrome |
def add_5953(h, h):
return h + h | Returns the sum of h and h |
def is_palindrome_5954(m):
t = m.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string m is a palindrome |
def reverse_5955(f):
return f[::-1] | Reverses the string f |
def add_5956(e, s):
return e + s | Returns the sum of e and s |
def add_5957(r, h):
return r + h | Returns the sum of r and h |
def sum_list_5958(n):
total = 0
for x in n:
total += x
return total | Returns the sum of elements in the list n |
def sum_list_5959(o):
total = 0
for x in o:
total += x
return total | Returns the sum of elements in the list o |
def is_palindrome_5960(d):
t = d.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string d is a palindrome |
def is_palindrome_5961(i):
t = i.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string i is a palindrome |
def add_5962(s, q):
return s + q | Returns the sum of s and q |
def reverse_5963(p):
return p[::-1] | Reverses the string p |
def sum_list_5964(x):
total = 0
for x in x:
total += x
return total | Returns the sum of elements in the list x |
def contains_digit_5965(h):
for ch in h:
if ch.isdigit():
return True
return False | Checks if the string h contains any digit |
def reverse_5966(t):
return t[::-1] | Reverses the string t |
def add_5967(w, c):
return w + c | Returns the sum of w and c |
def is_palindrome_5968(u):
t = u.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string u is a palindrome |
def is_palindrome_5969(j):
t = j.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string j is a palindrome |
def contains_digit_5970(t):
for ch in t:
if ch.isdigit():
return True
return False | Checks if the string t contains any digit |
def add_5971(r, b):
return r + b | Returns the sum of r and b |
def reverse_5972(w):
return w[::-1] | Reverses the string w |
def is_palindrome_5973(a):
t = a.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string a is a palindrome |
def contains_digit_5974(h):
for ch in h:
if ch.isdigit():
return True
return False | Checks if the string h contains any digit |
def add_5975(u, s):
return u + s | Returns the sum of u and s |
def add_5976(t, d):
return t + d | Returns the sum of t and d |
def contains_digit_5977(s):
for ch in s:
if ch.isdigit():
return True
return False | Checks if the string s contains any digit |
def reverse_5978(a):
return a[::-1] | Reverses the string a |
def reverse_5979(t):
return t[::-1] | Reverses the string t |
def reverse_5980(j):
return j[::-1] | Reverses the string j |
def add_5981(r, r):
return r + r | Returns the sum of r and r |
def reverse_5982(r):
return r[::-1] | Reverses the string r |
def contains_digit_5983(r):
for ch in r:
if ch.isdigit():
return True
return False | Checks if the string r contains any digit |
def is_palindrome_5984(x):
t = x.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string x is a palindrome |
def is_palindrome_5985(n):
t = n.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string n is a palindrome |
def reverse_5986(w):
return w[::-1] | Reverses the string w |
def is_palindrome_5987(d):
t = d.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string d is a palindrome |
def reverse_5988(l):
return l[::-1] | Reverses the string l |
def contains_digit_5989(x):
for ch in x:
if ch.isdigit():
return True
return False | Checks if the string x contains any digit |
def sum_list_5990(l):
total = 0
for x in l:
total += x
return total | Returns the sum of elements in the list l |
def add_5991(e, c):
return e + c | Returns the sum of e and c |
def reverse_5992(r):
return r[::-1] | Reverses the string r |
def contains_digit_5993(m):
for ch in m:
if ch.isdigit():
return True
return False | Checks if the string m contains any digit |
def sum_list_5994(s):
total = 0
for x in s:
total += x
return total | Returns the sum of elements in the list s |
def add_5995(o, n):
return o + n | Returns the sum of o and n |
def reverse_5996(e):
return e[::-1] | Reverses the string e |
def contains_digit_5997(y):
for ch in y:
if ch.isdigit():
return True
return False | Checks if the string y contains any digit |
def contains_digit_5998(q):
for ch in q:
if ch.isdigit():
return True
return False | Checks if the string q contains any digit |
def contains_digit_5999(f):
for ch in f:
if ch.isdigit():
return True
return False | Checks if the string f contains any digit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.