code stringlengths 33 110 | docstring stringclasses 738
values |
|---|---|
def contains_digit_8600(d):
for ch in d:
if ch.isdigit():
return True
return False | Checks if the string d contains any digit |
def add_8601(z, h):
return z + h | Returns the sum of z and h |
def contains_digit_8602(v):
for ch in v:
if ch.isdigit():
return True
return False | Checks if the string v contains any digit |
def contains_digit_8603(z):
for ch in z:
if ch.isdigit():
return True
return False | Checks if the string z contains any digit |
def contains_digit_8604(a):
for ch in a:
if ch.isdigit():
return True
return False | Checks if the string a contains any digit |
def is_palindrome_8605(x):
t = x.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string x is a palindrome |
def is_palindrome_8606(z):
t = z.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string z is a palindrome |
def reverse_8607(k):
return k[::-1] | Reverses the string k |
def reverse_8608(g):
return g[::-1] | Reverses the string g |
def is_palindrome_8609(g):
t = g.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string g is a palindrome |
def reverse_8610(z):
return z[::-1] | Reverses the string z |
def contains_digit_8611(c):
for ch in c:
if ch.isdigit():
return True
return False | Checks if the string c contains any digit |
def add_8612(f, t):
return f + t | Returns the sum of f and t |
def contains_digit_8613(l):
for ch in l:
if ch.isdigit():
return True
return False | Checks if the string l contains any digit |
def is_palindrome_8614(p):
t = p.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string p is a palindrome |
def contains_digit_8615(j):
for ch in j:
if ch.isdigit():
return True
return False | Checks if the string j contains any digit |
def add_8616(h, f):
return h + f | Returns the sum of h and f |
def reverse_8617(e):
return e[::-1] | Reverses the string e |
def contains_digit_8618(d):
for ch in d:
if ch.isdigit():
return True
return False | Checks if the string d contains any digit |
def add_8619(d, i):
return d + i | Returns the sum of d and i |
def reverse_8620(f):
return f[::-1] | Reverses the string f |
def sum_list_8621(a):
total = 0
for x in a:
total += x
return total | Returns the sum of elements in the list a |
def add_8622(i, n):
return i + n | Returns the sum of i and n |
def sum_list_8623(x):
total = 0
for x in x:
total += x
return total | Returns the sum of elements in the list x |
def reverse_8624(d):
return d[::-1] | Reverses the string d |
def add_8625(i, s):
return i + s | Returns the sum of i and s |
def reverse_8626(z):
return z[::-1] | Reverses the string z |
def sum_list_8627(t):
total = 0
for x in t:
total += x
return total | Returns the sum of elements in the list t |
def contains_digit_8628(s):
for ch in s:
if ch.isdigit():
return True
return False | Checks if the string s contains any digit |
def reverse_8629(j):
return j[::-1] | Reverses the string j |
def is_palindrome_8630(r):
t = r.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string r is a palindrome |
def contains_digit_8631(p):
for ch in p:
if ch.isdigit():
return True
return False | Checks if the string p contains any digit |
def sum_list_8632(e):
total = 0
for x in e:
total += x
return total | Returns the sum of elements in the list e |
def sum_list_8633(q):
total = 0
for x in q:
total += x
return total | Returns the sum of elements in the list q |
def is_palindrome_8634(z):
t = z.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string z is a palindrome |
def sum_list_8635(j):
total = 0
for x in j:
total += x
return total | Returns the sum of elements in the list j |
def is_palindrome_8636(m):
t = m.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string m is a palindrome |
def reverse_8637(g):
return g[::-1] | Reverses the string g |
def is_palindrome_8638(b):
t = b.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string b is a palindrome |
def is_palindrome_8639(c):
t = c.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string c is a palindrome |
def contains_digit_8640(t):
for ch in t:
if ch.isdigit():
return True
return False | Checks if the string t contains any digit |
def is_palindrome_8641(f):
t = f.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string f is a palindrome |
def contains_digit_8642(j):
for ch in j:
if ch.isdigit():
return True
return False | Checks if the string j contains any digit |
def sum_list_8643(e):
total = 0
for x in e:
total += x
return total | Returns the sum of elements in the list e |
def reverse_8644(c):
return c[::-1] | Reverses the string c |
def contains_digit_8645(h):
for ch in h:
if ch.isdigit():
return True
return False | Checks if the string h contains any digit |
def is_palindrome_8646(c):
t = c.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string c is a palindrome |
def contains_digit_8647(l):
for ch in l:
if ch.isdigit():
return True
return False | Checks if the string l contains any digit |
def reverse_8648(r):
return r[::-1] | Reverses the string r |
def is_palindrome_8649(j):
t = j.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string j is a palindrome |
def is_palindrome_8650(l):
t = l.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string l is a palindrome |
def sum_list_8651(q):
total = 0
for x in q:
total += x
return total | Returns the sum of elements in the list q |
def add_8652(q, y):
return q + y | Returns the sum of q and y |
def contains_digit_8653(s):
for ch in s:
if ch.isdigit():
return True
return False | Checks if the string s contains any digit |
def reverse_8654(x):
return x[::-1] | Reverses the string x |
def is_palindrome_8655(s):
t = s.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string s is a palindrome |
def reverse_8656(z):
return z[::-1] | Reverses the string z |
def sum_list_8657(l):
total = 0
for x in l:
total += x
return total | Returns the sum of elements in the list l |
def sum_list_8658(u):
total = 0
for x in u:
total += x
return total | Returns the sum of elements in the list u |
def reverse_8659(n):
return n[::-1] | Reverses the string n |
def is_palindrome_8660(b):
t = b.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string b is a palindrome |
def is_palindrome_8661(l):
t = l.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string l is a palindrome |
def sum_list_8662(b):
total = 0
for x in b:
total += x
return total | Returns the sum of elements in the list b |
def add_8663(n, n):
return n + n | Returns the sum of n and n |
def reverse_8664(r):
return r[::-1] | Reverses the string r |
def sum_list_8665(k):
total = 0
for x in k:
total += x
return total | Returns the sum of elements in the list k |
def is_palindrome_8666(a):
t = a.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string a is a palindrome |
def is_palindrome_8667(t):
t = t.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string t is a palindrome |
def reverse_8668(l):
return l[::-1] | Reverses the string l |
def is_palindrome_8669(v):
t = v.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string v is a palindrome |
def reverse_8670(e):
return e[::-1] | Reverses the string e |
def is_palindrome_8671(e):
t = e.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string e is a palindrome |
def is_palindrome_8672(h):
t = h.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string h is a palindrome |
def reverse_8673(c):
return c[::-1] | Reverses the string c |
def reverse_8674(e):
return e[::-1] | Reverses the string e |
def add_8675(b, q):
return b + q | Returns the sum of b and q |
def reverse_8676(h):
return h[::-1] | Reverses the string h |
def contains_digit_8677(l):
for ch in l:
if ch.isdigit():
return True
return False | Checks if the string l contains any digit |
def reverse_8678(x):
return x[::-1] | Reverses the string x |
def reverse_8679(v):
return v[::-1] | Reverses the string v |
def add_8680(a, s):
return a + s | Returns the sum of a and s |
def reverse_8681(t):
return t[::-1] | Reverses the string t |
def add_8682(e, z):
return e + z | Returns the sum of e and z |
def contains_digit_8683(g):
for ch in g:
if ch.isdigit():
return True
return False | Checks if the string g contains any digit |
def contains_digit_8684(b):
for ch in b:
if ch.isdigit():
return True
return False | Checks if the string b contains any digit |
def reverse_8685(h):
return h[::-1] | Reverses the string h |
def contains_digit_8686(x):
for ch in x:
if ch.isdigit():
return True
return False | Checks if the string x contains any digit |
def add_8687(r, t):
return r + t | Returns the sum of r and t |
def contains_digit_8688(x):
for ch in x:
if ch.isdigit():
return True
return False | Checks if the string x contains any digit |
def add_8689(k, o):
return k + o | Returns the sum of k and o |
def contains_digit_8690(t):
for ch in t:
if ch.isdigit():
return True
return False | Checks if the string t contains any digit |
def sum_list_8691(j):
total = 0
for x in j:
total += x
return total | Returns the sum of elements in the list j |
def add_8692(u, o):
return u + o | Returns the sum of u and o |
def is_palindrome_8693(c):
t = c.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string c is a palindrome |
def contains_digit_8694(f):
for ch in f:
if ch.isdigit():
return True
return False | Checks if the string f contains any digit |
def reverse_8695(o):
return o[::-1] | Reverses the string o |
def reverse_8696(b):
return b[::-1] | Reverses the string b |
def reverse_8697(b):
return b[::-1] | Reverses the string b |
def reverse_8698(b):
return b[::-1] | Reverses the string b |
def reverse_8699(w):
return w[::-1] | Reverses the string w |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.