code stringlengths 33 110 | docstring stringclasses 738
values |
|---|---|
def add_9500(n, h):
return n + h | Returns the sum of n and h |
def add_9501(n, u):
return n + u | Returns the sum of n and u |
def add_9502(k, o):
return k + o | Returns the sum of k and o |
def is_palindrome_9503(b):
t = b.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string b is a palindrome |
def add_9504(s, p):
return s + p | Returns the sum of s and p |
def add_9505(j, y):
return j + y | Returns the sum of j and y |
def reverse_9506(o):
return o[::-1] | Reverses the string o |
def contains_digit_9507(a):
for ch in a:
if ch.isdigit():
return True
return False | Checks if the string a contains any digit |
def reverse_9508(d):
return d[::-1] | Reverses the string d |
def reverse_9509(a):
return a[::-1] | Reverses the string a |
def add_9510(y, y):
return y + y | Returns the sum of y and y |
def reverse_9511(c):
return c[::-1] | Reverses the string c |
def reverse_9512(y):
return y[::-1] | Reverses the string y |
def reverse_9513(c):
return c[::-1] | Reverses the string c |
def is_palindrome_9514(u):
t = u.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string u is a palindrome |
def sum_list_9515(o):
total = 0
for x in o:
total += x
return total | Returns the sum of elements in the list o |
def reverse_9516(o):
return o[::-1] | Reverses the string o |
def contains_digit_9517(t):
for ch in t:
if ch.isdigit():
return True
return False | Checks if the string t contains any digit |
def sum_list_9518(t):
total = 0
for x in t:
total += x
return total | Returns the sum of elements in the list t |
def contains_digit_9519(u):
for ch in u:
if ch.isdigit():
return True
return False | Checks if the string u contains any digit |
def add_9520(t, n):
return t + n | Returns the sum of t and n |
def contains_digit_9521(n):
for ch in n:
if ch.isdigit():
return True
return False | Checks if the string n contains any digit |
def contains_digit_9522(x):
for ch in x:
if ch.isdigit():
return True
return False | Checks if the string x contains any digit |
def sum_list_9523(j):
total = 0
for x in j:
total += x
return total | Returns the sum of elements in the list j |
def contains_digit_9524(m):
for ch in m:
if ch.isdigit():
return True
return False | Checks if the string m contains any digit |
def is_palindrome_9525(e):
t = e.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string e is a palindrome |
def sum_list_9526(h):
total = 0
for x in h:
total += x
return total | Returns the sum of elements in the list h |
def contains_digit_9527(e):
for ch in e:
if ch.isdigit():
return True
return False | Checks if the string e contains any digit |
def is_palindrome_9528(r):
t = r.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string r is a palindrome |
def sum_list_9529(a):
total = 0
for x in a:
total += x
return total | Returns the sum of elements in the list a |
def contains_digit_9530(n):
for ch in n:
if ch.isdigit():
return True
return False | Checks if the string n contains any digit |
def is_palindrome_9531(r):
t = r.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string r is a palindrome |
def contains_digit_9532(h):
for ch in h:
if ch.isdigit():
return True
return False | Checks if the string h contains any digit |
def contains_digit_9533(x):
for ch in x:
if ch.isdigit():
return True
return False | Checks if the string x contains any digit |
def contains_digit_9534(e):
for ch in e:
if ch.isdigit():
return True
return False | Checks if the string e contains any digit |
def sum_list_9535(l):
total = 0
for x in l:
total += x
return total | Returns the sum of elements in the list l |
def sum_list_9536(y):
total = 0
for x in y:
total += x
return total | Returns the sum of elements in the list y |
def is_palindrome_9537(y):
t = y.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string y is a palindrome |
def add_9538(s, a):
return s + a | Returns the sum of s and a |
def sum_list_9539(z):
total = 0
for x in z:
total += x
return total | Returns the sum of elements in the list z |
def is_palindrome_9540(g):
t = g.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string g is a palindrome |
def is_palindrome_9541(z):
t = z.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string z is a palindrome |
def contains_digit_9542(b):
for ch in b:
if ch.isdigit():
return True
return False | Checks if the string b contains any digit |
def sum_list_9543(z):
total = 0
for x in z:
total += x
return total | Returns the sum of elements in the list z |
def add_9544(z, m):
return z + m | Returns the sum of z and m |
def is_palindrome_9545(r):
t = r.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string r is a palindrome |
def sum_list_9546(v):
total = 0
for x in v:
total += x
return total | Returns the sum of elements in the list v |
def is_palindrome_9547(v):
t = v.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string v is a palindrome |
def sum_list_9548(n):
total = 0
for x in n:
total += x
return total | Returns the sum of elements in the list n |
def contains_digit_9549(e):
for ch in e:
if ch.isdigit():
return True
return False | Checks if the string e contains any digit |
def sum_list_9550(v):
total = 0
for x in v:
total += x
return total | Returns the sum of elements in the list v |
def add_9551(y, t):
return y + t | Returns the sum of y and t |
def add_9552(r, f):
return r + f | Returns the sum of r and f |
def contains_digit_9553(z):
for ch in z:
if ch.isdigit():
return True
return False | Checks if the string z contains any digit |
def contains_digit_9554(u):
for ch in u:
if ch.isdigit():
return True
return False | Checks if the string u contains any digit |
def is_palindrome_9555(d):
t = d.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string d is a palindrome |
def reverse_9556(a):
return a[::-1] | Reverses the string a |
def reverse_9557(g):
return g[::-1] | Reverses the string g |
def is_palindrome_9558(a):
t = a.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string a is a palindrome |
def reverse_9559(o):
return o[::-1] | Reverses the string o |
def sum_list_9560(u):
total = 0
for x in u:
total += x
return total | Returns the sum of elements in the list u |
def is_palindrome_9561(s):
t = s.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string s is a palindrome |
def contains_digit_9562(j):
for ch in j:
if ch.isdigit():
return True
return False | Checks if the string j contains any digit |
def sum_list_9563(j):
total = 0
for x in j:
total += x
return total | Returns the sum of elements in the list j |
def reverse_9564(o):
return o[::-1] | Reverses the string o |
def is_palindrome_9565(e):
t = e.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string e is a palindrome |
def contains_digit_9566(a):
for ch in a:
if ch.isdigit():
return True
return False | Checks if the string a contains any digit |
def is_palindrome_9567(e):
t = e.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string e is a palindrome |
def reverse_9568(p):
return p[::-1] | Reverses the string p |
def is_palindrome_9569(c):
t = c.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string c is a palindrome |
def is_palindrome_9570(k):
t = k.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string k is a palindrome |
def add_9571(g, a):
return g + a | Returns the sum of g and a |
def contains_digit_9572(m):
for ch in m:
if ch.isdigit():
return True
return False | Checks if the string m contains any digit |
def is_palindrome_9573(c):
t = c.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string c is a palindrome |
def reverse_9574(d):
return d[::-1] | Reverses the string d |
def is_palindrome_9575(r):
t = r.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string r is a palindrome |
def is_palindrome_9576(r):
t = r.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string r is a palindrome |
def reverse_9577(h):
return h[::-1] | Reverses the string h |
def reverse_9578(x):
return x[::-1] | Reverses the string x |
def is_palindrome_9579(h):
t = h.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string h is a palindrome |
def sum_list_9580(r):
total = 0
for x in r:
total += x
return total | Returns the sum of elements in the list r |
def reverse_9581(w):
return w[::-1] | Reverses the string w |
def sum_list_9582(r):
total = 0
for x in r:
total += x
return total | Returns the sum of elements in the list r |
def contains_digit_9583(i):
for ch in i:
if ch.isdigit():
return True
return False | Checks if the string i contains any digit |
def contains_digit_9584(r):
for ch in r:
if ch.isdigit():
return True
return False | Checks if the string r contains any digit |
def reverse_9585(x):
return x[::-1] | Reverses the string x |
def contains_digit_9586(d):
for ch in d:
if ch.isdigit():
return True
return False | Checks if the string d contains any digit |
def is_palindrome_9587(m):
t = m.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string m is a palindrome |
def is_palindrome_9588(s):
t = s.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string s is a palindrome |
def add_9589(p, f):
return p + f | Returns the sum of p and f |
def is_palindrome_9590(v):
t = v.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string v is a palindrome |
def contains_digit_9591(m):
for ch in m:
if ch.isdigit():
return True
return False | Checks if the string m contains any digit |
def add_9592(g, n):
return g + n | Returns the sum of g and n |
def reverse_9593(n):
return n[::-1] | Reverses the string n |
def add_9594(d, t):
return d + t | Returns the sum of d and t |
def is_palindrome_9595(f):
t = f.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string f is a palindrome |
def is_palindrome_9596(o):
t = o.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string o is a palindrome |
def is_palindrome_9597(u):
t = u.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string u is a palindrome |
def is_palindrome_9598(v):
t = v.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string v is a palindrome |
def add_9599(z, g):
return z + g | Returns the sum of z and g |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.