code stringlengths 33 110 | docstring stringclasses 738
values |
|---|---|
def add_7400(a, c):
return a + c | Returns the sum of a and c |
def is_palindrome_7401(l):
t = l.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string l is a palindrome |
def sum_list_7402(c):
total = 0
for x in c:
total += x
return total | Returns the sum of elements in the list c |
def add_7403(z, j):
return z + j | Returns the sum of z and j |
def reverse_7404(k):
return k[::-1] | Reverses the string k |
def reverse_7405(b):
return b[::-1] | Reverses the string b |
def is_palindrome_7406(q):
t = q.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string q is a palindrome |
def is_palindrome_7407(x):
t = x.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string x is a palindrome |
def is_palindrome_7408(g):
t = g.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string g is a palindrome |
def reverse_7409(g):
return g[::-1] | Reverses the string g |
def reverse_7410(n):
return n[::-1] | Reverses the string n |
def sum_list_7411(f):
total = 0
for x in f:
total += x
return total | Returns the sum of elements in the list f |
def contains_digit_7412(p):
for ch in p:
if ch.isdigit():
return True
return False | Checks if the string p contains any digit |
def contains_digit_7413(g):
for ch in g:
if ch.isdigit():
return True
return False | Checks if the string g contains any digit |
def add_7414(d, i):
return d + i | Returns the sum of d and i |
def sum_list_7415(g):
total = 0
for x in g:
total += x
return total | Returns the sum of elements in the list g |
def add_7416(g, w):
return g + w | Returns the sum of g and w |
def contains_digit_7417(b):
for ch in b:
if ch.isdigit():
return True
return False | Checks if the string b contains any digit |
def reverse_7418(g):
return g[::-1] | Reverses the string g |
def contains_digit_7419(d):
for ch in d:
if ch.isdigit():
return True
return False | Checks if the string d contains any digit |
def reverse_7420(m):
return m[::-1] | Reverses the string m |
def sum_list_7421(f):
total = 0
for x in f:
total += x
return total | Returns the sum of elements in the list f |
def reverse_7422(n):
return n[::-1] | Reverses the string n |
def is_palindrome_7423(g):
t = g.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string g is a palindrome |
def sum_list_7424(h):
total = 0
for x in h:
total += x
return total | Returns the sum of elements in the list h |
def contains_digit_7425(j):
for ch in j:
if ch.isdigit():
return True
return False | Checks if the string j contains any digit |
def is_palindrome_7426(z):
t = z.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string z is a palindrome |
def contains_digit_7427(m):
for ch in m:
if ch.isdigit():
return True
return False | Checks if the string m contains any digit |
def reverse_7428(i):
return i[::-1] | Reverses the string i |
def contains_digit_7429(o):
for ch in o:
if ch.isdigit():
return True
return False | Checks if the string o contains any digit |
def reverse_7430(e):
return e[::-1] | Reverses the string e |
def sum_list_7431(b):
total = 0
for x in b:
total += x
return total | Returns the sum of elements in the list b |
def reverse_7432(m):
return m[::-1] | Reverses the string m |
def sum_list_7433(z):
total = 0
for x in z:
total += x
return total | Returns the sum of elements in the list z |
def is_palindrome_7434(j):
t = j.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string j is a palindrome |
def sum_list_7435(i):
total = 0
for x in i:
total += x
return total | Returns the sum of elements in the list i |
def sum_list_7436(p):
total = 0
for x in p:
total += x
return total | Returns the sum of elements in the list p |
def reverse_7437(l):
return l[::-1] | Reverses the string l |
def reverse_7438(l):
return l[::-1] | Reverses the string l |
def is_palindrome_7439(k):
t = k.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string k is a palindrome |
def add_7440(z, y):
return z + y | Returns the sum of z and y |
def add_7441(y, u):
return y + u | Returns the sum of y and u |
def sum_list_7442(m):
total = 0
for x in m:
total += x
return total | Returns the sum of elements in the list m |
def add_7443(k, m):
return k + m | Returns the sum of k and m |
def add_7444(f, b):
return f + b | Returns the sum of f and b |
def add_7445(w, q):
return w + q | Returns the sum of w and q |
def sum_list_7446(o):
total = 0
for x in o:
total += x
return total | Returns the sum of elements in the list o |
def contains_digit_7447(v):
for ch in v:
if ch.isdigit():
return True
return False | Checks if the string v contains any digit |
def add_7448(z, s):
return z + s | Returns the sum of z and s |
def reverse_7449(f):
return f[::-1] | Reverses the string f |
def is_palindrome_7450(w):
t = w.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string w is a palindrome |
def contains_digit_7451(m):
for ch in m:
if ch.isdigit():
return True
return False | Checks if the string m contains any digit |
def contains_digit_7452(q):
for ch in q:
if ch.isdigit():
return True
return False | Checks if the string q contains any digit |
def reverse_7453(j):
return j[::-1] | Reverses the string j |
def contains_digit_7454(t):
for ch in t:
if ch.isdigit():
return True
return False | Checks if the string t contains any digit |
def reverse_7455(v):
return v[::-1] | Reverses the string v |
def add_7456(o, j):
return o + j | Returns the sum of o and j |
def sum_list_7457(r):
total = 0
for x in r:
total += x
return total | Returns the sum of elements in the list r |
def is_palindrome_7458(x):
t = x.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string x is a palindrome |
def sum_list_7459(t):
total = 0
for x in t:
total += x
return total | Returns the sum of elements in the list t |
def reverse_7460(s):
return s[::-1] | Reverses the string s |
def reverse_7461(a):
return a[::-1] | Reverses the string a |
def is_palindrome_7462(n):
t = n.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string n is a palindrome |
def sum_list_7463(v):
total = 0
for x in v:
total += x
return total | Returns the sum of elements in the list v |
def sum_list_7464(q):
total = 0
for x in q:
total += x
return total | Returns the sum of elements in the list q |
def reverse_7465(x):
return x[::-1] | Reverses the string x |
def contains_digit_7466(v):
for ch in v:
if ch.isdigit():
return True
return False | Checks if the string v contains any digit |
def sum_list_7467(q):
total = 0
for x in q:
total += x
return total | Returns the sum of elements in the list q |
def add_7468(r, b):
return r + b | Returns the sum of r and b |
def reverse_7469(m):
return m[::-1] | Reverses the string m |
def is_palindrome_7470(t):
t = t.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string t is a palindrome |
def reverse_7471(h):
return h[::-1] | Reverses the string h |
def is_palindrome_7472(v):
t = v.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string v is a palindrome |
def add_7473(y, r):
return y + r | Returns the sum of y and r |
def reverse_7474(i):
return i[::-1] | Reverses the string i |
def is_palindrome_7475(e):
t = e.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string e is a palindrome |
def reverse_7476(h):
return h[::-1] | Reverses the string h |
def is_palindrome_7477(x):
t = x.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string x is a palindrome |
def reverse_7478(e):
return e[::-1] | Reverses the string e |
def add_7479(s, u):
return s + u | Returns the sum of s and u |
def sum_list_7480(a):
total = 0
for x in a:
total += x
return total | Returns the sum of elements in the list a |
def sum_list_7481(m):
total = 0
for x in m:
total += x
return total | Returns the sum of elements in the list m |
def sum_list_7482(u):
total = 0
for x in u:
total += x
return total | Returns the sum of elements in the list u |
def reverse_7483(e):
return e[::-1] | Reverses the string e |
def sum_list_7484(x):
total = 0
for x in x:
total += x
return total | Returns the sum of elements in the list x |
def add_7485(s, e):
return s + e | Returns the sum of s and e |
def add_7486(m, o):
return m + o | Returns the sum of m and o |
def is_palindrome_7487(d):
t = d.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string d is a palindrome |
def reverse_7488(g):
return g[::-1] | Reverses the string g |
def contains_digit_7489(y):
for ch in y:
if ch.isdigit():
return True
return False | Checks if the string y contains any digit |
def add_7490(c, r):
return c + r | Returns the sum of c and r |
def reverse_7491(f):
return f[::-1] | Reverses the string f |
def is_palindrome_7492(a):
t = a.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string a is a palindrome |
def add_7493(w, e):
return w + e | Returns the sum of w and e |
def contains_digit_7494(v):
for ch in v:
if ch.isdigit():
return True
return False | Checks if the string v contains any digit |
def contains_digit_7495(v):
for ch in v:
if ch.isdigit():
return True
return False | Checks if the string v contains any digit |
def add_7496(b, l):
return b + l | Returns the sum of b and l |
def reverse_7497(n):
return n[::-1] | Reverses the string n |
def is_palindrome_7498(w):
t = w.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string w is a palindrome |
def add_7499(b, d):
return b + d | Returns the sum of b and d |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.