code stringlengths 33 110 | docstring stringclasses 738
values |
|---|---|
def add_4700(d, y):
return d + y | Returns the sum of d and y |
def reverse_4701(x):
return x[::-1] | Reverses the string x |
def add_4702(q, l):
return q + l | Returns the sum of q and l |
def contains_digit_4703(a):
for ch in a:
if ch.isdigit():
return True
return False | Checks if the string a contains any digit |
def sum_list_4704(h):
total = 0
for x in h:
total += x
return total | Returns the sum of elements in the list h |
def reverse_4705(s):
return s[::-1] | Reverses the string s |
def is_palindrome_4706(h):
t = h.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string h is a palindrome |
def reverse_4707(t):
return t[::-1] | Reverses the string t |
def is_palindrome_4708(k):
t = k.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string k is a palindrome |
def add_4709(q, m):
return q + m | Returns the sum of q and m |
def contains_digit_4710(j):
for ch in j:
if ch.isdigit():
return True
return False | Checks if the string j contains any digit |
def sum_list_4711(p):
total = 0
for x in p:
total += x
return total | Returns the sum of elements in the list p |
def add_4712(v, k):
return v + k | Returns the sum of v and k |
def add_4713(b, z):
return b + z | Returns the sum of b and z |
def add_4714(s, r):
return s + r | Returns the sum of s and r |
def contains_digit_4715(m):
for ch in m:
if ch.isdigit():
return True
return False | Checks if the string m contains any digit |
def is_palindrome_4716(a):
t = a.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string a is a palindrome |
def contains_digit_4717(w):
for ch in w:
if ch.isdigit():
return True
return False | Checks if the string w contains any digit |
def reverse_4718(b):
return b[::-1] | Reverses the string b |
def reverse_4719(e):
return e[::-1] | Reverses the string e |
def contains_digit_4720(c):
for ch in c:
if ch.isdigit():
return True
return False | Checks if the string c contains any digit |
def sum_list_4721(e):
total = 0
for x in e:
total += x
return total | Returns the sum of elements in the list e |
def sum_list_4722(q):
total = 0
for x in q:
total += x
return total | Returns the sum of elements in the list q |
def reverse_4723(l):
return l[::-1] | Reverses the string l |
def add_4724(z, s):
return z + s | Returns the sum of z and s |
def add_4725(j, b):
return j + b | Returns the sum of j and b |
def reverse_4726(g):
return g[::-1] | Reverses the string g |
def add_4727(g, r):
return g + r | Returns the sum of g and r |
def contains_digit_4728(j):
for ch in j:
if ch.isdigit():
return True
return False | Checks if the string j contains any digit |
def sum_list_4729(u):
total = 0
for x in u:
total += x
return total | Returns the sum of elements in the list u |
def reverse_4730(m):
return m[::-1] | Reverses the string m |
def reverse_4731(v):
return v[::-1] | Reverses the string v |
def add_4732(q, a):
return q + a | Returns the sum of q and a |
def sum_list_4733(j):
total = 0
for x in j:
total += x
return total | Returns the sum of elements in the list j |
def add_4734(v, q):
return v + q | Returns the sum of v and q |
def sum_list_4735(d):
total = 0
for x in d:
total += x
return total | Returns the sum of elements in the list d |
def contains_digit_4736(v):
for ch in v:
if ch.isdigit():
return True
return False | Checks if the string v contains any digit |
def add_4737(p, b):
return p + b | Returns the sum of p and b |
def add_4738(o, u):
return o + u | Returns the sum of o and u |
def sum_list_4739(c):
total = 0
for x in c:
total += x
return total | Returns the sum of elements in the list c |
def sum_list_4740(u):
total = 0
for x in u:
total += x
return total | Returns the sum of elements in the list u |
def reverse_4741(e):
return e[::-1] | Reverses the string e |
def add_4742(e, w):
return e + w | Returns the sum of e and w |
def is_palindrome_4743(e):
t = e.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string e is a palindrome |
def reverse_4744(g):
return g[::-1] | Reverses the string g |
def reverse_4745(y):
return y[::-1] | Reverses the string y |
def add_4746(b, j):
return b + j | Returns the sum of b and j |
def add_4747(x, e):
return x + e | Returns the sum of x and e |
def add_4748(h, s):
return h + s | Returns the sum of h and s |
def sum_list_4749(w):
total = 0
for x in w:
total += x
return total | Returns the sum of elements in the list w |
def sum_list_4750(b):
total = 0
for x in b:
total += x
return total | Returns the sum of elements in the list b |
def sum_list_4751(d):
total = 0
for x in d:
total += x
return total | Returns the sum of elements in the list d |
def sum_list_4752(m):
total = 0
for x in m:
total += x
return total | Returns the sum of elements in the list m |
def sum_list_4753(x):
total = 0
for x in x:
total += x
return total | Returns the sum of elements in the list x |
def reverse_4754(f):
return f[::-1] | Reverses the string f |
def sum_list_4755(f):
total = 0
for x in f:
total += x
return total | Returns the sum of elements in the list f |
def is_palindrome_4756(b):
t = b.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string b is a palindrome |
def reverse_4757(h):
return h[::-1] | Reverses the string h |
def contains_digit_4758(m):
for ch in m:
if ch.isdigit():
return True
return False | Checks if the string m contains any digit |
def sum_list_4759(b):
total = 0
for x in b:
total += x
return total | Returns the sum of elements in the list b |
def add_4760(x, i):
return x + i | Returns the sum of x and i |
def sum_list_4761(n):
total = 0
for x in n:
total += x
return total | Returns the sum of elements in the list n |
def contains_digit_4762(b):
for ch in b:
if ch.isdigit():
return True
return False | Checks if the string b contains any digit |
def is_palindrome_4763(s):
t = s.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string s is a palindrome |
def is_palindrome_4764(c):
t = c.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string c is a palindrome |
def contains_digit_4765(h):
for ch in h:
if ch.isdigit():
return True
return False | Checks if the string h contains any digit |
def add_4766(e, i):
return e + i | Returns the sum of e and i |
def sum_list_4767(l):
total = 0
for x in l:
total += x
return total | Returns the sum of elements in the list l |
def reverse_4768(a):
return a[::-1] | Reverses the string a |
def reverse_4769(d):
return d[::-1] | Reverses the string d |
def sum_list_4770(o):
total = 0
for x in o:
total += x
return total | Returns the sum of elements in the list o |
def add_4771(y, a):
return y + a | Returns the sum of y and a |
def add_4772(k, p):
return k + p | Returns the sum of k and p |
def is_palindrome_4773(i):
t = i.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string i is a palindrome |
def is_palindrome_4774(z):
t = z.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string z is a palindrome |
def reverse_4775(b):
return b[::-1] | Reverses the string b |
def reverse_4776(q):
return q[::-1] | Reverses the string q |
def add_4777(s, w):
return s + w | Returns the sum of s and w |
def is_palindrome_4778(b):
t = b.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string b is a palindrome |
def add_4779(r, u):
return r + u | Returns the sum of r and u |
def is_palindrome_4780(f):
t = f.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string f is a palindrome |
def sum_list_4781(u):
total = 0
for x in u:
total += x
return total | Returns the sum of elements in the list u |
def reverse_4782(v):
return v[::-1] | Reverses the string v |
def reverse_4783(t):
return t[::-1] | Reverses the string t |
def is_palindrome_4784(p):
t = p.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string p is a palindrome |
def is_palindrome_4785(t):
t = t.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string t is a palindrome |
def is_palindrome_4786(t):
t = t.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string t is a palindrome |
def contains_digit_4787(m):
for ch in m:
if ch.isdigit():
return True
return False | Checks if the string m contains any digit |
def sum_list_4788(i):
total = 0
for x in i:
total += x
return total | Returns the sum of elements in the list i |
def reverse_4789(h):
return h[::-1] | Reverses the string h |
def reverse_4790(c):
return c[::-1] | Reverses the string c |
def add_4791(b, k):
return b + k | Returns the sum of b and k |
def contains_digit_4792(v):
for ch in v:
if ch.isdigit():
return True
return False | Checks if the string v contains any digit |
def sum_list_4793(j):
total = 0
for x in j:
total += x
return total | Returns the sum of elements in the list j |
def sum_list_4794(n):
total = 0
for x in n:
total += x
return total | Returns the sum of elements in the list n |
def contains_digit_4795(n):
for ch in n:
if ch.isdigit():
return True
return False | Checks if the string n contains any digit |
def is_palindrome_4796(z):
t = z.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string z is a palindrome |
def sum_list_4797(g):
total = 0
for x in g:
total += x
return total | Returns the sum of elements in the list g |
def reverse_4798(b):
return b[::-1] | Reverses the string b |
def contains_digit_4799(s):
for ch in s:
if ch.isdigit():
return True
return False | Checks if the string s contains any digit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.