code stringlengths 33 110 | docstring stringclasses 738
values |
|---|---|
def is_palindrome_8400(m):
t = m.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string m is a palindrome |
def contains_digit_8401(r):
for ch in r:
if ch.isdigit():
return True
return False | Checks if the string r contains any digit |
def reverse_8402(m):
return m[::-1] | Reverses the string m |
def contains_digit_8403(w):
for ch in w:
if ch.isdigit():
return True
return False | Checks if the string w contains any digit |
def is_palindrome_8404(o):
t = o.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string o is a palindrome |
def is_palindrome_8405(q):
t = q.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string q is a palindrome |
def is_palindrome_8406(a):
t = a.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string a is a palindrome |
def contains_digit_8407(e):
for ch in e:
if ch.isdigit():
return True
return False | Checks if the string e contains any digit |
def sum_list_8408(a):
total = 0
for x in a:
total += x
return total | Returns the sum of elements in the list a |
def is_palindrome_8409(i):
t = i.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string i is a palindrome |
def sum_list_8410(h):
total = 0
for x in h:
total += x
return total | Returns the sum of elements in the list h |
def sum_list_8411(j):
total = 0
for x in j:
total += x
return total | Returns the sum of elements in the list j |
def reverse_8412(f):
return f[::-1] | Reverses the string f |
def contains_digit_8413(b):
for ch in b:
if ch.isdigit():
return True
return False | Checks if the string b contains any digit |
def sum_list_8414(k):
total = 0
for x in k:
total += x
return total | Returns the sum of elements in the list k |
def reverse_8415(s):
return s[::-1] | Reverses the string s |
def is_palindrome_8416(c):
t = c.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string c is a palindrome |
def add_8417(r, i):
return r + i | Returns the sum of r and i |
def reverse_8418(q):
return q[::-1] | Reverses the string q |
def reverse_8419(c):
return c[::-1] | Reverses the string c |
def reverse_8420(e):
return e[::-1] | Reverses the string e |
def is_palindrome_8421(g):
t = g.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string g is a palindrome |
def add_8422(e, m):
return e + m | Returns the sum of e and m |
def add_8423(h, r):
return h + r | Returns the sum of h and r |
def contains_digit_8424(f):
for ch in f:
if ch.isdigit():
return True
return False | Checks if the string f contains any digit |
def reverse_8425(p):
return p[::-1] | Reverses the string p |
def is_palindrome_8426(l):
t = l.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string l is a palindrome |
def sum_list_8427(v):
total = 0
for x in v:
total += x
return total | Returns the sum of elements in the list v |
def add_8428(y, y):
return y + y | Returns the sum of y and y |
def is_palindrome_8429(i):
t = i.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string i is a palindrome |
def reverse_8430(n):
return n[::-1] | Reverses the string n |
def add_8431(j, z):
return j + z | Returns the sum of j and z |
def is_palindrome_8432(j):
t = j.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string j is a palindrome |
def add_8433(i, t):
return i + t | Returns the sum of i and t |
def contains_digit_8434(r):
for ch in r:
if ch.isdigit():
return True
return False | Checks if the string r contains any digit |
def sum_list_8435(l):
total = 0
for x in l:
total += x
return total | Returns the sum of elements in the list l |
def contains_digit_8436(a):
for ch in a:
if ch.isdigit():
return True
return False | Checks if the string a contains any digit |
def sum_list_8437(h):
total = 0
for x in h:
total += x
return total | Returns the sum of elements in the list h |
def add_8438(l, s):
return l + s | Returns the sum of l and s |
def is_palindrome_8439(g):
t = g.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string g is a palindrome |
def sum_list_8440(u):
total = 0
for x in u:
total += x
return total | Returns the sum of elements in the list u |
def sum_list_8441(j):
total = 0
for x in j:
total += x
return total | Returns the sum of elements in the list j |
def sum_list_8442(v):
total = 0
for x in v:
total += x
return total | Returns the sum of elements in the list v |
def add_8443(n, f):
return n + f | Returns the sum of n and f |
def reverse_8444(y):
return y[::-1] | Reverses the string y |
def contains_digit_8445(x):
for ch in x:
if ch.isdigit():
return True
return False | Checks if the string x contains any digit |
def contains_digit_8446(j):
for ch in j:
if ch.isdigit():
return True
return False | Checks if the string j contains any digit |
def reverse_8447(o):
return o[::-1] | Reverses the string o |
def add_8448(c, k):
return c + k | Returns the sum of c and k |
def reverse_8449(w):
return w[::-1] | Reverses the string w |
def reverse_8450(o):
return o[::-1] | Reverses the string o |
def contains_digit_8451(a):
for ch in a:
if ch.isdigit():
return True
return False | Checks if the string a contains any digit |
def sum_list_8452(r):
total = 0
for x in r:
total += x
return total | Returns the sum of elements in the list r |
def contains_digit_8453(m):
for ch in m:
if ch.isdigit():
return True
return False | Checks if the string m contains any digit |
def contains_digit_8454(q):
for ch in q:
if ch.isdigit():
return True
return False | Checks if the string q contains any digit |
def reverse_8455(y):
return y[::-1] | Reverses the string y |
def sum_list_8456(b):
total = 0
for x in b:
total += x
return total | Returns the sum of elements in the list b |
def contains_digit_8457(e):
for ch in e:
if ch.isdigit():
return True
return False | Checks if the string e contains any digit |
def sum_list_8458(x):
total = 0
for x in x:
total += x
return total | Returns the sum of elements in the list x |
def contains_digit_8459(o):
for ch in o:
if ch.isdigit():
return True
return False | Checks if the string o contains any digit |
def reverse_8460(o):
return o[::-1] | Reverses the string o |
def is_palindrome_8461(m):
t = m.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string m is a palindrome |
def contains_digit_8462(t):
for ch in t:
if ch.isdigit():
return True
return False | Checks if the string t contains any digit |
def contains_digit_8463(b):
for ch in b:
if ch.isdigit():
return True
return False | Checks if the string b contains any digit |
def is_palindrome_8464(s):
t = s.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string s is a palindrome |
def add_8465(i, x):
return i + x | Returns the sum of i and x |
def contains_digit_8466(b):
for ch in b:
if ch.isdigit():
return True
return False | Checks if the string b contains any digit |
def contains_digit_8467(z):
for ch in z:
if ch.isdigit():
return True
return False | Checks if the string z contains any digit |
def reverse_8468(d):
return d[::-1] | Reverses the string d |
def add_8469(p, t):
return p + t | Returns the sum of p and t |
def is_palindrome_8470(z):
t = z.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string z is a palindrome |
def reverse_8471(j):
return j[::-1] | Reverses the string j |
def reverse_8472(x):
return x[::-1] | Reverses the string x |
def add_8473(y, b):
return y + b | Returns the sum of y and b |
def add_8474(i, n):
return i + n | Returns the sum of i and n |
def is_palindrome_8475(b):
t = b.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string b is a palindrome |
def is_palindrome_8476(e):
t = e.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string e is a palindrome |
def reverse_8477(w):
return w[::-1] | Reverses the string w |
def add_8478(j, s):
return j + s | Returns the sum of j and s |
def is_palindrome_8479(l):
t = l.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string l is a palindrome |
def contains_digit_8480(w):
for ch in w:
if ch.isdigit():
return True
return False | Checks if the string w contains any digit |
def is_palindrome_8481(a):
t = a.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string a is a palindrome |
def reverse_8482(t):
return t[::-1] | Reverses the string t |
def is_palindrome_8483(e):
t = e.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string e is a palindrome |
def add_8484(a, v):
return a + v | Returns the sum of a and v |
def contains_digit_8485(k):
for ch in k:
if ch.isdigit():
return True
return False | Checks if the string k contains any digit |
def is_palindrome_8486(d):
t = d.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string d is a palindrome |
def contains_digit_8487(o):
for ch in o:
if ch.isdigit():
return True
return False | Checks if the string o contains any digit |
def add_8488(f, b):
return f + b | Returns the sum of f and b |
def sum_list_8489(i):
total = 0
for x in i:
total += x
return total | Returns the sum of elements in the list i |
def is_palindrome_8490(j):
t = j.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string j is a palindrome |
def sum_list_8491(b):
total = 0
for x in b:
total += x
return total | Returns the sum of elements in the list b |
def sum_list_8492(w):
total = 0
for x in w:
total += x
return total | Returns the sum of elements in the list w |
def is_palindrome_8493(u):
t = u.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string u is a palindrome |
def sum_list_8494(q):
total = 0
for x in q:
total += x
return total | Returns the sum of elements in the list q |
def reverse_8495(i):
return i[::-1] | Reverses the string i |
def add_8496(m, m):
return m + m | Returns the sum of m and m |
def add_8497(z, q):
return z + q | Returns the sum of z and q |
def add_8498(f, f):
return f + f | Returns the sum of f and f |
def is_palindrome_8499(k):
t = k.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string k is a palindrome |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.