CoolFace
Datasetpublic

ArundathiB/code-docstring-dataset

sourceHugging Faceupdated 9mo agoView on Hugging Face
0likes14downloads
code docstring dataset.csv33857 linesDownload Raw Back to root
1code,docstring2"def reverse_0(j):3    return j[::-1]",Reverses the string j4"def sum_list_1(l):5    total = 06    for x in l:7        total += x8    return total",Returns the sum of elements in the list l9"def sum_list_2(x):10    total = 011    for x in x:12        total += x13    return total",Returns the sum of elements in the list x14"def reverse_3(f):15    return f[::-1]",Reverses the string f16"def is_palindrome_4(n):17    t = n.lower().replace(' ', '')18    return t == t[::-1]",Checks whether the string n is a palindrome19"def reverse_5(m):20    return m[::-1]",Reverses the string m21"def contains_digit_6(s):22    for ch in s:23        if ch.isdigit():24            return True25    return False",Checks if the string s contains any digit26"def add_7(c, w):27    return c + w",Returns the sum of c and w28"def add_8(z, o):29    return z + o",Returns the sum of z and o30"def sum_list_9(b):31    total = 032    for x in b:33        total += x34    return total",Returns the sum of elements in the list b35"def reverse_10(a):36    return a[::-1]",Reverses the string a37"def reverse_11(v):38    return v[::-1]",Reverses the string v39"def add_12(r, h):40    return r + h",Returns the sum of r and h41"def sum_list_13(w):42    total = 043    for x in w:44        total += x45    return total",Returns the sum of elements in the list w46"def contains_digit_14(v):47    for ch in v:48        if ch.isdigit():49            return True50    return False",Checks if the string v contains any digit51"def is_palindrome_15(h):52    t = h.lower().replace(' ', '')53    return t == t[::-1]",Checks whether the string h is a palindrome54"def is_palindrome_16(c):55    t = c.lower().replace(' ', '')56    return t == t[::-1]",Checks whether the string c is a palindrome57"def reverse_17(f):58    return f[::-1]",Reverses the string f59"def add_18(o, l):60    return o + l",Returns the sum of o and l61"def is_palindrome_19(j):62    t = j.lower().replace(' ', '')63    return t == t[::-1]",Checks whether the string j is a palindrome64"def add_20(i, h):65    return i + h",Returns the sum of i and h66"def sum_list_21(g):67    total = 068    for x in g:69        total += x70    return total",Returns the sum of elements in the list g71"def is_palindrome_22(w):72    t = w.lower().replace(' ', '')73    return t == t[::-1]",Checks whether the string w is a palindrome74"def reverse_23(j):75    return j[::-1]",Reverses the string j76"def contains_digit_24(t):77    for ch in t:78        if ch.isdigit():79            return True80    return False",Checks if the string t contains any digit81"def contains_digit_25(v):82    for ch in v:83        if ch.isdigit():84            return True85    return False",Checks if the string v contains any digit86"def is_palindrome_26(p):87    t = p.lower().replace(' ', '')88    return t == t[::-1]",Checks whether the string p is a palindrome89"def sum_list_27(k):90    total = 091    for x in k:92        total += x93    return total",Returns the sum of elements in the list k94"def add_28(a, j):95    return a + j",Returns the sum of a and j96"def reverse_29(x):97    return x[::-1]",Reverses the string x98"def sum_list_30(p):99    total = 0100    for x in p:101        total += x102    return total",Returns the sum of elements in the list p103"def sum_list_31(u):104    total = 0105    for x in u:106        total += x107    return total",Returns the sum of elements in the list u108"def add_32(b, x):109    return b + x",Returns the sum of b and x110"def reverse_33(l):111    return l[::-1]",Reverses the string l112"def sum_list_34(c):113    total = 0114    for x in c:115        total += x116    return total",Returns the sum of elements in the list c117"def add_35(v, o):118    return v + o",Returns the sum of v and o119"def add_36(u, k):120    return u + k",Returns the sum of u and k121"def is_palindrome_37(z):122    t = z.lower().replace(' ', '')123    return t == t[::-1]",Checks whether the string z is a palindrome124"def reverse_38(u):125    return u[::-1]",Reverses the string u126"def contains_digit_39(c):127    for ch in c:128        if ch.isdigit():129            return True130    return False",Checks if the string c contains any digit131"def sum_list_40(g):132    total = 0133    for x in g:134        total += x135    return total",Returns the sum of elements in the list g136"def sum_list_41(r):137    total = 0138    for x in r:139        total += x140    return total",Returns the sum of elements in the list r141"def is_palindrome_42(o):142    t = o.lower().replace(' ', '')143    return t == t[::-1]",Checks whether the string o is a palindrome144"def contains_digit_43(i):145    for ch in i:146        if ch.isdigit():147            return True148    return False",Checks if the string i contains any digit149"def is_palindrome_44(u):150    t = u.lower().replace(' ', '')151    return t == t[::-1]",Checks whether the string u is a palindrome152"def contains_digit_45(t):153    for ch in t:154        if ch.isdigit():155            return True156    return False",Checks if the string t contains any digit157"def sum_list_46(e):158    total = 0159    for x in e:160        total += x161    return total",Returns the sum of elements in the list e162"def is_palindrome_47(j):163    t = j.lower().replace(' ', '')164    return t == t[::-1]",Checks whether the string j is a palindrome165"def add_48(u, s):166    return u + s",Returns the sum of u and s167"def add_49(y, e):168    return y + e",Returns the sum of y and e169"def add_50(e, s):170    return e + s",Returns the sum of e and s171"def contains_digit_51(h):172    for ch in h:173        if ch.isdigit():174            return True175    return False",Checks if the string h contains any digit176"def sum_list_52(z):177    total = 0178    for x in z:179        total += x180    return total",Returns the sum of elements in the list z181"def reverse_53(h):182    return h[::-1]",Reverses the string h183"def contains_digit_54(o):184    for ch in o:185        if ch.isdigit():186            return True187    return False",Checks if the string o contains any digit188"def sum_list_55(l):189    total = 0190    for x in l:191        total += x192    return total",Returns the sum of elements in the list l193"def reverse_56(c):194    return c[::-1]",Reverses the string c195"def reverse_57(q):196    return q[::-1]",Reverses the string q197"def is_palindrome_58(c):198    t = c.lower().replace(' ', '')199    return t == t[::-1]",Checks whether the string c is a palindrome200"def add_59(t, x):201    return t + x",Returns the sum of t and x202"def reverse_60(r):203    return r[::-1]",Reverses the string r204"def is_palindrome_61(y):205    t = y.lower().replace(' ', '')206    return t == t[::-1]",Checks whether the string y is a palindrome207"def contains_digit_62(h):208    for ch in h:209        if ch.isdigit():210            return True211    return False",Checks if the string h contains any digit212"def is_palindrome_63(y):213    t = y.lower().replace(' ', '')214    return t == t[::-1]",Checks whether the string y is a palindrome215"def add_64(w, g):216    return w + g",Returns the sum of w and g217"def sum_list_65(e):218    total = 0219    for x in e:220        total += x221    return total",Returns the sum of elements in the list e222"def sum_list_66(a):223    total = 0224    for x in a:225        total += x226    return total",Returns the sum of elements in the list a227"def add_67(z, v):228    return z + v",Returns the sum of z and v229"def add_68(e, c):230    return e + c",Returns the sum of e and c231"def sum_list_69(d):232    total = 0233    for x in d:234        total += x235    return total",Returns the sum of elements in the list d236"def is_palindrome_70(j):237    t = j.lower().replace(' ', '')238    return t == t[::-1]",Checks whether the string j is a palindrome239"def sum_list_71(u):240    total = 0241    for x in u:242        total += x243    return total",Returns the sum of elements in the list u244"def is_palindrome_72(f):245    t = f.lower().replace(' ', '')246    return t == t[::-1]",Checks whether the string f is a palindrome247"def add_73(d, o):248    return d + o",Returns the sum of d and o249"def add_74(t, o):250    return t + o",Returns the sum of t and o251"def is_palindrome_75(p):252    t = p.lower().replace(' ', '')253    return t == t[::-1]",Checks whether the string p is a palindrome254"def reverse_76(b):255    return b[::-1]",Reverses the string b256"def contains_digit_77(w):257    for ch in w:258        if ch.isdigit():259            return True260    return False",Checks if the string w contains any digit261"def sum_list_78(e):262    total = 0263    for x in e:264        total += x265    return total",Returns the sum of elements in the list e266"def reverse_79(c):267    return c[::-1]",Reverses the string c268"def is_palindrome_80(p):269    t = p.lower().replace(' ', '')270    return t == t[::-1]",Checks whether the string p is a palindrome271"def contains_digit_81(h):272    for ch in h:273        if ch.isdigit():274            return True275    return False",Checks if the string h contains any digit276"def contains_digit_82(i):277    for ch in i:278        if ch.isdigit():279            return True280    return False",Checks if the string i contains any digit281"def sum_list_83(s):282    total = 0283    for x in s:284        total += x285    return total",Returns the sum of elements in the list s286"def is_palindrome_84(f):287    t = f.lower().replace(' ', '')288    return t == t[::-1]",Checks whether the string f is a palindrome289"def contains_digit_85(v):290    for ch in v:291        if ch.isdigit():292            return True293    return False",Checks if the string v contains any digit294"def is_palindrome_86(b):295    t = b.lower().replace(' ', '')296    return t == t[::-1]",Checks whether the string b is a palindrome297"def contains_digit_87(n):298    for ch in n:299        if ch.isdigit():300            return True301    return False",Checks if the string n contains any digit302"def sum_list_88(h):303    total = 0304    for x in h:305        total += x306    return total",Returns the sum of elements in the list h307"def add_89(v, k):308    return v + k",Returns the sum of v and k309"def sum_list_90(e):310    total = 0311    for x in e:312        total += x313    return total",Returns the sum of elements in the list e314"def is_palindrome_91(o):315    t = o.lower().replace(' ', '')316    return t == t[::-1]",Checks whether the string o is a palindrome317"def add_92(v, v):318    return v + v",Returns the sum of v and v319"def is_palindrome_93(m):320    t = m.lower().replace(' ', '')321    return t == t[::-1]",Checks whether the string m is a palindrome322"def reverse_94(r):323    return r[::-1]",Reverses the string r324"def sum_list_95(r):325    total = 0326    for x in r:327        total += x328    return total",Returns the sum of elements in the list r329"def add_96(v, w):330    return v + w",Returns the sum of v and w331"def is_palindrome_97(z):332    t = z.lower().replace(' ', '')333    return t == t[::-1]",Checks whether the string z is a palindrome334"def add_98(x, f):335    return x + f",Returns the sum of x and f336"def reverse_99(y):337    return y[::-1]",Reverses the string y338"def reverse_100(q):339    return q[::-1]",Reverses the string q340"def reverse_101(g):341    return g[::-1]",Reverses the string g342"def sum_list_102(n):343    total = 0344    for x in n:345        total += x346    return total",Returns the sum of elements in the list n347"def add_103(s, p):348    return s + p",Returns the sum of s and p349"def is_palindrome_104(q):350    t = q.lower().replace(' ', '')351    return t == t[::-1]",Checks whether the string q is a palindrome352"def sum_list_105(s):353    total = 0354    for x in s:355        total += x356    return total",Returns the sum of elements in the list s357"def contains_digit_106(t):358    for ch in t:359        if ch.isdigit():360            return True361    return False",Checks if the string t contains any digit362"def add_107(o, n):363    return o + n",Returns the sum of o and n364"def add_108(u, g):365    return u + g",Returns the sum of u and g366"def is_palindrome_109(m):367    t = m.lower().replace(' ', '')368    return t == t[::-1]",Checks whether the string m is a palindrome369"def sum_list_110(p):370    total = 0371    for x in p:372        total += x373    return total",Returns the sum of elements in the list p374"def is_palindrome_111(j):375    t = j.lower().replace(' ', '')376    return t == t[::-1]",Checks whether the string j is a palindrome377"def contains_digit_112(j):378    for ch in j:379        if ch.isdigit():380            return True381    return False",Checks if the string j contains any digit382"def contains_digit_113(t):383    for ch in t:384        if ch.isdigit():385            return True386    return False",Checks if the string t contains any digit387"def is_palindrome_114(i):388    t = i.lower().replace(' ', '')389    return t == t[::-1]",Checks whether the string i is a palindrome390"def add_115(k, i):391    return k + i",Returns the sum of k and i392"def is_palindrome_116(x):393    t = x.lower().replace(' ', '')394    return t == t[::-1]",Checks whether the string x is a palindrome395"def is_palindrome_117(l):396    t = l.lower().replace(' ', '')397    return t == t[::-1]",Checks whether the string l is a palindrome398"def contains_digit_118(r):399    for ch in r:400        if ch.isdigit():401            return True402    return False",Checks if the string r contains any digit403"def sum_list_119(c):404    total = 0405    for x in c:406        total += x407    return total",Returns the sum of elements in the list c408"def sum_list_120(x):409    total = 0410    for x in x:411        total += x412    return total",Returns the sum of elements in the list x413"def sum_list_121(r):414    total = 0415    for x in r:416        total += x417    return total",Returns the sum of elements in the list r418"def sum_list_122(j):419    total = 0420    for x in j:421        total += x422    return total",Returns the sum of elements in the list j423"def reverse_123(k):424    return k[::-1]",Reverses the string k425"def contains_digit_124(q):426    for ch in q:427        if ch.isdigit():428            return True429    return False",Checks if the string q contains any digit430"def add_125(e, m):431    return e + m",Returns the sum of e and m432"def is_palindrome_126(m):433    t = m.lower().replace(' ', '')434    return t == t[::-1]",Checks whether the string m is a palindrome435"def contains_digit_127(b):436    for ch in b:437        if ch.isdigit():438            return True439    return False",Checks if the string b contains any digit440"def is_palindrome_128(o):441    t = o.lower().replace(' ', '')442    return t == t[::-1]",Checks whether the string o is a palindrome443"def sum_list_129(v):444    total = 0445    for x in v:446        total += x447    return total",Returns the sum of elements in the list v448"def sum_list_130(s):449    total = 0450    for x in s:451        total += x452    return total",Returns the sum of elements in the list s453"def sum_list_131(q):454    total = 0455    for x in q:456        total += x457    return total",Returns the sum of elements in the list q458"def is_palindrome_132(m):459    t = m.lower().replace(' ', '')460    return t == t[::-1]",Checks whether the string m is a palindrome461"def contains_digit_133(d):462    for ch in d:463        if ch.isdigit():464            return True465    return False",Checks if the string d contains any digit466"def add_134(t, m):467    return t + m",Returns the sum of t and m468"def is_palindrome_135(j):469    t = j.lower().replace(' ', '')470    return t == t[::-1]",Checks whether the string j is a palindrome471"def is_palindrome_136(n):472    t = n.lower().replace(' ', '')473    return t == t[::-1]",Checks whether the string n is a palindrome474"def is_palindrome_137(b):475    t = b.lower().replace(' ', '')476    return t == t[::-1]",Checks whether the string b is a palindrome477"def contains_digit_138(f):478    for ch in f:479        if ch.isdigit():480            return True481    return False",Checks if the string f contains any digit482"def reverse_139(n):483    return n[::-1]",Reverses the string n484"def contains_digit_140(w):485    for ch in w:486        if ch.isdigit():487            return True488    return False",Checks if the string w contains any digit489"def is_palindrome_141(c):490    t = c.lower().replace(' ', '')491    return t == t[::-1]",Checks whether the string c is a palindrome492"def is_palindrome_142(u):493    t = u.lower().replace(' ', '')494    return t == t[::-1]",Checks whether the string u is a palindrome495"def is_palindrome_143(v):496    t = v.lower().replace(' ', '')497    return t == t[::-1]",Checks whether the string v is a palindrome498"def add_144(b, a):499    return b + a",Returns the sum of b and a500"def contains_digit_145(u):501    for ch in u:502        if ch.isdigit():503            return True504    return False",Checks if the string u contains any digit505"def reverse_146(l):506    return l[::-1]",Reverses the string l507"def contains_digit_147(b):508    for ch in b:509        if ch.isdigit():510            return True511    return False",Checks if the string b contains any digit512"def contains_digit_148(r):513    for ch in r:514        if ch.isdigit():515            return True516    return False",Checks if the string r contains any digit517"def add_149(v, m):518    return v + m",Returns the sum of v and m519"def reverse_150(t):520    return t[::-1]",Reverses the string t521"def reverse_151(n):522    return n[::-1]",Reverses the string n523"def add_152(j, n):524    return j + n",Returns the sum of j and n525"def sum_list_153(i):526    total = 0527    for x in i:528        total += x529    return total",Returns the sum of elements in the list i530"def add_154(y, c):531    return y + c",Returns the sum of y and c532"def contains_digit_155(k):533    for ch in k:534        if ch.isdigit():535            return True536    return False",Checks if the string k contains any digit537"def add_156(x, g):538    return x + g",Returns the sum of x and g539"def add_157(n, e):540    return n + e",Returns the sum of n and e541"def sum_list_158(t):542    total = 0543    for x in t:544        total += x545    return total",Returns the sum of elements in the list t546"def sum_list_159(b):547    total = 0548    for x in b:549        total += x550    return total",Returns the sum of elements in the list b551"def is_palindrome_160(p):552    t = p.lower().replace(' ', '')553    return t == t[::-1]",Checks whether the string p is a palindrome554"def sum_list_161(x):555    total = 0556    for x in x:557        total += x558    return total",Returns the sum of elements in the list x559"def is_palindrome_162(c):560    t = c.lower().replace(' ', '')561    return t == t[::-1]",Checks whether the string c is a palindrome562"def sum_list_163(u):563    total = 0564    for x in u:565        total += x566    return total",Returns the sum of elements in the list u567"def sum_list_164(y):568    total = 0569    for x in y:570        total += x571    return total",Returns the sum of elements in the list y572"def contains_digit_165(g):573    for ch in g:574        if ch.isdigit():575            return True576    return False",Checks if the string g contains any digit577"def add_166(g, b):578    return g + b",Returns the sum of g and b579"def contains_digit_167(g):580    for ch in g:581        if ch.isdigit():582            return True583    return False",Checks if the string g contains any digit584"def reverse_168(y):585    return y[::-1]",Reverses the string y586"def reverse_169(a):587    return a[::-1]",Reverses the string a588"def reverse_170(x):589    return x[::-1]",Reverses the string x590"def contains_digit_171(g):591    for ch in g:592        if ch.isdigit():593            return True594    return False",Checks if the string g contains any digit595"def is_palindrome_172(x):596    t = x.lower().replace(' ', '')597    return t == t[::-1]",Checks whether the string x is a palindrome598"def contains_digit_173(d):599    for ch in d:600        if ch.isdigit():601            return True602    return False",Checks if the string d contains any digit603"def contains_digit_174(t):604    for ch in t:605        if ch.isdigit():606            return True607    return False",Checks if the string t contains any digit608"def sum_list_175(m):609    total = 0610    for x in m:611        total += x612    return total",Returns the sum of elements in the list m613"def contains_digit_176(j):614    for ch in j:615        if ch.isdigit():616            return True617    return False",Checks if the string j contains any digit618"def sum_list_177(i):619    total = 0620    for x in i:621        total += x622    return total",Returns the sum of elements in the list i623"def contains_digit_178(z):624    for ch in z:625        if ch.isdigit():626            return True627    return False",Checks if the string z contains any digit628"def is_palindrome_179(o):629    t = o.lower().replace(' ', '')630    return t == t[::-1]",Checks whether the string o is a palindrome631"def reverse_180(k):632    return k[::-1]",Reverses the string k633"def sum_list_181(f):634    total = 0635    for x in f:636        total += x637    return total",Returns the sum of elements in the list f638"def sum_list_182(b):639    total = 0640    for x in b:641        total += x642    return total",Returns the sum of elements in the list b643"def reverse_183(k):644    return k[::-1]",Reverses the string k645"def is_palindrome_184(g):646    t = g.lower().replace(' ', '')647    return t == t[::-1]",Checks whether the string g is a palindrome648"def is_palindrome_185(y):649    t = y.lower().replace(' ', '')650    return t == t[::-1]",Checks whether the string y is a palindrome651"def reverse_186(b):652    return b[::-1]",Reverses the string b653"def is_palindrome_187(g):654    t = g.lower().replace(' ', '')655    return t == t[::-1]",Checks whether the string g is a palindrome656"def add_188(m, x):657    return m + x",Returns the sum of m and x658"def is_palindrome_189(o):659    t = o.lower().replace(' ', '')660    return t == t[::-1]",Checks whether the string o is a palindrome661"def add_190(s, p):662    return s + p",Returns the sum of s and p663"def contains_digit_191(m):664    for ch in m:665        if ch.isdigit():666            return True667    return False",Checks if the string m contains any digit668"def add_192(z, z):669    return z + z",Returns the sum of z and z670"def contains_digit_193(y):671    for ch in y:672        if ch.isdigit():673            return True674    return False",Checks if the string y contains any digit675"def add_194(p, w):676    return p + w",Returns the sum of p and w677"def is_palindrome_195(z):678    t = z.lower().replace(' ', '')679    return t == t[::-1]",Checks whether the string z is a palindrome680"def sum_list_196(o):681    total = 0682    for x in o:683        total += x684    return total",Returns the sum of elements in the list o685"def is_palindrome_197(k):686    t = k.lower().replace(' ', '')687    return t == t[::-1]",Checks whether the string k is a palindrome688"def sum_list_198(w):689    total = 0690    for x in w:691        total += x692    return total",Returns the sum of elements in the list w693"def contains_digit_199(k):694    for ch in k:695        if ch.isdigit():696            return True697    return False",Checks if the string k contains any digit698"def add_200(i, v):699    return i + v",Returns the sum of i and v700"def sum_list_201(t):701    total = 0702    for x in t:703        total += x704    return total",Returns the sum of elements in the list t705"def reverse_202(r):706    return r[::-1]",Reverses the string r707"def add_203(j, c):708    return j + c",Returns the sum of j and c709"def contains_digit_204(e):710    for ch in e:711        if ch.isdigit():712            return True713    return False",Checks if the string e contains any digit714"def reverse_205(w):715    return w[::-1]",Reverses the string w716"def contains_digit_206(e):717    for ch in e:718        if ch.isdigit():719            return True720    return False",Checks if the string e contains any digit721"def reverse_207(o):722    return o[::-1]",Reverses the string o723"def reverse_208(b):724    return b[::-1]",Reverses the string b725"def add_209(v, g):726    return v + g",Returns the sum of v and g727"def sum_list_210(q):728    total = 0729    for x in q:730        total += x731    return total",Returns the sum of elements in the list q732"def reverse_211(f):733    return f[::-1]",Reverses the string f734"def reverse_212(p):735    return p[::-1]",Reverses the string p736"def contains_digit_213(v):737    for ch in v:738        if ch.isdigit():739            return True740    return False",Checks if the string v contains any digit741"def add_214(w, q):742    return w + q",Returns the sum of w and q743"def reverse_215(j):744    return j[::-1]",Reverses the string j745"def reverse_216(w):746    return w[::-1]",Reverses the string w747"def add_217(b, v):748    return b + v",Returns the sum of b and v749"def sum_list_218(e):750    total = 0751    for x in e:752        total += x753    return total",Returns the sum of elements in the list e754"def contains_digit_219(h):755    for ch in h:756        if ch.isdigit():757            return True758    return False",Checks if the string h contains any digit759"def reverse_220(i):760    return i[::-1]",Reverses the string i761"def add_221(w, y):762    return w + y",Returns the sum of w and y763"def sum_list_222(m):764    total = 0765    for x in m:766        total += x767    return total",Returns the sum of elements in the list m768"def reverse_223(q):769    return q[::-1]",Reverses the string q770"def reverse_224(g):771    return g[::-1]",Reverses the string g772"def reverse_225(p):773    return p[::-1]",Reverses the string p774"def is_palindrome_226(j):775    t = j.lower().replace(' ', '')776    return t == t[::-1]",Checks whether the string j is a palindrome777"def is_palindrome_227(t):778    t = t.lower().replace(' ', '')779    return t == t[::-1]",Checks whether the string t is a palindrome780"def contains_digit_228(d):781    for ch in d:782        if ch.isdigit():783            return True784    return False",Checks if the string d contains any digit785"def add_229(i, g):786    return i + g",Returns the sum of i and g787"def sum_list_230(q):788    total = 0789    for x in q:790        total += x791    return total",Returns the sum of elements in the list q792"def reverse_231(x):793    return x[::-1]",Reverses the string x794"def contains_digit_232(e):795    for ch in e:796        if ch.isdigit():797            return True798    return False",Checks if the string e contains any digit799"def contains_digit_233(l):800    for ch in l:801        if ch.isdigit():802            return True803    return False",Checks if the string l contains any digit804"def sum_list_234(m):805    total = 0806    for x in m:807        total += x808    return total",Returns the sum of elements in the list m809"def contains_digit_235(m):810    for ch in m:811        if ch.isdigit():812            return True813    return False",Checks if the string m contains any digit814"def is_palindrome_236(j):815    t = j.lower().replace(' ', '')816    return t == t[::-1]",Checks whether the string j is a palindrome817"def is_palindrome_237(w):818    t = w.lower().replace(' ', '')819    return t == t[::-1]",Checks whether the string w is a palindrome820"def reverse_238(i):821    return i[::-1]",Reverses the string i822"def reverse_239(x):823    return x[::-1]",Reverses the string x824"def sum_list_240(o):825    total = 0826    for x in o:827        total += x828    return total",Returns the sum of elements in the list o829"def add_241(k, d):830    return k + d",Returns the sum of k and d831"def reverse_242(a):832    return a[::-1]",Reverses the string a833"def add_243(m, j):834    return m + j",Returns the sum of m and j835"def sum_list_244(t):836    total = 0837    for x in t:838        total += x839    return total",Returns the sum of elements in the list t840"def add_245(n, s):841    return n + s",Returns the sum of n and s842"def sum_list_246(f):843    total = 0844    for x in f:845        total += x846    return total",Returns the sum of elements in the list f847"def reverse_247(u):848    return u[::-1]",Reverses the string u849"def reverse_248(r):850    return r[::-1]",Reverses the string r851"def sum_list_249(s):852    total = 0853    for x in s:854        total += x855    return total",Returns the sum of elements in the list s856"def contains_digit_250(h):857    for ch in h:858        if ch.isdigit():859            return True860    return False",Checks if the string h contains any digit861"def sum_list_251(s):862    total = 0863    for x in s:864        total += x865    return total",Returns the sum of elements in the list s866"def sum_list_252(m):867    total = 0868    for x in m:869        total += x870    return total",Returns the sum of elements in the list m871"def is_palindrome_253(k):872    t = k.lower().replace(' ', '')873    return t == t[::-1]",Checks whether the string k is a palindrome874"def reverse_254(q):875    return q[::-1]",Reverses the string q876"def reverse_255(s):877    return s[::-1]",Reverses the string s878"def sum_list_256(l):879    total = 0880    for x in l:881        total += x882    return total",Returns the sum of elements in the list l883"def add_257(e, h):884    return e + h",Returns the sum of e and h885"def add_258(o, l):886    return o + l",Returns the sum of o and l887"def is_palindrome_259(w):888    t = w.lower().replace(' ', '')889    return t == t[::-1]",Checks whether the string w is a palindrome890"def sum_list_260(z):891    total = 0892    for x in z:893        total += x894    return total",Returns the sum of elements in the list z895"def reverse_261(e):896    return e[::-1]",Reverses the string e897"def contains_digit_262(l):898    for ch in l:899        if ch.isdigit():900            return True901    return False",Checks if the string l contains any digit902"def is_palindrome_263(v):903    t = v.lower().replace(' ', '')904    return t == t[::-1]",Checks whether the string v is a palindrome905"def is_palindrome_264(u):906    t = u.lower().replace(' ', '')907    return t == t[::-1]",Checks whether the string u is a palindrome908"def contains_digit_265(e):909    for ch in e:910        if ch.isdigit():911            return True912    return False",Checks if the string e contains any digit913"def reverse_266(n):914    return n[::-1]",Reverses the string n915"def is_palindrome_267(f):916    t = f.lower().replace(' ', '')917    return t == t[::-1]",Checks whether the string f is a palindrome918"def is_palindrome_268(g):919    t = g.lower().replace(' ', '')920    return t == t[::-1]",Checks whether the string g is a palindrome921"def reverse_269(m):922    return m[::-1]",Reverses the string m923"def is_palindrome_270(v):924    t = v.lower().replace(' ', '')925    return t == t[::-1]",Checks whether the string v is a palindrome926"def reverse_271(y):927    return y[::-1]",Reverses the string y928"def contains_digit_272(q):929    for ch in q:930        if ch.isdigit():931            return True932    return False",Checks if the string q contains any digit933"def reverse_273(g):934    return g[::-1]",Reverses the string g935"def is_palindrome_274(u):936    t = u.lower().replace(' ', '')937    return t == t[::-1]",Checks whether the string u is a palindrome938"def add_275(l, c):939    return l + c",Returns the sum of l and c940"def add_276(q, c):941    return q + c",Returns the sum of q and c942"def reverse_277(m):943    return m[::-1]",Reverses the string m944"def sum_list_278(l):945    total = 0946    for x in l:947        total += x948    return total",Returns the sum of elements in the list l949"def is_palindrome_279(i):950    t = i.lower().replace(' ', '')951    return t == t[::-1]",Checks whether the string i is a palindrome952"def sum_list_280(q):953    total = 0954    for x in q:955        total += x956    return total",Returns the sum of elements in the list q957"def is_palindrome_281(k):958    t = k.lower().replace(' ', '')959    return t == t[::-1]",Checks whether the string k is a palindrome960"def contains_digit_282(d):961    for ch in d:962        if ch.isdigit():963            return True964    return False",Checks if the string d contains any digit965"def is_palindrome_283(m):966    t = m.lower().replace(' ', '')967    return t == t[::-1]",Checks whether the string m is a palindrome968"def is_palindrome_284(k):969    t = k.lower().replace(' ', '')970    return t == t[::-1]",Checks whether the string k is a palindrome971"def contains_digit_285(v):972    for ch in v:973        if ch.isdigit():974            return True975    return False",Checks if the string v contains any digit976"def is_palindrome_286(j):977    t = j.lower().replace(' ', '')978    return t == t[::-1]",Checks whether the string j is a palindrome979"def add_287(n, v):980    return n + v",Returns the sum of n and v981"def reverse_288(u):982    return u[::-1]",Reverses the string u983"def is_palindrome_289(o):984    t = o.lower().replace(' ', '')985    return t == t[::-1]",Checks whether the string o is a palindrome986"def contains_digit_290(s):987    for ch in s:988        if ch.isdigit():989            return True990    return False",Checks if the string s contains any digit991"def reverse_291(s):992    return s[::-1]",Reverses the string s993"def contains_digit_292(p):994    for ch in p:995        if ch.isdigit():996            return True997    return False",Checks if the string p contains any digit998"def add_293(o, l):999    return o + l",Returns the sum of o and l1000"def is_palindrome_294(x):1001    t = x.lower().replace(' ', '')1002    return t == t[::-1]",Checks whether the string x is a palindrome1003"def add_295(g, l):1004    return g + l",Returns the sum of g and l1005"def sum_list_296(n):1006    total = 01007    for x in n:1008        total += x1009    return total",Returns the sum of elements in the list n1010"def is_palindrome_297(b):1011    t = b.lower().replace(' ', '')1012    return t == t[::-1]",Checks whether the string b is a palindrome1013"def reverse_298(e):1014    return e[::-1]",Reverses the string e1015"def add_299(s, h):1016    return s + h",Returns the sum of s and h1017"def reverse_300(b):1018    return b[::-1]",Reverses the string b1019"def sum_list_301(u):1020    total = 01021    for x in u:1022        total += x1023    return total",Returns the sum of elements in the list u1024"def reverse_302(p):1025    return p[::-1]",Reverses the string p1026"def sum_list_303(o):1027    total = 01028    for x in o:1029        total += x1030    return total",Returns the sum of elements in the list o1031"def sum_list_304(p):1032    total = 01033    for x in p:1034        total += x1035    return total",Returns the sum of elements in the list p1036"def add_305(u, v):1037    return u + v",Returns the sum of u and v1038"def reverse_306(g):1039    return g[::-1]",Reverses the string g1040"def sum_list_307(v):1041    total = 01042    for x in v:1043        total += x1044    return total",Returns the sum of elements in the list v1045"def sum_list_308(x):1046    total = 01047    for x in x:1048        total += x1049    return total",Returns the sum of elements in the list x1050"def contains_digit_309(n):1051    for ch in n:1052        if ch.isdigit():1053            return True1054    return False",Checks if the string n contains any digit1055"def is_palindrome_310(t):1056    t = t.lower().replace(' ', '')1057    return t == t[::-1]",Checks whether the string t is a palindrome1058"def is_palindrome_311(h):1059    t = h.lower().replace(' ', '')1060    return t == t[::-1]",Checks whether the string h is a palindrome1061"def reverse_312(v):1062    return v[::-1]",Reverses the string v1063"def is_palindrome_313(c):1064    t = c.lower().replace(' ', '')1065    return t == t[::-1]",Checks whether the string c is a palindrome1066"def contains_digit_314(a):1067    for ch in a:1068        if ch.isdigit():1069            return True1070    return False",Checks if the string a contains any digit1071"def add_315(s, x):1072    return s + x",Returns the sum of s and x1073"def is_palindrome_316(d):1074    t = d.lower().replace(' ', '')1075    return t == t[::-1]",Checks whether the string d is a palindrome1076"def reverse_317(j):1077    return j[::-1]",Reverses the string j1078"def is_palindrome_318(y):1079    t = y.lower().replace(' ', '')1080    return t == t[::-1]",Checks whether the string y is a palindrome1081"def sum_list_319(n):1082    total = 01083    for x in n:1084        total += x1085    return total",Returns the sum of elements in the list n1086"def contains_digit_320(x):1087    for ch in x:1088        if ch.isdigit():1089            return True1090    return False",Checks if the string x contains any digit1091"def contains_digit_321(b):1092    for ch in b:1093        if ch.isdigit():1094            return True1095    return False",Checks if the string b contains any digit1096"def add_322(g, l):1097    return g + l",Returns the sum of g and l1098"def is_palindrome_323(c):1099    t = c.lower().replace(' ', '')1100    return t == t[::-1]",Checks whether the string c is a palindrome1101"def add_324(k, s):1102    return k + s",Returns the sum of k and s1103"def sum_list_325(m):1104    total = 01105    for x in m:1106        total += x1107    return total",Returns the sum of elements in the list m1108"def contains_digit_326(j):1109    for ch in j:1110        if ch.isdigit():1111            return True1112    return False",Checks if the string j contains any digit1113"def reverse_327(v):1114    return v[::-1]",Reverses the string v1115"def add_328(n, w):1116    return n + w",Returns the sum of n and w1117"def is_palindrome_329(d):1118    t = d.lower().replace(' ', '')1119    return t == t[::-1]",Checks whether the string d is a palindrome1120"def add_330(c, p):1121    return c + p",Returns the sum of c and p1122"def add_331(q, v):1123    return q + v",Returns the sum of q and v1124"def add_332(s, u):1125    return s + u",Returns the sum of s and u1126"def add_333(j, g):1127    return j + g",Returns the sum of j and g1128"def is_palindrome_334(o):1129    t = o.lower().replace(' ', '')1130    return t == t[::-1]",Checks whether the string o is a palindrome1131"def contains_digit_335(c):1132    for ch in c:1133        if ch.isdigit():1134            return True1135    return False",Checks if the string c contains any digit1136"def contains_digit_336(x):1137    for ch in x:1138        if ch.isdigit():1139            return True1140    return False",Checks if the string x contains any digit1141"def add_337(s, w):1142    return s + w",Returns the sum of s and w1143"def reverse_338(k):1144    return k[::-1]",Reverses the string k1145"def sum_list_339(p):1146    total = 01147    for x in p:1148        total += x1149    return total",Returns the sum of elements in the list p1150"def add_340(l, z):1151    return l + z",Returns the sum of l and z1152"def sum_list_341(k):1153    total = 01154    for x in k:1155        total += x1156    return total",Returns the sum of elements in the list k1157"def is_palindrome_342(u):1158    t = u.lower().replace(' ', '')1159    return t == t[::-1]",Checks whether the string u is a palindrome1160"def reverse_343(i):1161    return i[::-1]",Reverses the string i1162"def is_palindrome_344(o):1163    t = o.lower().replace(' ', '')1164    return t == t[::-1]",Checks whether the string o is a palindrome1165"def is_palindrome_345(m):1166    t = m.lower().replace(' ', '')1167    return t == t[::-1]",Checks whether the string m is a palindrome1168"def is_palindrome_346(c):1169    t = c.lower().replace(' ', '')1170    return t == t[::-1]",Checks whether the string c is a palindrome1171"def add_347(u, c):1172    return u + c",Returns the sum of u and c1173"def add_348(e, r):1174    return e + r",Returns the sum of e and r1175"def reverse_349(t):1176    return t[::-1]",Reverses the string t1177"def sum_list_350(q):1178    total = 01179    for x in q:1180        total += x1181    return total",Returns the sum of elements in the list q1182"def reverse_351(g):1183    return g[::-1]",Reverses the string g1184"def contains_digit_352(i):1185    for ch in i:1186        if ch.isdigit():1187            return True1188    return False",Checks if the string i contains any digit1189"def add_353(x, j):1190    return x + j",Returns the sum of x and j1191"def reverse_354(t):1192    return t[::-1]",Reverses the string t1193"def sum_list_355(n):1194    total = 01195    for x in n:1196        total += x1197    return total",Returns the sum of elements in the list n1198"def is_palindrome_356(m):1199    t = m.lower().replace(' ', '')1200    return t == t[::-1]",Checks whether the string m is a palindrome

Showing the first 1,200 of 33857 lines. Download the file for the rest.