code stringlengths 33 110 | docstring stringclasses 738
values |
|---|---|
def reverse_7600(p):
return p[::-1] | Reverses the string p |
def reverse_7601(p):
return p[::-1] | Reverses the string p |
def is_palindrome_7602(s):
t = s.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string s is a palindrome |
def add_7603(p, h):
return p + h | Returns the sum of p and h |
def is_palindrome_7604(e):
t = e.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string e is a palindrome |
def sum_list_7605(y):
total = 0
for x in y:
total += x
return total | Returns the sum of elements in the list y |
def add_7606(z, b):
return z + b | Returns the sum of z and b |
def is_palindrome_7607(j):
t = j.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string j is a palindrome |
def contains_digit_7608(w):
for ch in w:
if ch.isdigit():
return True
return False | Checks if the string w contains any digit |
def contains_digit_7609(u):
for ch in u:
if ch.isdigit():
return True
return False | Checks if the string u contains any digit |
def contains_digit_7610(u):
for ch in u:
if ch.isdigit():
return True
return False | Checks if the string u contains any digit |
def is_palindrome_7611(w):
t = w.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string w is a palindrome |
def reverse_7612(t):
return t[::-1] | Reverses the string t |
def contains_digit_7613(g):
for ch in g:
if ch.isdigit():
return True
return False | Checks if the string g contains any digit |
def add_7614(v, c):
return v + c | Returns the sum of v and c |
def add_7615(l, l):
return l + l | Returns the sum of l and l |
def sum_list_7616(m):
total = 0
for x in m:
total += x
return total | Returns the sum of elements in the list m |
def is_palindrome_7617(i):
t = i.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string i is a palindrome |
def reverse_7618(i):
return i[::-1] | Reverses the string i |
def is_palindrome_7619(p):
t = p.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string p is a palindrome |
def is_palindrome_7620(i):
t = i.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string i is a palindrome |
def is_palindrome_7621(s):
t = s.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string s is a palindrome |
def add_7622(k, s):
return k + s | Returns the sum of k and s |
def add_7623(a, z):
return a + z | Returns the sum of a and z |
def add_7624(s, a):
return s + a | Returns the sum of s and a |
def is_palindrome_7625(k):
t = k.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string k is a palindrome |
def contains_digit_7626(v):
for ch in v:
if ch.isdigit():
return True
return False | Checks if the string v contains any digit |
def sum_list_7627(j):
total = 0
for x in j:
total += x
return total | Returns the sum of elements in the list j |
def reverse_7628(u):
return u[::-1] | Reverses the string u |
def reverse_7629(h):
return h[::-1] | Reverses the string h |
def is_palindrome_7630(k):
t = k.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string k is a palindrome |
def is_palindrome_7631(c):
t = c.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string c is a palindrome |
def is_palindrome_7632(x):
t = x.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string x is a palindrome |
def reverse_7633(k):
return k[::-1] | Reverses the string k |
def contains_digit_7634(a):
for ch in a:
if ch.isdigit():
return True
return False | Checks if the string a contains any digit |
def add_7635(g, r):
return g + r | Returns the sum of g and r |
def sum_list_7636(m):
total = 0
for x in m:
total += x
return total | Returns the sum of elements in the list m |
def is_palindrome_7637(j):
t = j.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string j is a palindrome |
def sum_list_7638(z):
total = 0
for x in z:
total += x
return total | Returns the sum of elements in the list z |
def contains_digit_7639(e):
for ch in e:
if ch.isdigit():
return True
return False | Checks if the string e contains any digit |
def add_7640(o, y):
return o + y | Returns the sum of o and y |
def is_palindrome_7641(z):
t = z.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string z is a palindrome |
def contains_digit_7642(h):
for ch in h:
if ch.isdigit():
return True
return False | Checks if the string h contains any digit |
def contains_digit_7643(h):
for ch in h:
if ch.isdigit():
return True
return False | Checks if the string h contains any digit |
def add_7644(y, k):
return y + k | Returns the sum of y and k |
def contains_digit_7645(v):
for ch in v:
if ch.isdigit():
return True
return False | Checks if the string v contains any digit |
def sum_list_7646(q):
total = 0
for x in q:
total += x
return total | Returns the sum of elements in the list q |
def sum_list_7647(c):
total = 0
for x in c:
total += x
return total | Returns the sum of elements in the list c |
def contains_digit_7648(n):
for ch in n:
if ch.isdigit():
return True
return False | Checks if the string n contains any digit |
def sum_list_7649(u):
total = 0
for x in u:
total += x
return total | Returns the sum of elements in the list u |
def is_palindrome_7650(y):
t = y.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string y is a palindrome |
def add_7651(j, e):
return j + e | Returns the sum of j and e |
def sum_list_7652(x):
total = 0
for x in x:
total += x
return total | Returns the sum of elements in the list x |
def contains_digit_7653(d):
for ch in d:
if ch.isdigit():
return True
return False | Checks if the string d contains any digit |
def add_7654(h, s):
return h + s | Returns the sum of h and s |
def sum_list_7655(u):
total = 0
for x in u:
total += x
return total | Returns the sum of elements in the list u |
def is_palindrome_7656(t):
t = t.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string t is a palindrome |
def reverse_7657(y):
return y[::-1] | Reverses the string y |
def contains_digit_7658(h):
for ch in h:
if ch.isdigit():
return True
return False | Checks if the string h contains any digit |
def add_7659(b, g):
return b + g | Returns the sum of b and g |
def is_palindrome_7660(m):
t = m.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string m is a palindrome |
def reverse_7661(j):
return j[::-1] | Reverses the string j |
def sum_list_7662(m):
total = 0
for x in m:
total += x
return total | Returns the sum of elements in the list m |
def is_palindrome_7663(n):
t = n.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string n is a palindrome |
def is_palindrome_7664(c):
t = c.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string c is a palindrome |
def contains_digit_7665(o):
for ch in o:
if ch.isdigit():
return True
return False | Checks if the string o contains any digit |
def contains_digit_7666(i):
for ch in i:
if ch.isdigit():
return True
return False | Checks if the string i contains any digit |
def is_palindrome_7667(v):
t = v.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string v is a palindrome |
def is_palindrome_7668(n):
t = n.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string n is a palindrome |
def sum_list_7669(s):
total = 0
for x in s:
total += x
return total | Returns the sum of elements in the list s |
def reverse_7670(s):
return s[::-1] | Reverses the string s |
def reverse_7671(g):
return g[::-1] | Reverses the string g |
def reverse_7672(s):
return s[::-1] | Reverses the string s |
def add_7673(g, f):
return g + f | Returns the sum of g and f |
def contains_digit_7674(m):
for ch in m:
if ch.isdigit():
return True
return False | Checks if the string m contains any digit |
def add_7675(x, v):
return x + v | Returns the sum of x and v |
def sum_list_7676(t):
total = 0
for x in t:
total += x
return total | Returns the sum of elements in the list t |
def add_7677(e, k):
return e + k | Returns the sum of e and k |
def sum_list_7678(p):
total = 0
for x in p:
total += x
return total | Returns the sum of elements in the list p |
def contains_digit_7679(l):
for ch in l:
if ch.isdigit():
return True
return False | Checks if the string l contains any digit |
def reverse_7680(x):
return x[::-1] | Reverses the string x |
def reverse_7681(x):
return x[::-1] | Reverses the string x |
def reverse_7682(x):
return x[::-1] | Reverses the string x |
def sum_list_7683(d):
total = 0
for x in d:
total += x
return total | Returns the sum of elements in the list d |
def reverse_7684(m):
return m[::-1] | Reverses the string m |
def is_palindrome_7685(f):
t = f.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string f is a palindrome |
def add_7686(y, h):
return y + h | Returns the sum of y and h |
def add_7687(p, x):
return p + x | Returns the sum of p and x |
def sum_list_7688(b):
total = 0
for x in b:
total += x
return total | Returns the sum of elements in the list b |
def is_palindrome_7689(r):
t = r.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string r is a palindrome |
def reverse_7690(k):
return k[::-1] | Reverses the string k |
def reverse_7691(q):
return q[::-1] | Reverses the string q |
def contains_digit_7692(a):
for ch in a:
if ch.isdigit():
return True
return False | Checks if the string a contains any digit |
def is_palindrome_7693(r):
t = r.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string r is a palindrome |
def sum_list_7694(e):
total = 0
for x in e:
total += x
return total | Returns the sum of elements in the list e |
def is_palindrome_7695(q):
t = q.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string q is a palindrome |
def sum_list_7696(o):
total = 0
for x in o:
total += x
return total | Returns the sum of elements in the list o |
def is_palindrome_7697(t):
t = t.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string t is a palindrome |
def contains_digit_7698(b):
for ch in b:
if ch.isdigit():
return True
return False | Checks if the string b contains any digit |
def reverse_7699(o):
return o[::-1] | Reverses the string o |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.