code stringlengths 33 110 | docstring stringclasses 738
values |
|---|---|
def reverse_4600(t):
return t[::-1] | Reverses the string t |
def is_palindrome_4601(g):
t = g.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string g is a palindrome |
def contains_digit_4602(e):
for ch in e:
if ch.isdigit():
return True
return False | Checks if the string e contains any digit |
def contains_digit_4603(k):
for ch in k:
if ch.isdigit():
return True
return False | Checks if the string k contains any digit |
def sum_list_4604(z):
total = 0
for x in z:
total += x
return total | Returns the sum of elements in the list z |
def add_4605(q, w):
return q + w | Returns the sum of q and w |
def sum_list_4606(p):
total = 0
for x in p:
total += x
return total | Returns the sum of elements in the list p |
def sum_list_4607(x):
total = 0
for x in x:
total += x
return total | Returns the sum of elements in the list x |
def contains_digit_4608(q):
for ch in q:
if ch.isdigit():
return True
return False | Checks if the string q contains any digit |
def add_4609(n, z):
return n + z | Returns the sum of n and z |
def reverse_4610(a):
return a[::-1] | Reverses the string a |
def is_palindrome_4611(y):
t = y.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string y is a palindrome |
def is_palindrome_4612(s):
t = s.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string s is a palindrome |
def sum_list_4613(s):
total = 0
for x in s:
total += x
return total | Returns the sum of elements in the list s |
def reverse_4614(t):
return t[::-1] | Reverses the string t |
def sum_list_4615(z):
total = 0
for x in z:
total += x
return total | Returns the sum of elements in the list z |
def sum_list_4616(h):
total = 0
for x in h:
total += x
return total | Returns the sum of elements in the list h |
def contains_digit_4617(c):
for ch in c:
if ch.isdigit():
return True
return False | Checks if the string c contains any digit |
def add_4618(z, o):
return z + o | Returns the sum of z and o |
def is_palindrome_4619(n):
t = n.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string n is a palindrome |
def reverse_4620(b):
return b[::-1] | Reverses the string b |
def contains_digit_4621(t):
for ch in t:
if ch.isdigit():
return True
return False | Checks if the string t contains any digit |
def contains_digit_4622(l):
for ch in l:
if ch.isdigit():
return True
return False | Checks if the string l contains any digit |
def is_palindrome_4623(o):
t = o.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string o is a palindrome |
def is_palindrome_4624(s):
t = s.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string s is a palindrome |
def is_palindrome_4625(d):
t = d.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string d is a palindrome |
def is_palindrome_4626(f):
t = f.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string f is a palindrome |
def sum_list_4627(p):
total = 0
for x in p:
total += x
return total | Returns the sum of elements in the list p |
def is_palindrome_4628(w):
t = w.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string w is a palindrome |
def reverse_4629(y):
return y[::-1] | Reverses the string y |
def reverse_4630(u):
return u[::-1] | Reverses the string u |
def add_4631(x, y):
return x + y | Returns the sum of x and y |
def add_4632(k, k):
return k + k | Returns the sum of k and k |
def reverse_4633(y):
return y[::-1] | Reverses the string y |
def sum_list_4634(x):
total = 0
for x in x:
total += x
return total | Returns the sum of elements in the list x |
def sum_list_4635(c):
total = 0
for x in c:
total += x
return total | Returns the sum of elements in the list c |
def is_palindrome_4636(a):
t = a.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string a is a palindrome |
def contains_digit_4637(y):
for ch in y:
if ch.isdigit():
return True
return False | Checks if the string y contains any digit |
def is_palindrome_4638(s):
t = s.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string s is a palindrome |
def sum_list_4639(f):
total = 0
for x in f:
total += x
return total | Returns the sum of elements in the list f |
def add_4640(r, m):
return r + m | Returns the sum of r and m |
def reverse_4641(i):
return i[::-1] | Reverses the string i |
def add_4642(t, d):
return t + d | Returns the sum of t and d |
def contains_digit_4643(h):
for ch in h:
if ch.isdigit():
return True
return False | Checks if the string h contains any digit |
def sum_list_4644(k):
total = 0
for x in k:
total += x
return total | Returns the sum of elements in the list k |
def reverse_4645(n):
return n[::-1] | Reverses the string n |
def reverse_4646(m):
return m[::-1] | Reverses the string m |
def contains_digit_4647(z):
for ch in z:
if ch.isdigit():
return True
return False | Checks if the string z contains any digit |
def contains_digit_4648(c):
for ch in c:
if ch.isdigit():
return True
return False | Checks if the string c contains any digit |
def add_4649(n, i):
return n + i | Returns the sum of n and i |
def sum_list_4650(m):
total = 0
for x in m:
total += x
return total | Returns the sum of elements in the list m |
def contains_digit_4651(f):
for ch in f:
if ch.isdigit():
return True
return False | Checks if the string f contains any digit |
def sum_list_4652(m):
total = 0
for x in m:
total += x
return total | Returns the sum of elements in the list m |
def reverse_4653(d):
return d[::-1] | Reverses the string d |
def sum_list_4654(b):
total = 0
for x in b:
total += x
return total | Returns the sum of elements in the list b |
def add_4655(e, g):
return e + g | Returns the sum of e and g |
def reverse_4656(b):
return b[::-1] | Reverses the string b |
def reverse_4657(i):
return i[::-1] | Reverses the string i |
def is_palindrome_4658(l):
t = l.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string l is a palindrome |
def add_4659(i, x):
return i + x | Returns the sum of i and x |
def contains_digit_4660(r):
for ch in r:
if ch.isdigit():
return True
return False | Checks if the string r contains any digit |
def sum_list_4661(p):
total = 0
for x in p:
total += x
return total | Returns the sum of elements in the list p |
def is_palindrome_4662(p):
t = p.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string p is a palindrome |
def sum_list_4663(g):
total = 0
for x in g:
total += x
return total | Returns the sum of elements in the list g |
def reverse_4664(w):
return w[::-1] | Reverses the string w |
def sum_list_4665(t):
total = 0
for x in t:
total += x
return total | Returns the sum of elements in the list t |
def sum_list_4666(t):
total = 0
for x in t:
total += x
return total | Returns the sum of elements in the list t |
def add_4667(j, u):
return j + u | Returns the sum of j and u |
def reverse_4668(q):
return q[::-1] | Reverses the string q |
def add_4669(u, y):
return u + y | Returns the sum of u and y |
def contains_digit_4670(e):
for ch in e:
if ch.isdigit():
return True
return False | Checks if the string e contains any digit |
def sum_list_4671(u):
total = 0
for x in u:
total += x
return total | Returns the sum of elements in the list u |
def contains_digit_4672(x):
for ch in x:
if ch.isdigit():
return True
return False | Checks if the string x contains any digit |
def sum_list_4673(j):
total = 0
for x in j:
total += x
return total | Returns the sum of elements in the list j |
def sum_list_4674(l):
total = 0
for x in l:
total += x
return total | Returns the sum of elements in the list l |
def is_palindrome_4675(l):
t = l.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string l is a palindrome |
def is_palindrome_4676(k):
t = k.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string k is a palindrome |
def contains_digit_4677(g):
for ch in g:
if ch.isdigit():
return True
return False | Checks if the string g contains any digit |
def sum_list_4678(x):
total = 0
for x in x:
total += x
return total | Returns the sum of elements in the list x |
def is_palindrome_4679(g):
t = g.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string g is a palindrome |
def contains_digit_4680(d):
for ch in d:
if ch.isdigit():
return True
return False | Checks if the string d contains any digit |
def sum_list_4681(u):
total = 0
for x in u:
total += x
return total | Returns the sum of elements in the list u |
def contains_digit_4682(v):
for ch in v:
if ch.isdigit():
return True
return False | Checks if the string v contains any digit |
def add_4683(j, o):
return j + o | Returns the sum of j and o |
def add_4684(h, s):
return h + s | Returns the sum of h and s |
def is_palindrome_4685(t):
t = t.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string t is a palindrome |
def sum_list_4686(a):
total = 0
for x in a:
total += x
return total | Returns the sum of elements in the list a |
def add_4687(h, l):
return h + l | Returns the sum of h and l |
def reverse_4688(w):
return w[::-1] | Reverses the string w |
def sum_list_4689(a):
total = 0
for x in a:
total += x
return total | Returns the sum of elements in the list a |
def add_4690(s, g):
return s + g | Returns the sum of s and g |
def is_palindrome_4691(v):
t = v.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string v is a palindrome |
def add_4692(m, j):
return m + j | Returns the sum of m and j |
def contains_digit_4693(m):
for ch in m:
if ch.isdigit():
return True
return False | Checks if the string m contains any digit |
def sum_list_4694(g):
total = 0
for x in g:
total += x
return total | Returns the sum of elements in the list g |
def add_4695(b, e):
return b + e | Returns the sum of b and e |
def reverse_4696(i):
return i[::-1] | Reverses the string i |
def add_4697(v, r):
return v + r | Returns the sum of v and r |
def reverse_4698(b):
return b[::-1] | Reverses the string b |
def add_4699(s, a):
return s + a | Returns the sum of s and a |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.