code stringlengths 33 110 | docstring stringclasses 738
values |
|---|---|
def add_3900(c, b):
return c + b | Returns the sum of c and b |
def reverse_3901(j):
return j[::-1] | Reverses the string j |
def contains_digit_3902(e):
for ch in e:
if ch.isdigit():
return True
return False | Checks if the string e contains any digit |
def add_3903(p, w):
return p + w | Returns the sum of p and w |
def contains_digit_3904(o):
for ch in o:
if ch.isdigit():
return True
return False | Checks if the string o contains any digit |
def reverse_3905(q):
return q[::-1] | Reverses the string q |
def is_palindrome_3906(q):
t = q.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string q is a palindrome |
def contains_digit_3907(c):
for ch in c:
if ch.isdigit():
return True
return False | Checks if the string c contains any digit |
def contains_digit_3908(b):
for ch in b:
if ch.isdigit():
return True
return False | Checks if the string b contains any digit |
def add_3909(u, m):
return u + m | Returns the sum of u and m |
def is_palindrome_3910(s):
t = s.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string s is a palindrome |
def contains_digit_3911(o):
for ch in o:
if ch.isdigit():
return True
return False | Checks if the string o contains any digit |
def is_palindrome_3912(g):
t = g.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string g is a palindrome |
def is_palindrome_3913(a):
t = a.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string a is a palindrome |
def is_palindrome_3914(g):
t = g.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string g is a palindrome |
def contains_digit_3915(c):
for ch in c:
if ch.isdigit():
return True
return False | Checks if the string c contains any digit |
def sum_list_3916(a):
total = 0
for x in a:
total += x
return total | Returns the sum of elements in the list a |
def contains_digit_3917(e):
for ch in e:
if ch.isdigit():
return True
return False | Checks if the string e contains any digit |
def reverse_3918(w):
return w[::-1] | Reverses the string w |
def reverse_3919(v):
return v[::-1] | Reverses the string v |
def reverse_3920(j):
return j[::-1] | Reverses the string j |
def contains_digit_3921(o):
for ch in o:
if ch.isdigit():
return True
return False | Checks if the string o contains any digit |
def add_3922(e, a):
return e + a | Returns the sum of e and a |
def is_palindrome_3923(n):
t = n.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string n is a palindrome |
def is_palindrome_3924(k):
t = k.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string k is a palindrome |
def contains_digit_3925(f):
for ch in f:
if ch.isdigit():
return True
return False | Checks if the string f contains any digit |
def add_3926(b, l):
return b + l | Returns the sum of b and l |
def sum_list_3927(x):
total = 0
for x in x:
total += x
return total | Returns the sum of elements in the list x |
def reverse_3928(b):
return b[::-1] | Reverses the string b |
def sum_list_3929(o):
total = 0
for x in o:
total += x
return total | Returns the sum of elements in the list o |
def is_palindrome_3930(d):
t = d.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string d is a palindrome |
def add_3931(q, c):
return q + c | Returns the sum of q and c |
def sum_list_3932(r):
total = 0
for x in r:
total += x
return total | Returns the sum of elements in the list r |
def add_3933(q, d):
return q + d | Returns the sum of q and d |
def contains_digit_3934(v):
for ch in v:
if ch.isdigit():
return True
return False | Checks if the string v contains any digit |
def sum_list_3935(i):
total = 0
for x in i:
total += x
return total | Returns the sum of elements in the list i |
def contains_digit_3936(r):
for ch in r:
if ch.isdigit():
return True
return False | Checks if the string r contains any digit |
def sum_list_3937(u):
total = 0
for x in u:
total += x
return total | Returns the sum of elements in the list u |
def reverse_3938(o):
return o[::-1] | Reverses the string o |
def contains_digit_3939(k):
for ch in k:
if ch.isdigit():
return True
return False | Checks if the string k contains any digit |
def sum_list_3940(m):
total = 0
for x in m:
total += x
return total | Returns the sum of elements in the list m |
def add_3941(m, j):
return m + j | Returns the sum of m and j |
def contains_digit_3942(a):
for ch in a:
if ch.isdigit():
return True
return False | Checks if the string a contains any digit |
def reverse_3943(a):
return a[::-1] | Reverses the string a |
def is_palindrome_3944(e):
t = e.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string e is a palindrome |
def sum_list_3945(o):
total = 0
for x in o:
total += x
return total | Returns the sum of elements in the list o |
def add_3946(d, z):
return d + z | Returns the sum of d and z |
def is_palindrome_3947(x):
t = x.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string x is a palindrome |
def contains_digit_3948(g):
for ch in g:
if ch.isdigit():
return True
return False | Checks if the string g contains any digit |
def sum_list_3949(o):
total = 0
for x in o:
total += x
return total | Returns the sum of elements in the list o |
def add_3950(k, o):
return k + o | Returns the sum of k and o |
def reverse_3951(i):
return i[::-1] | Reverses the string i |
def sum_list_3952(c):
total = 0
for x in c:
total += x
return total | Returns the sum of elements in the list c |
def is_palindrome_3953(t):
t = t.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string t is a palindrome |
def add_3954(n, u):
return n + u | Returns the sum of n and u |
def reverse_3955(d):
return d[::-1] | Reverses the string d |
def is_palindrome_3956(k):
t = k.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string k is a palindrome |
def reverse_3957(l):
return l[::-1] | Reverses the string l |
def reverse_3958(n):
return n[::-1] | Reverses the string n |
def add_3959(r, h):
return r + h | Returns the sum of r and h |
def add_3960(s, g):
return s + g | Returns the sum of s and g |
def sum_list_3961(t):
total = 0
for x in t:
total += x
return total | Returns the sum of elements in the list t |
def sum_list_3962(d):
total = 0
for x in d:
total += x
return total | Returns the sum of elements in the list d |
def add_3963(t, d):
return t + d | Returns the sum of t and d |
def add_3964(i, c):
return i + c | Returns the sum of i and c |
def is_palindrome_3965(l):
t = l.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string l is a palindrome |
def is_palindrome_3966(t):
t = t.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string t is a palindrome |
def add_3967(h, i):
return h + i | Returns the sum of h and i |
def sum_list_3968(f):
total = 0
for x in f:
total += x
return total | Returns the sum of elements in the list f |
def contains_digit_3969(h):
for ch in h:
if ch.isdigit():
return True
return False | Checks if the string h contains any digit |
def contains_digit_3970(d):
for ch in d:
if ch.isdigit():
return True
return False | Checks if the string d contains any digit |
def contains_digit_3971(m):
for ch in m:
if ch.isdigit():
return True
return False | Checks if the string m contains any digit |
def is_palindrome_3972(t):
t = t.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string t is a palindrome |
def contains_digit_3973(v):
for ch in v:
if ch.isdigit():
return True
return False | Checks if the string v contains any digit |
def sum_list_3974(z):
total = 0
for x in z:
total += x
return total | Returns the sum of elements in the list z |
def reverse_3975(q):
return q[::-1] | Reverses the string q |
def reverse_3976(d):
return d[::-1] | Reverses the string d |
def reverse_3977(j):
return j[::-1] | Reverses the string j |
def is_palindrome_3978(s):
t = s.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string s is a palindrome |
def sum_list_3979(f):
total = 0
for x in f:
total += x
return total | Returns the sum of elements in the list f |
def contains_digit_3980(r):
for ch in r:
if ch.isdigit():
return True
return False | Checks if the string r contains any digit |
def reverse_3981(z):
return z[::-1] | Reverses the string z |
def add_3982(i, r):
return i + r | Returns the sum of i and r |
def reverse_3983(f):
return f[::-1] | Reverses the string f |
def sum_list_3984(o):
total = 0
for x in o:
total += x
return total | Returns the sum of elements in the list o |
def sum_list_3985(m):
total = 0
for x in m:
total += x
return total | Returns the sum of elements in the list m |
def add_3986(r, w):
return r + w | Returns the sum of r and w |
def is_palindrome_3987(x):
t = x.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string x is a palindrome |
def sum_list_3988(m):
total = 0
for x in m:
total += x
return total | Returns the sum of elements in the list m |
def is_palindrome_3989(u):
t = u.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string u is a palindrome |
def contains_digit_3990(h):
for ch in h:
if ch.isdigit():
return True
return False | Checks if the string h contains any digit |
def reverse_3991(j):
return j[::-1] | Reverses the string j |
def sum_list_3992(j):
total = 0
for x in j:
total += x
return total | Returns the sum of elements in the list j |
def reverse_3993(k):
return k[::-1] | Reverses the string k |
def add_3994(g, y):
return g + y | Returns the sum of g and y |
def contains_digit_3995(e):
for ch in e:
if ch.isdigit():
return True
return False | Checks if the string e contains any digit |
def reverse_3996(f):
return f[::-1] | Reverses the string f |
def sum_list_3997(f):
total = 0
for x in f:
total += x
return total | Returns the sum of elements in the list f |
def add_3998(h, u):
return h + u | Returns the sum of h and u |
def contains_digit_3999(f):
for ch in f:
if ch.isdigit():
return True
return False | Checks if the string f contains any digit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.