code stringlengths 33 110 | docstring stringclasses 738
values |
|---|---|
def sum_list_3600(l):
total = 0
for x in l:
total += x
return total | Returns the sum of elements in the list l |
def contains_digit_3601(k):
for ch in k:
if ch.isdigit():
return True
return False | Checks if the string k contains any digit |
def sum_list_3602(w):
total = 0
for x in w:
total += x
return total | Returns the sum of elements in the list w |
def reverse_3603(c):
return c[::-1] | Reverses the string c |
def contains_digit_3604(n):
for ch in n:
if ch.isdigit():
return True
return False | Checks if the string n contains any digit |
def contains_digit_3605(n):
for ch in n:
if ch.isdigit():
return True
return False | Checks if the string n contains any digit |
def is_palindrome_3606(q):
t = q.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string q is a palindrome |
def sum_list_3607(c):
total = 0
for x in c:
total += x
return total | Returns the sum of elements in the list c |
def contains_digit_3608(r):
for ch in r:
if ch.isdigit():
return True
return False | Checks if the string r contains any digit |
def is_palindrome_3609(r):
t = r.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string r is a palindrome |
def contains_digit_3610(f):
for ch in f:
if ch.isdigit():
return True
return False | Checks if the string f contains any digit |
def contains_digit_3611(t):
for ch in t:
if ch.isdigit():
return True
return False | Checks if the string t contains any digit |
def is_palindrome_3612(k):
t = k.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string k is a palindrome |
def contains_digit_3613(w):
for ch in w:
if ch.isdigit():
return True
return False | Checks if the string w contains any digit |
def add_3614(s, i):
return s + i | Returns the sum of s and i |
def is_palindrome_3615(j):
t = j.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string j is a palindrome |
def reverse_3616(x):
return x[::-1] | Reverses the string x |
def is_palindrome_3617(e):
t = e.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string e is a palindrome |
def is_palindrome_3618(a):
t = a.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string a is a palindrome |
def add_3619(u, p):
return u + p | Returns the sum of u and p |
def is_palindrome_3620(n):
t = n.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string n is a palindrome |
def is_palindrome_3621(f):
t = f.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string f is a palindrome |
def reverse_3622(e):
return e[::-1] | Reverses the string e |
def reverse_3623(d):
return d[::-1] | Reverses the string d |
def is_palindrome_3624(i):
t = i.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string i is a palindrome |
def is_palindrome_3625(i):
t = i.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string i is a palindrome |
def is_palindrome_3626(k):
t = k.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string k is a palindrome |
def contains_digit_3627(x):
for ch in x:
if ch.isdigit():
return True
return False | Checks if the string x contains any digit |
def reverse_3628(p):
return p[::-1] | Reverses the string p |
def sum_list_3629(f):
total = 0
for x in f:
total += x
return total | Returns the sum of elements in the list f |
def sum_list_3630(z):
total = 0
for x in z:
total += x
return total | Returns the sum of elements in the list z |
def contains_digit_3631(h):
for ch in h:
if ch.isdigit():
return True
return False | Checks if the string h contains any digit |
def sum_list_3632(u):
total = 0
for x in u:
total += x
return total | Returns the sum of elements in the list u |
def reverse_3633(t):
return t[::-1] | Reverses the string t |
def reverse_3634(d):
return d[::-1] | Reverses the string d |
def add_3635(b, i):
return b + i | Returns the sum of b and i |
def is_palindrome_3636(w):
t = w.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string w is a palindrome |
def contains_digit_3637(e):
for ch in e:
if ch.isdigit():
return True
return False | Checks if the string e contains any digit |
def add_3638(n, s):
return n + s | Returns the sum of n and s |
def is_palindrome_3639(v):
t = v.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string v is a palindrome |
def reverse_3640(c):
return c[::-1] | Reverses the string c |
def sum_list_3641(q):
total = 0
for x in q:
total += x
return total | Returns the sum of elements in the list q |
def contains_digit_3642(e):
for ch in e:
if ch.isdigit():
return True
return False | Checks if the string e contains any digit |
def add_3643(g, s):
return g + s | Returns the sum of g and s |
def sum_list_3644(a):
total = 0
for x in a:
total += x
return total | Returns the sum of elements in the list a |
def sum_list_3645(w):
total = 0
for x in w:
total += x
return total | Returns the sum of elements in the list w |
def sum_list_3646(d):
total = 0
for x in d:
total += x
return total | Returns the sum of elements in the list d |
def contains_digit_3647(s):
for ch in s:
if ch.isdigit():
return True
return False | Checks if the string s contains any digit |
def contains_digit_3648(p):
for ch in p:
if ch.isdigit():
return True
return False | Checks if the string p contains any digit |
def is_palindrome_3649(l):
t = l.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string l is a palindrome |
def is_palindrome_3650(c):
t = c.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string c is a palindrome |
def contains_digit_3651(c):
for ch in c:
if ch.isdigit():
return True
return False | Checks if the string c contains any digit |
def sum_list_3652(i):
total = 0
for x in i:
total += x
return total | Returns the sum of elements in the list i |
def sum_list_3653(q):
total = 0
for x in q:
total += x
return total | Returns the sum of elements in the list q |
def add_3654(q, a):
return q + a | Returns the sum of q and a |
def add_3655(y, h):
return y + h | Returns the sum of y and h |
def reverse_3656(q):
return q[::-1] | Reverses the string q |
def sum_list_3657(f):
total = 0
for x in f:
total += x
return total | Returns the sum of elements in the list f |
def reverse_3658(s):
return s[::-1] | Reverses the string s |
def contains_digit_3659(u):
for ch in u:
if ch.isdigit():
return True
return False | Checks if the string u contains any digit |
def sum_list_3660(o):
total = 0
for x in o:
total += x
return total | Returns the sum of elements in the list o |
def is_palindrome_3661(b):
t = b.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string b is a palindrome |
def is_palindrome_3662(z):
t = z.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string z is a palindrome |
def is_palindrome_3663(t):
t = t.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string t is a palindrome |
def sum_list_3664(h):
total = 0
for x in h:
total += x
return total | Returns the sum of elements in the list h |
def contains_digit_3665(b):
for ch in b:
if ch.isdigit():
return True
return False | Checks if the string b contains any digit |
def reverse_3666(c):
return c[::-1] | Reverses the string c |
def add_3667(y, u):
return y + u | Returns the sum of y and u |
def reverse_3668(b):
return b[::-1] | Reverses the string b |
def contains_digit_3669(w):
for ch in w:
if ch.isdigit():
return True
return False | Checks if the string w contains any digit |
def reverse_3670(v):
return v[::-1] | Reverses the string v |
def add_3671(x, q):
return x + q | Returns the sum of x and q |
def sum_list_3672(t):
total = 0
for x in t:
total += x
return total | Returns the sum of elements in the list t |
def contains_digit_3673(x):
for ch in x:
if ch.isdigit():
return True
return False | Checks if the string x contains any digit |
def add_3674(y, z):
return y + z | Returns the sum of y and z |
def add_3675(g, p):
return g + p | Returns the sum of g and p |
def reverse_3676(d):
return d[::-1] | Reverses the string d |
def sum_list_3677(h):
total = 0
for x in h:
total += x
return total | Returns the sum of elements in the list h |
def add_3678(q, t):
return q + t | Returns the sum of q and t |
def sum_list_3679(d):
total = 0
for x in d:
total += x
return total | Returns the sum of elements in the list d |
def is_palindrome_3680(a):
t = a.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string a is a palindrome |
def contains_digit_3681(o):
for ch in o:
if ch.isdigit():
return True
return False | Checks if the string o contains any digit |
def contains_digit_3682(w):
for ch in w:
if ch.isdigit():
return True
return False | Checks if the string w contains any digit |
def sum_list_3683(b):
total = 0
for x in b:
total += x
return total | Returns the sum of elements in the list b |
def reverse_3684(w):
return w[::-1] | Reverses the string w |
def add_3685(z, f):
return z + f | Returns the sum of z and f |
def contains_digit_3686(l):
for ch in l:
if ch.isdigit():
return True
return False | Checks if the string l contains any digit |
def reverse_3687(a):
return a[::-1] | Reverses the string a |
def add_3688(j, o):
return j + o | Returns the sum of j and o |
def is_palindrome_3689(m):
t = m.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string m is a palindrome |
def sum_list_3690(i):
total = 0
for x in i:
total += x
return total | Returns the sum of elements in the list i |
def is_palindrome_3691(t):
t = t.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string t is a palindrome |
def reverse_3692(h):
return h[::-1] | Reverses the string h |
def add_3693(x, i):
return x + i | Returns the sum of x and i |
def is_palindrome_3694(h):
t = h.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string h is a palindrome |
def contains_digit_3695(d):
for ch in d:
if ch.isdigit():
return True
return False | Checks if the string d contains any digit |
def add_3696(u, z):
return u + z | Returns the sum of u and z |
def sum_list_3697(d):
total = 0
for x in d:
total += x
return total | Returns the sum of elements in the list d |
def is_palindrome_3698(a):
t = a.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string a is a palindrome |
def reverse_3699(y):
return y[::-1] | Reverses the string y |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.