I did it! Yes, I know it’s easy to do, but I did it with a computer language that I’m still a rank novice at using. I exceeded the capabilities of Python in Windows Powershell, with a single line of Python code…sort of.
The glory of exponential growth of exponential numbers!
I have continued going through the Data Structures section of the tutorial on Python.org found here…
https://docs.python.org/2.0/tut/tut.html .
In it, I learned about Python's ability to fill a sequence using a single-line FOR loop. I was having so much fun with it that I repeated it against its results a couple of times until the iterations became so expansive that the final one took several minutes (on a fairly fast business computer) and then crashed out because it exceeded the memory allocated to Windows Powershell.
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows
PS C:\Users\WHousley> python
Python 3.13.2 (tags/v3.13.2:4f8bb39, Feb 4 2025, 15:23:48) [MSC v.1942 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> queue = ["Eric", "John", "Michael"]
>>> queue.append("Terry")
>>> queue
['Eric', 'John', 'Michael', 'Terry']
>>> queue.append("Graham")
>>> queue
['Eric', 'John', 'Michael', 'Terry', 'Graham']
>>> x=queue,pop(0)
Traceback (most recent call last):
File "<python-input-5>", line 1, in <module>
x=queue,pop(0)
^^^
NameError: name 'pop' is not defined. Did you mean: 'pow'?
>>> x=queue.pop(0)
>>> x
'Eric'
>>> x=queue.pop(0)
>>> x
'John'
>>> queue
['Michael', 'Terry', 'Graham']
>>> def f(x) : return x % 2 != 0 and x % 3 != 0
...
>>> filter(f, range(2,25))
<filter object at 0x000001AFD564D390>
>>> george = filter(f, range(2,25))
>>> print(george)
<filter object at 0x000001AFD5B3BFA0>
>>> def cube(x): return x*x*x
...
>>> map(cube, range(1,11))
<map object at 0x000001AFD5B641C0>
>>> seq = range(8)
>>> def square(x): return x*x
...
>>> map(None, seq, map(square, seq))
<map object at 0x000001AFD5B64160>
>>> x*x*x
Traceback (most recent call last):
File "<python-input-20>", line 1, in <module>
x*x*x
~^~
TypeError: can't multiply sequence by non-int of type 'str'
>>>
>>> r=x*x*x+
File "<python-input-22>", line 1
r=x*x*x+
^
SyntaxError: invalid syntax
>>> x=5
>>> r=x*x*x
>>> r
125
>>> def sum(seq)
File "<python-input-26>", line 1
def sum(seq)
^
SyntaxError: expected ':'
>>> def sum(seq):
... def add(x,y): return x+y
... return reduce(add,seq,0)
...
>>> sum(range(1,11))
Traceback (most recent call last):
File "<python-input-28>", line 1, in <module>
sum(range(1,11))
~~~^^^^^^^^^^^^^
File "<python-input-27>", line 3, in sum
return reduce(add,seq,0)
^^^^^^
NameError: name 'reduce' is not defined
>>> sum([1,2,3,4,5])
Traceback (most recent call last):
File "<python-input-29>", line 1, in <module>
sum([1,2,3,4,5])
~~~^^^^^^^^^^^^^
File "<python-input-27>", line 3, in sum
return reduce(add,seq,0)
^^^^^^
NameError: name 'reduce' is not defined
>>> def sum(seq):
... def add(x,y): return x+y
... return reduce(add,seq,0)
...
>>> sum((1,2,3,4,5))
Traceback (most recent call last):
File "<python-input-31>", line 1, in <module>
sum((1,2,3,4,5))
~~~^^^^^^^^^^^^^
File "<python-input-30>", line 3, in sum
return reduce(add,seq,0)
^^^^^^
NameError: name 'reduce' is not defined
>>> freshfruit = [' banana', ' loganberry ', 'passion fruit ']
>>> [weapon.strip() for weapon in freshfruit]
['banana', 'loganberry', 'passion fruit']
>>> freshfruit = [' banana', ' loganberry ', 'passion fruit ']
>>> freshfruit
[' banana', ' loganberry ', 'passion fruit ']
>>> [weapon.strip() for weapon in freshfruit]
['banana', 'loganberry', 'passion fruit']
>>> vec = [2,4,6]
>>> [3*x for x in vec]
[6, 12, 18]
>>> [3*x for x in vec if x > 3]
[12, 18]
>>> [3*x for x in vec if x < 2]
[]
>>> [{x: x**2} for x in vec]
[{2: 4}, {4: 16}, {6: 36}]
>>> [{x: x**2} for x in 6]
Traceback (most recent call last):
File "<python-input-42>", line 1, in <module>
[{x: x**2} for x in 6]
^
TypeError: 'int' object is not iterable
>>> r=7
>>> [{x: x**2} for x in r]
Traceback (most recent call last):
File "<python-input-44>", line 1, in <module>
[{x: x**2} for x in r]
^
TypeError: 'int' object is not iterable
>>> [{x: x**2} for x in vec]
[{2: 4}, {4: 16}, {6: 36}]
>>> [x: x**2 for x in vec]
File "<python-input-46>", line 1
[x: x**2 for x in vec]
^
SyntaxError: invalid syntax
>>> [x: x**2 for x in r]
File "<python-input-47>", line 1
[x: x**2 for x in r]
^
SyntaxError: invalid syntax
>>> [x x**2 for x in r]
File "<python-input-48>", line 1
[x x**2 for x in r]
^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
>>> [x**2 for x in r]
Traceback (most recent call last):
File "<python-input-49>", line 1, in <module>
[x**2 for x in r]
^
TypeError: 'int' object is not iterable
>>> [(x, x**2) for x in vec]
[(2, 4), (4, 16), (6, 36)]
>>> vec1==[2,4,6]
Traceback (most recent call last):
File "<python-input-51>", line 1, in <module>
vec1==[2,4,6]
^^^^
NameError: name 'vec1' is not defined. Did you mean: 'vec'?
>>> vec1=[2,4,6]
>>> vec2=[4,3,-9]
>>> [x*y for x in vec1 for y in vec2]
[8, 6, -18, 16, 12, -36, 24, 18, -54]
>>> p=[x*y for x in vec1 for y in vec2]
>>> p
[8, 6, -18, 16, 12, -36, 24, 18, -54]
>>> p=[x**y for x in vec1 for y in vec2]
>>> p
[16, 8, 0.001953125, 256, 64, 3.814697265625e-06, 1296, 216, 9.92290301275212e-08]
>>> vec1=p
>>> vec2=p
>>> p=[x**y for x in vec1 for y in vec2]
>>> p
[18446744073709551616, 4294967296, 1.0054299011128027, 179769313486231590772930519078902473361797697894230657273430081157732675805500963132708477322407536021120113879871393357658789768814416622492847430639474124377767893424865485276302219601246094119453082952085005768838150682342462881473913110540827237163350510684586298239947245938479716304835356329624224137216, 115792089237316195423570985008687907853269984665640564039457584007913129639936, 1.0000105766425498, 3463359085397994440860551679028512105390716258984678871449998709614328511165647666379773195047670127864290919732359717494335199937170784765089113937386295443429487336375922239448352265121668832811566294159151160976370420689961745866716238601658710225066330699373293543258023323654954316706777534265899069630532558037569709788696846481629693504554695476465927125673327862461543383799404590100888539542978385699076581097860749433911638915084522717560143397760282355311261587769898828551537524325412490683951700481578462048681920595971266209028445882564350140420131002798907424296242985685824756757879368122113502864389914039476542022029827351668963948825206657414534946452553462074662524900194094664015710327026309497625749598461793974397066030891089812252330707404367096117720530881888922291559439783308910953770820504612863559482569035769426393349196518974115076053463578519344208765384627881254356977734987612538038928433884423717963373578799925723657009369646355243189505246788135882861362411757543306040853223814958109542384174176750473878839678030650607016744140150260911979187451581567161184321987239467669830618210932010952750180607406238277827521776593249550523301841322625672216984276071728228197922563211923361040109915901146984005640534358517782600050065808747930955510528248598869185645444305026860619610065205786178736606283087366141182645322759532811604750099375214201987112233022111165489619056716977489838578019624257593864426140822922257627620756406086630509118250159613682926657830586991475568454720037516348593571302998343122369251888454434816, 123003155723136208567847447683223664415731869180715065944930703618254955521953492303010368693540149343822709050322214299552689203876695953600699775494388206142090885899729347827083318884583758435450548517566916626912548274908112766882031433928533568160966639616, 1.0000002751213277, 281474976710656, 16777216, 1.004069667960554, 1552518092300708935148979488462502555256886017116696611139052038026050952686376886330878408828646477950487730697131073206171580044114814391444287275041181139204454976020849905550265285631598444825262999193716468750892846853816057856, 6277101735386680763835789423207666416102355444464034512896, 1.000007932471425, 2538768736352482899271884166616737579456509122944293940088445539941097567375847150785282770468374869786040061656000962355538603054201592567629587506357800952412756427964572726179040783836394285035948752774128324529953373647299045775899643111109014518398403901989615021425588287720880413772030599190798590209171770988243750393523494906370583578189590510004025860983149925387078189074677576916752576135833136763931714407542990342953994253598862909937913170904220955920490722751759930684735762232964989254945308313615410041974494200839329637339062985782696763947016117400309580314794226307724351083381974154622098898700289890982463360020621057779956123274710893707037805270495600757334561141082095501116172773334139270390505939371448895938604094386584405619626704022913714433366351143885153401795885751236673485688259646466929346601411830845713740441766470186676959388818726058248262998368173335343665540832475692751345929896065666026474004041896356280767578867439482047949343192713396798923016039073581760945013931109139235045250427458164016734113523867367494705114517577870389026748106597536248760100738861134964616028017233171638352916199997199220147154784471234753069056, 1167984798111281975972139931059274579172666497855631342228273284582214442805421410945513679697247078343332431250840168271536308408672112127552681297848886832192510636636227827221215793215130566656, 1.0000002063409887, 4.484155085839415e-44, 2.117582368135751e-22, 0.9878896993670342, 0.0, 4.043174611952195e-174, 0.9999762029632647, 0.0, 0.0, 0.9999993809772895, 340282366920938463463374607431768211456, 18446744073709551616, 1.0108892860517005, 32317006071311007300714876688669951960444102669715484032130345427524655138867890893197201411522913463688717960921898019494119559150490921095088152386448283120630877367300996091750197750389652106796057638384067568276792218642619756161838094338476170470581645852036305042887575891541065808607552399123930385521914333389668342420684974786564569494856176035326322058077805659331026192708460314150258592864177116725943603718461857357598351152301645904403697613233287231227125684710820209725157101726931323469678542580656697935045997268352998638215525166389437335543602135433229604645318478604952148193555853611059596230656, 13407807929942597099574024998205846127479365820592393377723561443721764030073546976801874298166903427690031858186486050853753882811946569946433649006084096, 1.0000211533969647, 11994856154408832550226173326306705916387403291538790409207229375924811226867153172081682560389818731635333488155078141864936395158114614816171831234039367797725674280196424929270979317783225161827959137059628030199585191666552636256144082016541972627793601526380932284599738574150535550455412161425535950096949648077368167373664107401116120042091354926483799352823282738443931716540219820205079934909080225666165168785428478194098957789175387091300823187210238401528795578339253650493010646015710611481610635038089033516821442982017272715966607816762826761458252635137877988845349608448462092071268149620930907835274625171535669540846555472755956105788659270097840429589577050932528197214360197818621782573313261005086062020114291056335492105586693920465602609549669976554016526221504158711860584611890604631680363944852159180925807164249230734604324947484028680373423787400401467381766159791217259210678256545113791641316068132798763341105125366856545348160592871982583480219899735284803148168486424287781574774133805492335975245567882898090794844678111016144980606683587328074359092238159958116018018808237850607330954880383377424700452689328672914822487939870174551938940356017103375388691856692687099864826210726858915619674002356206997292172590535149198791001322442467195174319927685133178075807214115168548946046902081544346824602596989599002473605333638236107081059492076994268419830348013660055398038382818320323669812487337540162389300897775128509840940505600289680560140455142142961787109091441188905437826408956793348361748980464825399419211891415963476657880064970425795078904591115474336587138795739630085916308882363082690220900576354371551181833304770741515826212060993832330150644719463002489601488570470708586732712870720256924165279930571979671345071601928756299287220852792505918614065874652238556855166914234776183445915641575663417064899156996064301651985572007823096196836919207991430466887834732040812733686235814886093697460730838476950691230792396263070133937588431691792097052962817311626737027956517522473074805573551751532985690384845837017662533378236559598880816832079853528424092601025382583440361295186555964576195488737454297057440812954859122910467345158825716527555956099093390252692791594854705209535758917178271871660558242154278133994932219309631606987678043156858813867895913529139174546990431725929152947673587278119338699337159066797066755517017096557650680553163523875464770500717637861788649586815642295179284717416905350464027523917483098895505212685271039971436124939375869599297329168578444011134625138831207390768206382552970476251675914583131411422049438595763091656756967287838794362363767511466710880152384773035582252638351537038335404063775453475732440941774782208244252645531769009791566846947699430050284367870252845835850551953268536070136944944676359755353002382909538347894279022495415329247705920518547983348123196159663099104202652776565385458813711128402113220898249088561535777824524279141186310805887919107489910206092581785072780672883760650120193647519714593309394534466654205793658545908029983339634887840503883774446269198840239029037475768376217992953856, 15129776317850095820092511389349266990292718729815631986418537353879463563521162185150219603700165130994236082131324756445942491538167955612355559370819630786874949073054392871127532858565042604704229027792897149278536911570984376289178239414281093587086254280625511423417734560103547720775941236898584297864754056409689723511538383397266829071642966529789271374337767970717302376007449935423628987375161285038699647338790955261847896303406764539379637294632424461577413789356619528237622525126579905139518845267220627456, 1.0000005502427312, 79228162514264337593543950336, 281474976710656, 1.0081558981184175, 2410312426921032588580116606028314112912093247945688951359675039065257391591803200669085024107346049663448766280888004787862416978794958324969612987890774651455213339381625224770782077917681499676845543137387820057597345857904599109461387122099507964997815641342300677629473355281617428411794163967785870370368969109221591943054232011562758450080579587850900993714892283476646631181515063804873375182260506246992837898705971012525843324401232986857004760339316736, 39402006196394479212279040100143613805079739270465446667948293404245721771497210611414266254884915640806627990306816, 1.000015865005774, 6445346696680782825416437566319089761637456833974531730775458184543286320283182271444696724454069038956845710516853679227391906314472525473605972032157139977579072274536639042609188424239239011508754703739045777656878358529704649968917973772632631547265108988673564340565414669050754107189934461209359173088009071057292182048207055511944321957631107582320769550273817437365425803616634744589768847406628195780833926069430597165954369780522749285621845574781238594256186903953861153303176896441658392575817676370529865789050949704491623251289858656430590799403111474069343311174729961703149302039829967343109506430902163853126226846299671207209843652715121060627707645328639969804594146255823707056928018553927401598448910817392258793829504109367951024355751777080090056862622346984774560976587957623743128115238602925503404340670688575287144521945780599246393041899381575385263083503362455788956808838972800128620297652599730863633054050090438583180834251017752933687059429621385942712776463461594548300808143636567774713596681273497730387423509577668208089024251510674662122432632162869668108587058231036051993177423888135796654318656178668928424648058848051792220086073932556880870287189856073831047955963229398581324101323231362238407743525921216178639759630863960474226981963192351867081978762519381048511502895225154417828433592413836524655836904676713984307823406569179981579147603605719854256521058621172913948212219490172881402521647067562490605538691785584359655383060639443319770538511630392607795855994239188562237591045172170524539916695587989171729234704669970852272933351060812646600238269804791572041061062461501928875344312783778465424827106948266395029882306697236807403393332813731759903371014973752286918973141942533857198916273437430179121966082098941430795643158448995160865252058185826864343164378893117772507107917168573251826491158682856722917102178012299493421142371212159974260697253467269858681739347420919886568774232587558428240114023772479534302834747399213924450634124374545524650721640211344540206968297272857957795161297483376612398654165419198925254600296174534137660467989108971096878378794687024368407062086940073182226762346459197778455449068509159527946121272321674354542956701803601978142689835979192731607207241265008765090796874283616201190465057777089656747003063774051497042738027862183211104731136, 1364188488619052116466105100188265419717379653273741532242786693992101715597506680981060248106739195555665885784215520253232226795300253192439713838619337787037991503054663889161182688006843079127591737170026798935139113651083474222050508981461091652957942433095504472118187338632823518614811421165606509195698926020610034372011417336379206274761103883598061489450479872973957125731659022336, 1.00000041268202, 2.010764683385949e-87, 4.484155085839415e-44, 0.9759260581154892, 0.0, 0.0, 0.9999524064928285, 0.0, 0.0, 0.9999987619549621, 63340286662973277706162286946811886609896461828096, 7958661109946400884391936, 1.014096553300555, 67124396309528000740141897322590239481386545519122861413940212538264765045894227785804651972514654499529925859328293557615698068986678523193131340472173415365758537510244514553887251327089883299322548908844761580561121094084788677864216937931753251692089781590481303780390619922804280908216481219552730548329932371790115837650795778121069908005147805341711806528925274845747566497175952452417510563506458530485235462242604366952751531326401157213859942671737619262329404719490533141390781687183664964155339581521435803946217475425861702684685742453989366533766815633282617146124013017528490125887698133205239603904954188172286507673980840453941939264641062643690183343919960897731226616395159214617096138861846706745934890388068180526708653543589287572372513333902997461657323312863235396018896896, 16096079122395561512061763913577304064976913480336184419870793713264277662647884811647537309195067118494671396772863385036070451166210844912750004569643271101628982439604781505910612662005364378566656, 1.0000273404535351, 86314148159432603431073133295096304808803435823332258099914317173515682462246819525877756173520252174190848731619863948419927095810293604271843870637729911443127554637349501692788553400367567499930844309624899740427557434252960471185071577107896673213861294743400925671425751778872658189386842745950858760314773721885250980230065695910728612475606923403340581009502637820578194315677514613388943983362920761047038127720535625657279359738480161574443891191481937497571106325564935553072044705756886310186749239420441634397093493716056692133914363605627984594346822203194439776557461490267106733892566881208807492741157988927925801561818598282019701288569153540547917205911561021453353575053386696370752476340598924653657165895854381585236616953221402184076172790561047537273427020484601352504929049720893701461807873141350371162864766195052504962159846232365646894405057295106888083670844152264281424192405064400332102174635429529371882143455429078553785037326476152110201743103444918231806212019425002279611617430338219806527329383886345245777089000258695431821827863215330530925513590148264916438280206748197323905823850076998573698828459723945636117695667928360971241451521410708276875432390286766626000895367907183521582367222999775049010803424167110711859505337586426841286353623399354675644646391600512506897232099124053008031353185546779132585419975867895546753147142865378686412665379202850053164650626684179846985481230099705190546951245074903858839007726809518780453571596735491183813337227500679449764269916352892273186957203537041861816305552764216319680571754598358681973859455975975790513697090650385023435039290176329648954795256261808136672551040745652153321782151892336711022795626047919114978120323795331872899813760757710219172682858498835647129566307760743197942798776737231006615733943025942517168937600649990342942706195064842169060100940331690062244227605267662822883940853286026497168323235731581447452199016458643726340555802584128097134443085154205522272873638768053355243559075408132987379987208869705999143444597433964669296609081820807602528481494682268761899838097582452943413449794532587584600637196486512052142785143365783342899214534760453885047822447982979254200019609397070724906009025409748387829747437673725800275414617319994620481769955460377486360712170318261915320967277450385920044318171715745083651326438481039880218417312481273351769277619094831550984053269262660826347488015500772060946162342429880618928168289795943046457843864489639393650823546186600416622405461795255900659569310116769805565780965102895097100687204280270409684243758495862346311091664029556918528843128664710726872331069092604497686404745311382072109169714231290734271146823843720081318133413843180931956442001640674382330535340198471483378065030476673033118992245426428296952630422522072327220937381912148142193512847568481840779425891076029414510595950377127629201085267209773345177996430708102492585067497248043966698923458598666087870433086410749945891724593752076935122075942251017457359819304548227874833567841273775143215512754152147354485010412414332998852533215571601172350192539550577053324980347578074328398089343036479941139903601037843297214537448789992738216904942796902175949498672605346718464960715230309289550146267746934656529466211541224248808997131091743066854539025904497848634588979773064185468237484583622665671416220914078423408640563890067538867917859057374983357402601636817306952363927090875189178806981507481088406664165051869223558702748527270821930217983999645078060555764274197548577848468027185558444734412216181295975760413154260812439267685154829668034577211974437941505649096570327138699955219273846543277255624682600091698713616142357923648098816565088182315294196646022756765997316606799310374490005468304432403166001743474857421903388376318288164385796582170174530187905154304016173646131070457083882167511405800471927141973620994081471085515885279397475170157351730494846681370641560399487096900982222579429731916401638788406104172070809152096345567598032737550843112544543436701696, 2102230493964339317668132704930059724223678448325981446804352029027995026963801338417682587903276850990019316356539361129994651315898642400618406185863220727974412331021620096356882644867977062701322986217822279157600134008661589939003155512774691332741742536046852851094514156332781213304726353569788330393906241803340760465020163733334715453210483960477088143074036308760717344326219807961803005100185832868961959249758714522746726689307678814474744831029864289044049580704525762640727769042706490345047831363218764425207565399383685919533844731354701450093133054842851218768423952564975857679534531710003119156542574920504182625085996334200040319013742784925745960452096, 1.0000007111784703, 22452257707354557240087211123792674816, 4738381338321616896, 1.0105538942097947, 4170232750417665172790345156712724910776818301639754667598137402491259801018541164430857552133683295693474488114434162594649253815980529997557185781706246901736375183697945892099839955207389849589353832491315878926204269915304302428469817324633588031337398128057169428928045271416392366984764963896719229847733011176565990992974111947773278674349951034408057322462350049537019942367362927724560762528756845849734953009175813966005792922954888236980723034399905762528945891608643001713333740662501528010169237127423144815562167163595093666160982025056083759437936202340437482754957411386928624828416, 254120717956977904947901717725226320982289252635417517751366430740784161111599162558032395107427588982727489775446369783899692096596838350184813428736, 1.000020505270074, 28317929200017193723124234514287100475004797061214255679855664895359984588563842339477397304006953839831498540496733359145432631188581092113949874212455497822956419592741206710856673811905560445719584089218426427070464300416985477255478227782805030155320775737376157599149337008608104766089069793211135426485434291732911776271360955068600457236673318749147810163595765647115220757413257693314260999328438866889729257158071363409911092910514161412902987171485352554435377539736697923442607456899324517898018724418613030544661164654164824260122290300930752238037527836367156473942547839813941530075011518553775885339118575185422415311960269455916874632961137025109349177636844542492111772924734855694172918479268442326528417916126119503019557683216115495284374028512198513085695851353795072598073327035137496026770107238480055972150296277154351702529281845058686531633524423917012300859246669317065634198705960546669634820535933043518822872045191937422654942064963743340190969960979411040903419141051805575801577321353881144785121379996019902523882239668918345763383487505535141637671783373537759614688852508030263165930103777747611250673780361147114697636080077473278262976938713051589612405223010356405970826086948315364399183354927071098892820195012967605416622065996875024987434431059894902300880744446728555153077181176253013445828433723500060290856620889619896453391405121188261770415508336075740669388893825954694202319416673627314153472893560044426980269140388150136149537724356924590814433936700345196633202234531113922153659824925700284731290303075836871620288435871509351526204911418473059161383488120557925068542581070250677464590332652991837281072396838721210048425729458415374264178251034100098185503197474546352447320815609045920624234341539780848202159077527582424247189194165690443538463949176770408451407267128865664213854170768795400859790468993239335138068123054095008142374724571766734737806593907892219665288675685324639175947145867573457956573627402429435167111244386408852196976766948577165110312768366222208023861089841265229094421868358309588374942167930257161835684722764541619929544236848405459219264422034868633792802880978853175677632946962552282302202451244949901030489389569563966978924196829259145921265404226374680139029906260343486953851234014257937386009932134351092280001070167480483285969559442831922152691846585424428255638999024142639312867505927231044196006964269258466893096126859772807951950739038661404209288077503145592453789070599654827233020236395021938529489773602308706636280879798564879106237059969860404321506288581919304907527292089411460610352250709042504349110947066064262623370544260817665765925150167173855560167151700678828069035944782522505226742845121966599974303369539182140666705987330278206064812091464751157129060286525169398075164735414888418529210515638651046309669099060052583611347652924560817772185458579404364628159500945940260030246787256949432091641100129680085086001814847510236049395429012317429882807594011297181851980536563441607996606321018553568854016, 1745863351799723772171930267757553576754759885342662285425607691290384538550061380445784873916207592760553784108000967732604829241807885949199159766564894068053706436416730173088797598091319908962277326334040325272476347718214990470868694982289171113215038219782857861289599468202859322838660608381856076098574448552488714590513240901905124769729477887247602412904165040801015005121458588381995530248669985211363241191470537799806973136629018899441713563074057482841891649137988449380141244117528730402816, 1.0000005333838053, 8.835272420077002e-113, 9.39961298143546e-57, 0.9689950534336603, 0.0, 0.0, 0.9999384867124885, 0.0, 0.0, 0.999998399850291]
>>> vec1=p
>>> vec2=p
>>> p=[x**y for x in vec1 for y in vec2]
Traceback (most recent call last):
File "<python-input-65>", line 1, in <module>
p=[x**y for x in vec1 for y in vec2]
~^^~
MemoryError
>>>