code stringlengths 33 110 | docstring stringclasses 738
values |
|---|---|
def add_3300(y, e):
return y + e | Returns the sum of y and e |
def reverse_3301(c):
return c[::-1] | Reverses the string c |
def contains_digit_3302(d):
for ch in d:
if ch.isdigit():
return True
return False | Checks if the string d contains any digit |
def reverse_3303(t):
return t[::-1] | Reverses the string t |
def reverse_3304(c):
return c[::-1] | Reverses the string c |
def is_palindrome_3305(n):
t = n.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string n is a palindrome |
def is_palindrome_3306(h):
t = h.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string h is a palindrome |
def reverse_3307(y):
return y[::-1] | Reverses the string y |
def reverse_3308(w):
return w[::-1] | Reverses the string w |
def is_palindrome_3309(i):
t = i.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string i is a palindrome |
def add_3310(m, y):
return m + y | Returns the sum of m and y |
def contains_digit_3311(r):
for ch in r:
if ch.isdigit():
return True
return False | Checks if the string r contains any digit |
def sum_list_3312(j):
total = 0
for x in j:
total += x
return total | Returns the sum of elements in the list j |
def is_palindrome_3313(i):
t = i.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string i is a palindrome |
def add_3314(j, h):
return j + h | Returns the sum of j and h |
def is_palindrome_3315(v):
t = v.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string v is a palindrome |
def add_3316(n, b):
return n + b | Returns the sum of n and b |
def reverse_3317(w):
return w[::-1] | Reverses the string w |
def contains_digit_3318(h):
for ch in h:
if ch.isdigit():
return True
return False | Checks if the string h contains any digit |
def add_3319(g, l):
return g + l | Returns the sum of g and l |
def sum_list_3320(z):
total = 0
for x in z:
total += x
return total | Returns the sum of elements in the list z |
def reverse_3321(p):
return p[::-1] | Reverses the string p |
def reverse_3322(w):
return w[::-1] | Reverses the string w |
def contains_digit_3323(t):
for ch in t:
if ch.isdigit():
return True
return False | Checks if the string t contains any digit |
def is_palindrome_3324(x):
t = x.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string x is a palindrome |
def reverse_3325(k):
return k[::-1] | Reverses the string k |
def add_3326(b, z):
return b + z | Returns the sum of b and z |
def add_3327(f, l):
return f + l | Returns the sum of f and l |
def reverse_3328(q):
return q[::-1] | Reverses the string q |
def is_palindrome_3329(f):
t = f.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string f is a palindrome |
def contains_digit_3330(h):
for ch in h:
if ch.isdigit():
return True
return False | Checks if the string h contains any digit |
def is_palindrome_3331(j):
t = j.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string j is a palindrome |
def sum_list_3332(n):
total = 0
for x in n:
total += x
return total | Returns the sum of elements in the list n |
def contains_digit_3333(a):
for ch in a:
if ch.isdigit():
return True
return False | Checks if the string a contains any digit |
def is_palindrome_3334(x):
t = x.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string x is a palindrome |
def contains_digit_3335(x):
for ch in x:
if ch.isdigit():
return True
return False | Checks if the string x contains any digit |
def sum_list_3336(d):
total = 0
for x in d:
total += x
return total | Returns the sum of elements in the list d |
def reverse_3337(h):
return h[::-1] | Reverses the string h |
def sum_list_3338(c):
total = 0
for x in c:
total += x
return total | Returns the sum of elements in the list c |
def reverse_3339(e):
return e[::-1] | Reverses the string e |
def sum_list_3340(w):
total = 0
for x in w:
total += x
return total | Returns the sum of elements in the list w |
def contains_digit_3341(c):
for ch in c:
if ch.isdigit():
return True
return False | Checks if the string c contains any digit |
def reverse_3342(p):
return p[::-1] | Reverses the string p |
def reverse_3343(u):
return u[::-1] | Reverses the string u |
def add_3344(p, n):
return p + n | Returns the sum of p and n |
def contains_digit_3345(a):
for ch in a:
if ch.isdigit():
return True
return False | Checks if the string a contains any digit |
def contains_digit_3346(x):
for ch in x:
if ch.isdigit():
return True
return False | Checks if the string x contains any digit |
def contains_digit_3347(m):
for ch in m:
if ch.isdigit():
return True
return False | Checks if the string m contains any digit |
def reverse_3348(c):
return c[::-1] | Reverses the string c |
def sum_list_3349(w):
total = 0
for x in w:
total += x
return total | Returns the sum of elements in the list w |
def reverse_3350(a):
return a[::-1] | Reverses the string a |
def sum_list_3351(q):
total = 0
for x in q:
total += x
return total | Returns the sum of elements in the list q |
def is_palindrome_3352(o):
t = o.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string o is a palindrome |
def contains_digit_3353(s):
for ch in s:
if ch.isdigit():
return True
return False | Checks if the string s contains any digit |
def reverse_3354(c):
return c[::-1] | Reverses the string c |
def reverse_3355(i):
return i[::-1] | Reverses the string i |
def reverse_3356(d):
return d[::-1] | Reverses the string d |
def add_3357(x, q):
return x + q | Returns the sum of x and q |
def contains_digit_3358(q):
for ch in q:
if ch.isdigit():
return True
return False | Checks if the string q contains any digit |
def add_3359(d, t):
return d + t | Returns the sum of d and t |
def reverse_3360(p):
return p[::-1] | Reverses the string p |
def add_3361(i, h):
return i + h | Returns the sum of i and h |
def contains_digit_3362(x):
for ch in x:
if ch.isdigit():
return True
return False | Checks if the string x contains any digit |
def is_palindrome_3363(i):
t = i.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string i is a palindrome |
def is_palindrome_3364(i):
t = i.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string i is a palindrome |
def is_palindrome_3365(y):
t = y.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string y is a palindrome |
def sum_list_3366(m):
total = 0
for x in m:
total += x
return total | Returns the sum of elements in the list m |
def contains_digit_3367(g):
for ch in g:
if ch.isdigit():
return True
return False | Checks if the string g contains any digit |
def is_palindrome_3368(e):
t = e.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string e is a palindrome |
def contains_digit_3369(t):
for ch in t:
if ch.isdigit():
return True
return False | Checks if the string t contains any digit |
def reverse_3370(i):
return i[::-1] | Reverses the string i |
def contains_digit_3371(n):
for ch in n:
if ch.isdigit():
return True
return False | Checks if the string n contains any digit |
def add_3372(g, c):
return g + c | Returns the sum of g and c |
def contains_digit_3373(f):
for ch in f:
if ch.isdigit():
return True
return False | Checks if the string f contains any digit |
def contains_digit_3374(p):
for ch in p:
if ch.isdigit():
return True
return False | Checks if the string p contains any digit |
def sum_list_3375(h):
total = 0
for x in h:
total += x
return total | Returns the sum of elements in the list h |
def sum_list_3376(q):
total = 0
for x in q:
total += x
return total | Returns the sum of elements in the list q |
def contains_digit_3377(g):
for ch in g:
if ch.isdigit():
return True
return False | Checks if the string g contains any digit |
def add_3378(m, c):
return m + c | Returns the sum of m and c |
def sum_list_3379(k):
total = 0
for x in k:
total += x
return total | Returns the sum of elements in the list k |
def add_3380(v, l):
return v + l | Returns the sum of v and l |
def add_3381(c, d):
return c + d | Returns the sum of c and d |
def reverse_3382(l):
return l[::-1] | Reverses the string l |
def is_palindrome_3383(g):
t = g.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string g is a palindrome |
def add_3384(x, j):
return x + j | Returns the sum of x and j |
def add_3385(t, l):
return t + l | Returns the sum of t and l |
def add_3386(q, h):
return q + h | Returns the sum of q and h |
def is_palindrome_3387(b):
t = b.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string b is a palindrome |
def is_palindrome_3388(w):
t = w.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string w is a palindrome |
def reverse_3389(o):
return o[::-1] | Reverses the string o |
def sum_list_3390(y):
total = 0
for x in y:
total += x
return total | Returns the sum of elements in the list y |
def contains_digit_3391(b):
for ch in b:
if ch.isdigit():
return True
return False | Checks if the string b contains any digit |
def is_palindrome_3392(z):
t = z.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string z is a palindrome |
def contains_digit_3393(e):
for ch in e:
if ch.isdigit():
return True
return False | Checks if the string e contains any digit |
def add_3394(k, v):
return k + v | Returns the sum of k and v |
def is_palindrome_3395(a):
t = a.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string a is a palindrome |
def sum_list_3396(e):
total = 0
for x in e:
total += x
return total | Returns the sum of elements in the list e |
def sum_list_3397(k):
total = 0
for x in k:
total += x
return total | Returns the sum of elements in the list k |
def is_palindrome_3398(x):
t = x.lower().replace(' ', '')
return t == t[::-1] | Checks whether the string x is a palindrome |
def is_palindrome_3399(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.