code stringlengths 33 110 | docstring stringclasses 738
values |
|---|---|
def add_7200(y, c):
return y + c | Returns the sum of y and c |
def contains_digit_7201(q):
for ch in q:
if ch.isdigit():
return True
return False | Checks if the string q contains any digit |
def reverse_7202(s):
return s[::-1] | Reverses the string s |
def add_7203(m, t):
return m + t | Returns the sum of m and t |
def reverse_7204(o):
return o[::-1] | Reverses the string o |
def add_7205(j, u):
return j + u | Returns the sum of j and u |
def add_7206(j, v):
return j + v | Returns the sum of j and v |
def reverse_7207(v):
return v[::-1] | Reverses the string v |
def contains_digit_7208(i):
for ch in i:
if ch.isdigit():
return True
return False | Checks if the string i contains any digit |
def add_7209(g, n):
return g + n | Returns the sum of g and n |
def contains_digit_7210(l):
for ch in l:
if ch.isdigit():
return True
return False | Checks if the string l contains any digit |
def reverse_7211(i):
return i[::-1] | Reverses the string i |
def add_7212(s, z):
return s + z | Returns the sum of s and z |
def contains_digit_7213(a):
for ch in a:
if ch.isdigit():
return True
return False | Checks if the string a contains any digit |
def sum_list_7214(a):
total = 0
for x in a:
total += x
return total | Returns the sum of elements in the list a |
def reverse_7215(e):
return e[::-1] | Reverses the string e |
def add_7216(q, x):
return q + x | Returns the sum of q and x |
def add_7217(w, u):
return w + u | Returns the sum of w and u |
def contains_digit_7218(v):
for ch in v:
if ch.isdigit():
return True
return False | Checks if the string v contains any digit |
def is_palindrome_7219(i):
t = i.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string i is a palindrome |
def reverse_7220(h):
return h[::-1] | Reverses the string h |
def contains_digit_7221(r):
for ch in r:
if ch.isdigit():
return True
return False | Checks if the string r contains any digit |
def sum_list_7222(v):
total = 0
for x in v:
total += x
return total | Returns the sum of elements in the list v |
def contains_digit_7223(s):
for ch in s:
if ch.isdigit():
return True
return False | Checks if the string s contains any digit |
def sum_list_7224(i):
total = 0
for x in i:
total += x
return total | Returns the sum of elements in the list i |
def is_palindrome_7225(q):
t = q.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string q is a palindrome |
def reverse_7226(q):
return q[::-1] | Reverses the string q |
def reverse_7227(n):
return n[::-1] | Reverses the string n |
def contains_digit_7228(o):
for ch in o:
if ch.isdigit():
return True
return False | Checks if the string o contains any digit |
def is_palindrome_7229(h):
t = h.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string h is a palindrome |
def is_palindrome_7230(s):
t = s.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string s is a palindrome |
def contains_digit_7231(e):
for ch in e:
if ch.isdigit():
return True
return False | Checks if the string e contains any digit |
def is_palindrome_7232(q):
t = q.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string q is a palindrome |
def is_palindrome_7233(z):
t = z.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string z is a palindrome |
def sum_list_7234(c):
total = 0
for x in c:
total += x
return total | Returns the sum of elements in the list c |
def add_7235(o, z):
return o + z | Returns the sum of o and z |
def sum_list_7236(e):
total = 0
for x in e:
total += x
return total | Returns the sum of elements in the list e |
def is_palindrome_7237(k):
t = k.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string k is a palindrome |
def sum_list_7238(l):
total = 0
for x in l:
total += x
return total | Returns the sum of elements in the list l |
def contains_digit_7239(f):
for ch in f:
if ch.isdigit():
return True
return False | Checks if the string f contains any digit |
def is_palindrome_7240(p):
t = p.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string p is a palindrome |
def is_palindrome_7241(g):
t = g.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string g is a palindrome |
def contains_digit_7242(y):
for ch in y:
if ch.isdigit():
return True
return False | Checks if the string y contains any digit |
def reverse_7243(i):
return i[::-1] | Reverses the string i |
def contains_digit_7244(g):
for ch in g:
if ch.isdigit():
return True
return False | Checks if the string g contains any digit |
def reverse_7245(m):
return m[::-1] | Reverses the string m |
def add_7246(s, v):
return s + v | Returns the sum of s and v |
def add_7247(k, k):
return k + k | Returns the sum of k and k |
def is_palindrome_7248(f):
t = f.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string f is a palindrome |
def reverse_7249(d):
return d[::-1] | Reverses the string d |
def add_7250(i, g):
return i + g | Returns the sum of i and g |
def sum_list_7251(x):
total = 0
for x in x:
total += x
return total | Returns the sum of elements in the list x |
def contains_digit_7252(b):
for ch in b:
if ch.isdigit():
return True
return False | Checks if the string b contains any digit |
def add_7253(p, r):
return p + r | Returns the sum of p and r |
def add_7254(t, d):
return t + d | Returns the sum of t and d |
def sum_list_7255(k):
total = 0
for x in k:
total += x
return total | Returns the sum of elements in the list k |
def is_palindrome_7256(n):
t = n.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string n is a palindrome |
def add_7257(q, v):
return q + v | Returns the sum of q and v |
def add_7258(w, q):
return w + q | Returns the sum of w and q |
def is_palindrome_7259(s):
t = s.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string s is a palindrome |
def add_7260(h, j):
return h + j | Returns the sum of h and j |
def sum_list_7261(g):
total = 0
for x in g:
total += x
return total | Returns the sum of elements in the list g |
def sum_list_7262(t):
total = 0
for x in t:
total += x
return total | Returns the sum of elements in the list t |
def reverse_7263(v):
return v[::-1] | Reverses the string v |
def sum_list_7264(o):
total = 0
for x in o:
total += x
return total | Returns the sum of elements in the list o |
def reverse_7265(g):
return g[::-1] | Reverses the string g |
def add_7266(j, y):
return j + y | Returns the sum of j and y |
def reverse_7267(t):
return t[::-1] | Reverses the string t |
def add_7268(s, i):
return s + i | Returns the sum of s and i |
def reverse_7269(r):
return r[::-1] | Reverses the string r |
def contains_digit_7270(d):
for ch in d:
if ch.isdigit():
return True
return False | Checks if the string d contains any digit |
def is_palindrome_7271(p):
t = p.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string p is a palindrome |
def is_palindrome_7272(e):
t = e.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string e is a palindrome |
def contains_digit_7273(v):
for ch in v:
if ch.isdigit():
return True
return False | Checks if the string v contains any digit |
def is_palindrome_7274(w):
t = w.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string w is a palindrome |
def is_palindrome_7275(r):
t = r.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string r is a palindrome |
def sum_list_7276(x):
total = 0
for x in x:
total += x
return total | Returns the sum of elements in the list x |
def reverse_7277(s):
return s[::-1] | Reverses the string s |
def contains_digit_7278(q):
for ch in q:
if ch.isdigit():
return True
return False | Checks if the string q contains any digit |
def contains_digit_7279(t):
for ch in t:
if ch.isdigit():
return True
return False | Checks if the string t contains any digit |
def is_palindrome_7280(t):
t = t.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string t is a palindrome |
def reverse_7281(a):
return a[::-1] | Reverses the string a |
def reverse_7282(h):
return h[::-1] | Reverses the string h |
def reverse_7283(w):
return w[::-1] | Reverses the string w |
def add_7284(j, x):
return j + x | Returns the sum of j and x |
def add_7285(j, g):
return j + g | Returns the sum of j and g |
def is_palindrome_7286(j):
t = j.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string j is a palindrome |
def sum_list_7287(n):
total = 0
for x in n:
total += x
return total | Returns the sum of elements in the list n |
def sum_list_7288(c):
total = 0
for x in c:
total += x
return total | Returns the sum of elements in the list c |
def add_7289(y, o):
return y + o | Returns the sum of y and o |
def reverse_7290(z):
return z[::-1] | Reverses the string z |
def contains_digit_7291(y):
for ch in y:
if ch.isdigit():
return True
return False | Checks if the string y contains any digit |
def is_palindrome_7292(k):
t = k.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string k is a palindrome |
def sum_list_7293(s):
total = 0
for x in s:
total += x
return total | Returns the sum of elements in the list s |
def is_palindrome_7294(w):
t = w.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string w is a palindrome |
def sum_list_7295(b):
total = 0
for x in b:
total += x
return total | Returns the sum of elements in the list b |
def sum_list_7296(w):
total = 0
for x in w:
total += x
return total | Returns the sum of elements in the list w |
def contains_digit_7297(n):
for ch in n:
if ch.isdigit():
return True
return False | Checks if the string n contains any digit |
def sum_list_7298(k):
total = 0
for x in k:
total += x
return total | Returns the sum of elements in the list k |
def add_7299(w, p):
return w + p | Returns the sum of w and p |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.