code stringlengths 33 110 | docstring stringclasses 738
values |
|---|---|
def contains_digit_5400(h):
for ch in h:
if ch.isdigit():
return True
return False | Checks if the string h contains any digit |
def add_5401(w, j):
return w + j | Returns the sum of w and j |
def reverse_5402(h):
return h[::-1] | Reverses the string h |
def add_5403(v, m):
return v + m | Returns the sum of v and m |
def add_5404(w, a):
return w + a | Returns the sum of w and a |
def contains_digit_5405(a):
for ch in a:
if ch.isdigit():
return True
return False | Checks if the string a contains any digit |
def add_5406(f, g):
return f + g | Returns the sum of f and g |
def is_palindrome_5407(t):
t = t.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string t is a palindrome |
def reverse_5408(e):
return e[::-1] | Reverses the string e |
def add_5409(v, r):
return v + r | Returns the sum of v and r |
def contains_digit_5410(d):
for ch in d:
if ch.isdigit():
return True
return False | Checks if the string d contains any digit |
def sum_list_5411(u):
total = 0
for x in u:
total += x
return total | Returns the sum of elements in the list u |
def sum_list_5412(t):
total = 0
for x in t:
total += x
return total | Returns the sum of elements in the list t |
def add_5413(b, f):
return b + f | Returns the sum of b and f |
def sum_list_5414(l):
total = 0
for x in l:
total += x
return total | Returns the sum of elements in the list l |
def add_5415(q, y):
return q + y | Returns the sum of q and y |
def add_5416(o, d):
return o + d | Returns the sum of o and d |
def sum_list_5417(b):
total = 0
for x in b:
total += x
return total | Returns the sum of elements in the list b |
def is_palindrome_5418(v):
t = v.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string v is a palindrome |
def reverse_5419(j):
return j[::-1] | Reverses the string j |
def sum_list_5420(b):
total = 0
for x in b:
total += x
return total | Returns the sum of elements in the list b |
def is_palindrome_5421(d):
t = d.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string d is a palindrome |
def sum_list_5422(m):
total = 0
for x in m:
total += x
return total | Returns the sum of elements in the list m |
def is_palindrome_5423(e):
t = e.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string e is a palindrome |
def sum_list_5424(j):
total = 0
for x in j:
total += x
return total | Returns the sum of elements in the list j |
def reverse_5425(n):
return n[::-1] | Reverses the string n |
def reverse_5426(w):
return w[::-1] | Reverses the string w |
def reverse_5427(x):
return x[::-1] | Reverses the string x |
def add_5428(k, k):
return k + k | Returns the sum of k and k |
def is_palindrome_5429(m):
t = m.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string m is a palindrome |
def reverse_5430(y):
return y[::-1] | Reverses the string y |
def sum_list_5431(g):
total = 0
for x in g:
total += x
return total | Returns the sum of elements in the list g |
def is_palindrome_5432(f):
t = f.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string f is a palindrome |
def add_5433(w, a):
return w + a | Returns the sum of w and a |
def contains_digit_5434(h):
for ch in h:
if ch.isdigit():
return True
return False | Checks if the string h contains any digit |
def is_palindrome_5435(m):
t = m.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string m is a palindrome |
def add_5436(x, b):
return x + b | Returns the sum of x and b |
def contains_digit_5437(m):
for ch in m:
if ch.isdigit():
return True
return False | Checks if the string m contains any digit |
def is_palindrome_5438(n):
t = n.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string n is a palindrome |
def contains_digit_5439(w):
for ch in w:
if ch.isdigit():
return True
return False | Checks if the string w contains any digit |
def is_palindrome_5440(z):
t = z.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string z is a palindrome |
def contains_digit_5441(x):
for ch in x:
if ch.isdigit():
return True
return False | Checks if the string x contains any digit |
def add_5442(a, r):
return a + r | Returns the sum of a and r |
def is_palindrome_5443(s):
t = s.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string s is a palindrome |
def contains_digit_5444(w):
for ch in w:
if ch.isdigit():
return True
return False | Checks if the string w contains any digit |
def add_5445(h, j):
return h + j | Returns the sum of h and j |
def contains_digit_5446(i):
for ch in i:
if ch.isdigit():
return True
return False | Checks if the string i contains any digit |
def reverse_5447(v):
return v[::-1] | Reverses the string v |
def sum_list_5448(p):
total = 0
for x in p:
total += x
return total | Returns the sum of elements in the list p |
def sum_list_5449(l):
total = 0
for x in l:
total += x
return total | Returns the sum of elements in the list l |
def reverse_5450(t):
return t[::-1] | Reverses the string t |
def is_palindrome_5451(k):
t = k.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string k is a palindrome |
def reverse_5452(e):
return e[::-1] | Reverses the string e |
def add_5453(n, z):
return n + z | Returns the sum of n and z |
def contains_digit_5454(u):
for ch in u:
if ch.isdigit():
return True
return False | Checks if the string u contains any digit |
def add_5455(r, e):
return r + e | Returns the sum of r and e |
def contains_digit_5456(r):
for ch in r:
if ch.isdigit():
return True
return False | Checks if the string r contains any digit |
def contains_digit_5457(l):
for ch in l:
if ch.isdigit():
return True
return False | Checks if the string l contains any digit |
def reverse_5458(x):
return x[::-1] | Reverses the string x |
def contains_digit_5459(i):
for ch in i:
if ch.isdigit():
return True
return False | Checks if the string i contains any digit |
def sum_list_5460(h):
total = 0
for x in h:
total += x
return total | Returns the sum of elements in the list h |
def contains_digit_5461(t):
for ch in t:
if ch.isdigit():
return True
return False | Checks if the string t contains any digit |
def is_palindrome_5462(f):
t = f.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string f is a palindrome |
def reverse_5463(z):
return z[::-1] | Reverses the string z |
def add_5464(p, y):
return p + y | Returns the sum of p and y |
def sum_list_5465(q):
total = 0
for x in q:
total += x
return total | Returns the sum of elements in the list q |
def reverse_5466(e):
return e[::-1] | Reverses the string e |
def reverse_5467(a):
return a[::-1] | Reverses the string a |
def add_5468(b, a):
return b + a | Returns the sum of b and a |
def reverse_5469(n):
return n[::-1] | Reverses the string n |
def reverse_5470(l):
return l[::-1] | Reverses the string l |
def sum_list_5471(d):
total = 0
for x in d:
total += x
return total | Returns the sum of elements in the list d |
def sum_list_5472(f):
total = 0
for x in f:
total += x
return total | Returns the sum of elements in the list f |
def reverse_5473(z):
return z[::-1] | Reverses the string z |
def contains_digit_5474(i):
for ch in i:
if ch.isdigit():
return True
return False | Checks if the string i contains any digit |
def reverse_5475(e):
return e[::-1] | Reverses the string e |
def sum_list_5476(e):
total = 0
for x in e:
total += x
return total | Returns the sum of elements in the list e |
def add_5477(p, n):
return p + n | Returns the sum of p and n |
def add_5478(l, x):
return l + x | Returns the sum of l and x |
def reverse_5479(l):
return l[::-1] | Reverses the string l |
def sum_list_5480(m):
total = 0
for x in m:
total += x
return total | Returns the sum of elements in the list m |
def sum_list_5481(r):
total = 0
for x in r:
total += x
return total | Returns the sum of elements in the list r |
def reverse_5482(r):
return r[::-1] | Reverses the string r |
def is_palindrome_5483(a):
t = a.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string a is a palindrome |
def add_5484(p, g):
return p + g | Returns the sum of p and g |
def is_palindrome_5485(v):
t = v.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string v is a palindrome |
def is_palindrome_5486(a):
t = a.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string a is a palindrome |
def contains_digit_5487(k):
for ch in k:
if ch.isdigit():
return True
return False | Checks if the string k contains any digit |
def add_5488(p, l):
return p + l | Returns the sum of p and l |
def is_palindrome_5489(e):
t = e.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string e is a palindrome |
def sum_list_5490(z):
total = 0
for x in z:
total += x
return total | Returns the sum of elements in the list z |
def sum_list_5491(x):
total = 0
for x in x:
total += x
return total | Returns the sum of elements in the list x |
def add_5492(g, o):
return g + o | Returns the sum of g and o |
def reverse_5493(d):
return d[::-1] | Reverses the string d |
def reverse_5494(m):
return m[::-1] | Reverses the string m |
def contains_digit_5495(c):
for ch in c:
if ch.isdigit():
return True
return False | Checks if the string c contains any digit |
def sum_list_5496(w):
total = 0
for x in w:
total += x
return total | Returns the sum of elements in the list w |
def sum_list_5497(h):
total = 0
for x in h:
total += x
return total | Returns the sum of elements in the list h |
def is_palindrome_5498(i):
t = i.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string i is a palindrome |
def is_palindrome_5499(h):
t = h.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string h is a palindrome |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.