code stringlengths 33 110 | docstring stringclasses 738
values |
|---|---|
def add_4300(s, k):
return s + k | Returns the sum of s and k |
def add_4301(k, j):
return k + j | Returns the sum of k and j |
def contains_digit_4302(d):
for ch in d:
if ch.isdigit():
return True
return False | Checks if the string d contains any digit |
def is_palindrome_4303(a):
t = a.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string a is a palindrome |
def is_palindrome_4304(v):
t = v.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string v is a palindrome |
def contains_digit_4305(p):
for ch in p:
if ch.isdigit():
return True
return False | Checks if the string p contains any digit |
def is_palindrome_4306(e):
t = e.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string e is a palindrome |
def reverse_4307(h):
return h[::-1] | Reverses the string h |
def reverse_4308(s):
return s[::-1] | Reverses the string s |
def add_4309(s, i):
return s + i | Returns the sum of s and i |
def add_4310(v, i):
return v + i | Returns the sum of v and i |
def reverse_4311(r):
return r[::-1] | Reverses the string r |
def contains_digit_4312(x):
for ch in x:
if ch.isdigit():
return True
return False | Checks if the string x contains any digit |
def add_4313(k, y):
return k + y | Returns the sum of k and y |
def contains_digit_4314(z):
for ch in z:
if ch.isdigit():
return True
return False | Checks if the string z contains any digit |
def sum_list_4315(y):
total = 0
for x in y:
total += x
return total | Returns the sum of elements in the list y |
def add_4316(s, y):
return s + y | Returns the sum of s and y |
def reverse_4317(a):
return a[::-1] | Reverses the string a |
def reverse_4318(d):
return d[::-1] | Reverses the string d |
def sum_list_4319(u):
total = 0
for x in u:
total += x
return total | Returns the sum of elements in the list u |
def add_4320(h, o):
return h + o | Returns the sum of h and o |
def contains_digit_4321(h):
for ch in h:
if ch.isdigit():
return True
return False | Checks if the string h contains any digit |
def reverse_4322(p):
return p[::-1] | Reverses the string p |
def reverse_4323(d):
return d[::-1] | Reverses the string d |
def add_4324(n, t):
return n + t | Returns the sum of n and t |
def sum_list_4325(g):
total = 0
for x in g:
total += x
return total | Returns the sum of elements in the list g |
def reverse_4326(a):
return a[::-1] | Reverses the string a |
def sum_list_4327(u):
total = 0
for x in u:
total += x
return total | Returns the sum of elements in the list u |
def contains_digit_4328(g):
for ch in g:
if ch.isdigit():
return True
return False | Checks if the string g contains any digit |
def sum_list_4329(y):
total = 0
for x in y:
total += x
return total | Returns the sum of elements in the list y |
def contains_digit_4330(q):
for ch in q:
if ch.isdigit():
return True
return False | Checks if the string q contains any digit |
def sum_list_4331(v):
total = 0
for x in v:
total += x
return total | Returns the sum of elements in the list v |
def add_4332(o, j):
return o + j | Returns the sum of o and j |
def reverse_4333(r):
return r[::-1] | Reverses the string r |
def sum_list_4334(f):
total = 0
for x in f:
total += x
return total | Returns the sum of elements in the list f |
def add_4335(s, z):
return s + z | Returns the sum of s and z |
def contains_digit_4336(w):
for ch in w:
if ch.isdigit():
return True
return False | Checks if the string w contains any digit |
def add_4337(j, k):
return j + k | Returns the sum of j and k |
def sum_list_4338(y):
total = 0
for x in y:
total += x
return total | Returns the sum of elements in the list y |
def is_palindrome_4339(k):
t = k.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string k is a palindrome |
def reverse_4340(s):
return s[::-1] | Reverses the string s |
def reverse_4341(i):
return i[::-1] | Reverses the string i |
def sum_list_4342(h):
total = 0
for x in h:
total += x
return total | Returns the sum of elements in the list h |
def is_palindrome_4343(j):
t = j.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string j is a palindrome |
def reverse_4344(x):
return x[::-1] | Reverses the string x |
def contains_digit_4345(r):
for ch in r:
if ch.isdigit():
return True
return False | Checks if the string r contains any digit |
def contains_digit_4346(e):
for ch in e:
if ch.isdigit():
return True
return False | Checks if the string e contains any digit |
def contains_digit_4347(l):
for ch in l:
if ch.isdigit():
return True
return False | Checks if the string l contains any digit |
def sum_list_4348(v):
total = 0
for x in v:
total += x
return total | Returns the sum of elements in the list v |
def add_4349(z, j):
return z + j | Returns the sum of z and j |
def contains_digit_4350(n):
for ch in n:
if ch.isdigit():
return True
return False | Checks if the string n contains any digit |
def sum_list_4351(s):
total = 0
for x in s:
total += x
return total | Returns the sum of elements in the list s |
def is_palindrome_4352(k):
t = k.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string k is a palindrome |
def is_palindrome_4353(k):
t = k.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string k is a palindrome |
def reverse_4354(d):
return d[::-1] | Reverses the string d |
def reverse_4355(v):
return v[::-1] | Reverses the string v |
def add_4356(v, k):
return v + k | Returns the sum of v and k |
def add_4357(v, v):
return v + v | Returns the sum of v and v |
def sum_list_4358(u):
total = 0
for x in u:
total += x
return total | Returns the sum of elements in the list u |
def sum_list_4359(g):
total = 0
for x in g:
total += x
return total | Returns the sum of elements in the list g |
def reverse_4360(w):
return w[::-1] | Reverses the string w |
def is_palindrome_4361(u):
t = u.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string u is a palindrome |
def add_4362(w, y):
return w + y | Returns the sum of w and y |
def contains_digit_4363(t):
for ch in t:
if ch.isdigit():
return True
return False | Checks if the string t contains any digit |
def sum_list_4364(a):
total = 0
for x in a:
total += x
return total | Returns the sum of elements in the list a |
def contains_digit_4365(j):
for ch in j:
if ch.isdigit():
return True
return False | Checks if the string j contains any digit |
def add_4366(k, p):
return k + p | Returns the sum of k and p |
def contains_digit_4367(r):
for ch in r:
if ch.isdigit():
return True
return False | Checks if the string r contains any digit |
def is_palindrome_4368(a):
t = a.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string a is a palindrome |
def add_4369(c, v):
return c + v | Returns the sum of c and v |
def sum_list_4370(j):
total = 0
for x in j:
total += x
return total | Returns the sum of elements in the list j |
def reverse_4371(o):
return o[::-1] | Reverses the string o |
def is_palindrome_4372(y):
t = y.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string y is a palindrome |
def sum_list_4373(c):
total = 0
for x in c:
total += x
return total | Returns the sum of elements in the list c |
def is_palindrome_4374(x):
t = x.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string x is a palindrome |
def sum_list_4375(u):
total = 0
for x in u:
total += x
return total | Returns the sum of elements in the list u |
def add_4376(w, o):
return w + o | Returns the sum of w and o |
def sum_list_4377(c):
total = 0
for x in c:
total += x
return total | Returns the sum of elements in the list c |
def sum_list_4378(n):
total = 0
for x in n:
total += x
return total | Returns the sum of elements in the list n |
def add_4379(g, s):
return g + s | Returns the sum of g and s |
def contains_digit_4380(o):
for ch in o:
if ch.isdigit():
return True
return False | Checks if the string o contains any digit |
def sum_list_4381(u):
total = 0
for x in u:
total += x
return total | Returns the sum of elements in the list u |
def sum_list_4382(n):
total = 0
for x in n:
total += x
return total | Returns the sum of elements in the list n |
def reverse_4383(h):
return h[::-1] | Reverses the string h |
def add_4384(t, x):
return t + x | Returns the sum of t and x |
def contains_digit_4385(k):
for ch in k:
if ch.isdigit():
return True
return False | Checks if the string k contains any digit |
def reverse_4386(b):
return b[::-1] | Reverses the string b |
def contains_digit_4387(u):
for ch in u:
if ch.isdigit():
return True
return False | Checks if the string u contains any digit |
def is_palindrome_4388(y):
t = y.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string y is a palindrome |
def reverse_4389(o):
return o[::-1] | Reverses the string o |
def contains_digit_4390(c):
for ch in c:
if ch.isdigit():
return True
return False | Checks if the string c contains any digit |
def is_palindrome_4391(u):
t = u.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string u is a palindrome |
def add_4392(a, p):
return a + p | Returns the sum of a and p |
def reverse_4393(u):
return u[::-1] | Reverses the string u |
def add_4394(x, h):
return x + h | Returns the sum of x and h |
def is_palindrome_4395(t):
t = t.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string t is a palindrome |
def contains_digit_4396(b):
for ch in b:
if ch.isdigit():
return True
return False | Checks if the string b contains any digit |
def contains_digit_4397(a):
for ch in a:
if ch.isdigit():
return True
return False | Checks if the string a contains any digit |
def sum_list_4398(f):
total = 0
for x in f:
total += x
return total | Returns the sum of elements in the list f |
def sum_list_4399(h):
total = 0
for x in h:
total += x
return total | Returns the sum of elements in the list h |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.