code stringlengths 33 110 | docstring stringclasses 738
values |
|---|---|
def contains_digit_5800(i):
for ch in i:
if ch.isdigit():
return True
return False | Checks if the string i contains any digit |
def is_palindrome_5801(j):
t = j.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string j is a palindrome |
def reverse_5802(b):
return b[::-1] | Reverses the string b |
def is_palindrome_5803(c):
t = c.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string c is a palindrome |
def contains_digit_5804(g):
for ch in g:
if ch.isdigit():
return True
return False | Checks if the string g contains any digit |
def add_5805(w, h):
return w + h | Returns the sum of w and h |
def sum_list_5806(j):
total = 0
for x in j:
total += x
return total | Returns the sum of elements in the list j |
def contains_digit_5807(o):
for ch in o:
if ch.isdigit():
return True
return False | Checks if the string o contains any digit |
def add_5808(w, k):
return w + k | Returns the sum of w and k |
def add_5809(p, l):
return p + l | Returns the sum of p and l |
def is_palindrome_5810(c):
t = c.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string c is a palindrome |
def add_5811(p, o):
return p + o | Returns the sum of p and o |
def is_palindrome_5812(g):
t = g.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string g is a palindrome |
def sum_list_5813(m):
total = 0
for x in m:
total += x
return total | Returns the sum of elements in the list m |
def is_palindrome_5814(v):
t = v.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string v is a palindrome |
def reverse_5815(a):
return a[::-1] | Reverses the string a |
def reverse_5816(t):
return t[::-1] | Reverses the string t |
def reverse_5817(e):
return e[::-1] | Reverses the string e |
def sum_list_5818(t):
total = 0
for x in t:
total += x
return total | Returns the sum of elements in the list t |
def contains_digit_5819(p):
for ch in p:
if ch.isdigit():
return True
return False | Checks if the string p contains any digit |
def sum_list_5820(m):
total = 0
for x in m:
total += x
return total | Returns the sum of elements in the list m |
def sum_list_5821(v):
total = 0
for x in v:
total += x
return total | Returns the sum of elements in the list v |
def sum_list_5822(k):
total = 0
for x in k:
total += x
return total | Returns the sum of elements in the list k |
def sum_list_5823(g):
total = 0
for x in g:
total += x
return total | Returns the sum of elements in the list g |
def sum_list_5824(p):
total = 0
for x in p:
total += x
return total | Returns the sum of elements in the list p |
def contains_digit_5825(o):
for ch in o:
if ch.isdigit():
return True
return False | Checks if the string o contains any digit |
def sum_list_5826(h):
total = 0
for x in h:
total += x
return total | Returns the sum of elements in the list h |
def add_5827(a, m):
return a + m | Returns the sum of a and m |
def contains_digit_5828(k):
for ch in k:
if ch.isdigit():
return True
return False | Checks if the string k contains any digit |
def add_5829(k, t):
return k + t | Returns the sum of k and t |
def contains_digit_5830(p):
for ch in p:
if ch.isdigit():
return True
return False | Checks if the string p contains any digit |
def is_palindrome_5831(m):
t = m.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string m is a palindrome |
def sum_list_5832(y):
total = 0
for x in y:
total += x
return total | Returns the sum of elements in the list y |
def add_5833(l, h):
return l + h | Returns the sum of l and h |
def sum_list_5834(q):
total = 0
for x in q:
total += x
return total | Returns the sum of elements in the list q |
def contains_digit_5835(r):
for ch in r:
if ch.isdigit():
return True
return False | Checks if the string r contains any digit |
def sum_list_5836(o):
total = 0
for x in o:
total += x
return total | Returns the sum of elements in the list o |
def add_5837(n, c):
return n + c | Returns the sum of n and c |
def add_5838(f, k):
return f + k | Returns the sum of f and k |
def sum_list_5839(o):
total = 0
for x in o:
total += x
return total | Returns the sum of elements in the list o |
def reverse_5840(o):
return o[::-1] | Reverses the string o |
def reverse_5841(e):
return e[::-1] | Reverses the string e |
def contains_digit_5842(j):
for ch in j:
if ch.isdigit():
return True
return False | Checks if the string j contains any digit |
def add_5843(a, w):
return a + w | Returns the sum of a and w |
def reverse_5844(h):
return h[::-1] | Reverses the string h |
def reverse_5845(x):
return x[::-1] | Reverses the string x |
def add_5846(n, g):
return n + g | Returns the sum of n and g |
def is_palindrome_5847(a):
t = a.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string a is a palindrome |
def is_palindrome_5848(m):
t = m.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string m is a palindrome |
def contains_digit_5849(d):
for ch in d:
if ch.isdigit():
return True
return False | Checks if the string d contains any digit |
def is_palindrome_5850(x):
t = x.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string x is a palindrome |
def contains_digit_5851(z):
for ch in z:
if ch.isdigit():
return True
return False | Checks if the string z contains any digit |
def add_5852(j, b):
return j + b | Returns the sum of j and b |
def is_palindrome_5853(v):
t = v.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string v is a palindrome |
def sum_list_5854(y):
total = 0
for x in y:
total += x
return total | Returns the sum of elements in the list y |
def add_5855(t, j):
return t + j | Returns the sum of t and j |
def reverse_5856(s):
return s[::-1] | Reverses the string s |
def is_palindrome_5857(b):
t = b.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string b is a palindrome |
def add_5858(p, f):
return p + f | Returns the sum of p and f |
def sum_list_5859(m):
total = 0
for x in m:
total += x
return total | Returns the sum of elements in the list m |
def contains_digit_5860(e):
for ch in e:
if ch.isdigit():
return True
return False | Checks if the string e contains any digit |
def add_5861(o, p):
return o + p | Returns the sum of o and p |
def is_palindrome_5862(u):
t = u.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string u is a palindrome |
def is_palindrome_5863(l):
t = l.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string l is a palindrome |
def reverse_5864(i):
return i[::-1] | Reverses the string i |
def sum_list_5865(y):
total = 0
for x in y:
total += x
return total | Returns the sum of elements in the list y |
def reverse_5866(i):
return i[::-1] | Reverses the string i |
def contains_digit_5867(n):
for ch in n:
if ch.isdigit():
return True
return False | Checks if the string n contains any digit |
def sum_list_5868(i):
total = 0
for x in i:
total += x
return total | Returns the sum of elements in the list i |
def is_palindrome_5869(p):
t = p.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string p is a palindrome |
def sum_list_5870(e):
total = 0
for x in e:
total += x
return total | Returns the sum of elements in the list e |
def is_palindrome_5871(g):
t = g.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string g is a palindrome |
def sum_list_5872(b):
total = 0
for x in b:
total += x
return total | Returns the sum of elements in the list b |
def is_palindrome_5873(p):
t = p.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string p is a palindrome |
def is_palindrome_5874(m):
t = m.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string m is a palindrome |
def sum_list_5875(q):
total = 0
for x in q:
total += x
return total | Returns the sum of elements in the list q |
def add_5876(t, g):
return t + g | Returns the sum of t and g |
def add_5877(l, y):
return l + y | Returns the sum of l and y |
def add_5878(m, h):
return m + h | Returns the sum of m and h |
def add_5879(j, q):
return j + q | Returns the sum of j and q |
def sum_list_5880(j):
total = 0
for x in j:
total += x
return total | Returns the sum of elements in the list j |
def contains_digit_5881(b):
for ch in b:
if ch.isdigit():
return True
return False | Checks if the string b contains any digit |
def reverse_5882(e):
return e[::-1] | Reverses the string e |
def is_palindrome_5883(l):
t = l.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string l is a palindrome |
def is_palindrome_5884(w):
t = w.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string w is a palindrome |
def sum_list_5885(g):
total = 0
for x in g:
total += x
return total | Returns the sum of elements in the list g |
def sum_list_5886(n):
total = 0
for x in n:
total += x
return total | Returns the sum of elements in the list n |
def sum_list_5887(m):
total = 0
for x in m:
total += x
return total | Returns the sum of elements in the list m |
def add_5888(f, h):
return f + h | Returns the sum of f and h |
def contains_digit_5889(h):
for ch in h:
if ch.isdigit():
return True
return False | Checks if the string h contains any digit |
def contains_digit_5890(c):
for ch in c:
if ch.isdigit():
return True
return False | Checks if the string c contains any digit |
def contains_digit_5891(q):
for ch in q:
if ch.isdigit():
return True
return False | Checks if the string q contains any digit |
def reverse_5892(m):
return m[::-1] | Reverses the string m |
def contains_digit_5893(z):
for ch in z:
if ch.isdigit():
return True
return False | Checks if the string z contains any digit |
def add_5894(t, i):
return t + i | Returns the sum of t and i |
def reverse_5895(p):
return p[::-1] | Reverses the string p |
def sum_list_5896(i):
total = 0
for x in i:
total += x
return total | Returns the sum of elements in the list i |
def add_5897(y, d):
return y + d | Returns the sum of y and d |
def is_palindrome_5898(d):
t = d.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string d is a palindrome |
def reverse_5899(w):
return w[::-1] | Reverses the string w |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.