[{"data":1,"prerenderedAt":15887},["ShallowReactive",2],{"content-/basics/lists/files_handling":3,"surround_/basics/lists/files_handling":15880},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"created_at":10,"updated_at":10,"authors":11,"body":13,"_type":15874,"_id":15875,"_source":15876,"_file":15877,"_stem":15878,"_extension":15879},"/basics/lists/files_handling","lists",false,"lt","Failų apdorojimas","Bla bla bla","2024-09-18",[12],"Vilius Paliokas",{"type":14,"children":15,"toc":15832},"root",[16,24,31,44,51,99,114,131,136,150,155,160,165,229,234,315,320,414,419,479,484,490,495,500,505,536,550,657,662,769,781,820,919,925,963,974,1925,1930,1983,1988,2182,2201,2231,2263,2268,2355,2360,2366,2428,3251,3323,3594,3619,3625,3646,3666,3728,3742,3756,3771,3787,3801,3817,3822,3915,3953,3960,3965,4176,4204,4240,4258,4263,4282,4287,4398,4416,4651,4656,4747,4803,5190,5195,5244,5249,5255,5260,5339,5344,5358,5363,5378,5391,5461,5475,5489,5494,5509,5527,5596,5693,5699,5704,5810,5815,5912,5930,5948,6047,6052,6189,6194,6208,6214,6225,6283,6288,6306,6320,6338,6468,6473,6604,6641,6720,6726,6744,7240,7245,7334,7340,7364,7607,7612,7626,7631,7929,7934,8061,8066,8072,8096,9066,9223,9229,9234,9662,9667,9681,9694,9705,9748,9753,9812,9831,9854,10055,10060,10150,10155,10232,10237,10243,10278,10293,11375,11388,11527,11532,11665,11670,11703,11720,11738,12787,12792,12839,12845,12874,12879,13465,13470,14583,14588,14790,14796,14802,14807,14868,14874,14879,14884,14907,14912,15040,15045,15051,15056,15407,15413,15418,15438,15452,15535,15540,15546,15551,15557,15562,15568,15573,15579,15591,15597,15629,15635,15640,15646,15665,15670,15788,15793,15826],{"type":17,"tag":18,"props":19,"children":20},"element","p",{},[21],{"type":22,"value":23},"text","Išmoksime savo programoms suteikti daugiau dinamiškumo savo programoms - skaitysime iš failo ir įrašysime į failą.",{"type":17,"tag":25,"props":26,"children":28},"h2",{"id":27},"keletas-failų-formatų",[29],{"type":22,"value":30},"Keletas failų formatų",{"type":17,"tag":18,"props":32,"children":33},{},[34,36,42],{"type":22,"value":35},"Pirma supažinkime su keleta failų formatų, kurios reiktų žinoti esant programuotoju. Nors susipažinsime su keleta, toliau dirbsime tik su vieno tipo ",{"type":17,"tag":37,"props":38,"children":39},"em",{},[40],{"type":22,"value":41},"CSV",{"type":22,"value":43},".",{"type":17,"tag":45,"props":46,"children":48},"h3",{"id":47},"plėtinys",[49],{"type":22,"value":50},"Plėtinys",{"type":17,"tag":18,"props":52,"children":53},{},[54,56,61,63,75,77,83,85,90,92,97],{"type":22,"value":55},"Prieš pereinant prie konkrečių tipų, reiktų išsiaiškinti formatą ir plėtinio skirtumus. Failams, kuriuose talpiname ",{"type":17,"tag":37,"props":57,"children":58},{},[59],{"type":22,"value":60},"Python",{"type":22,"value":62}," kodą, suteikiame vardą ir prirašome gale ",{"type":17,"tag":64,"props":65,"children":68},"code",{"className":66,"language":22,"style":67},"language-text shiki shiki-themes catppuccin-latte material-theme-darker","",[69],{"type":17,"tag":70,"props":71,"children":72},"span",{},[73],{"type":22,"value":74},".py",{"type":22,"value":76},". Ši failo pavadinimo dalis - galas vadinamas ",{"type":17,"tag":78,"props":79,"children":80},"strong",{},[81],{"type":22,"value":82},"plėtiniu",{"type":22,"value":84}," (",{"type":17,"tag":37,"props":86,"children":87},{},[88],{"type":22,"value":89},"angl. extension",{"type":22,"value":91},"). Labai svarbu suprasti tai, kad ",{"type":17,"tag":78,"props":93,"children":94},{},[95],{"type":22,"value":96},"failo plėtinys nurodomas programoms, kad jos žinotų, ko tikėtis iš faile esančių duomenų",{"type":22,"value":98}," - kokia duomenų struktūrą ir ką jie reprezentuoja.",{"type":17,"tag":18,"props":100,"children":101},{},[102,104,112],{"type":22,"value":103},"Jeigu sukurtume tekstinį failą pavadinimu ",{"type":17,"tag":64,"props":105,"children":106},{"className":66,"language":22,"style":67},[107],{"type":17,"tag":70,"props":108,"children":109},{},[110],{"type":22,"value":111},"data.txt",{"type":22,"value":113},":",{"type":17,"tag":115,"props":116,"children":118},"pre",{"className":66,"code":117,"filename":111,"language":22,"meta":67,"style":67},"Labas, mama.\n",[119],{"type":17,"tag":64,"props":120,"children":121},{"__ignoreMap":67},[122],{"type":17,"tag":70,"props":123,"children":126},{"class":124,"line":125},"line",1,[127],{"type":17,"tag":70,"props":128,"children":129},{},[130],{"type":22,"value":117},{"type":17,"tag":18,"props":132,"children":133},{},[134],{"type":22,"value":135},"Tai mūsų operacinė sistema bandant paleisti šį failą, atidarytų tekstinę rengyklę. Niekas nedraudžia šitam failui suteikti kitokį plėtinį:",{"type":17,"tag":115,"props":137,"children":139},{"className":66,"code":117,"filename":138,"language":22,"meta":67,"style":67},"data.mp3",[140],{"type":17,"tag":64,"props":141,"children":142},{"__ignoreMap":67},[143],{"type":17,"tag":70,"props":144,"children":145},{"class":124,"line":125},[146],{"type":17,"tag":70,"props":147,"children":148},{},[149],{"type":22,"value":117},{"type":17,"tag":18,"props":151,"children":152},{},[153],{"type":22,"value":154},"Tokį failą operacinė sistema bandys atidaryti naudojant muzikos grotuvą. Atidarę turėtumėte pamatyti ekrane klaidą. Tokių failų apdorojimas vyksta priklausomai taip, kaip numatė jį programotuojas.",{"type":17,"tag":18,"props":156,"children":157},{},[158],{"type":22,"value":159},"Žemiau pateikta keletas plėtinių, kuriuos reiktų žinoti:",{"type":17,"tag":18,"props":161,"children":162},{},[163],{"type":22,"value":164},"Dokumentų failai:",{"type":17,"tag":166,"props":167,"children":168},"ul",{},[169,183,203,216],{"type":17,"tag":170,"props":171,"children":172},"li",{},[173,181],{"type":17,"tag":64,"props":174,"children":175},{"className":66,"language":22,"style":67},[176],{"type":17,"tag":70,"props":177,"children":178},{},[179],{"type":22,"value":180},".txt",{"type":22,"value":182},": paprastas tekstinis failas;",{"type":17,"tag":170,"props":184,"children":185},{},[186,194,196,201],{"type":17,"tag":64,"props":187,"children":188},{"className":66,"language":22,"style":67},[189],{"type":17,"tag":70,"props":190,"children":191},{},[192],{"type":22,"value":193},".pdf",{"type":22,"value":195},": nešiojamojo dokumento formatas (",{"type":17,"tag":37,"props":197,"children":198},{},[199],{"type":22,"value":200},"angl. Portable Document Format",{"type":22,"value":202},");",{"type":17,"tag":170,"props":204,"children":205},{},[206,214],{"type":17,"tag":64,"props":207,"children":208},{"className":66,"language":22,"style":67},[209],{"type":17,"tag":70,"props":210,"children":211},{},[212],{"type":22,"value":213},".doc/.docx",{"type":22,"value":215},": Microsoft Word dokumento failas;",{"type":17,"tag":170,"props":217,"children":218},{},[219,227],{"type":17,"tag":64,"props":220,"children":221},{"className":66,"language":22,"style":67},[222],{"type":17,"tag":70,"props":223,"children":224},{},[225],{"type":22,"value":226},".ppt/.pptxt",{"type":22,"value":228},": Microsoft PowerPoint pateikčių failas;",{"type":17,"tag":18,"props":230,"children":231},{},[232],{"type":22,"value":233},"Grafikos failai:",{"type":17,"tag":166,"props":235,"children":236},{},[237,250,263,276,289,302],{"type":17,"tag":170,"props":238,"children":239},{},[240,248],{"type":17,"tag":64,"props":241,"children":242},{"className":66,"language":22,"style":67},[243],{"type":17,"tag":70,"props":244,"children":245},{},[246],{"type":22,"value":247},".jpg/.jpeg",{"type":22,"value":249},": Joint Photographic Experts Group (atvaizdo formatas);",{"type":17,"tag":170,"props":251,"children":252},{},[253,261],{"type":17,"tag":64,"props":254,"children":255},{"className":66,"language":22,"style":67},[256],{"type":17,"tag":70,"props":257,"children":258},{},[259],{"type":22,"value":260},".png",{"type":22,"value":262},": Portable Network Graphics (atvaizdo formatas);",{"type":17,"tag":170,"props":264,"children":265},{},[266,274],{"type":17,"tag":64,"props":267,"children":268},{"className":66,"language":22,"style":67},[269],{"type":17,"tag":70,"props":270,"children":271},{},[272],{"type":22,"value":273},".gif",{"type":22,"value":275},": Graphics Interchange Format (atvaizdo formatas);",{"type":17,"tag":170,"props":277,"children":278},{},[279,287],{"type":17,"tag":64,"props":280,"children":281},{"className":66,"language":22,"style":67},[282],{"type":17,"tag":70,"props":283,"children":284},{},[285],{"type":22,"value":286},".bmp",{"type":22,"value":288},": Bitmap image file (atvaizdo formatas);",{"type":17,"tag":170,"props":290,"children":291},{},[292,300],{"type":17,"tag":64,"props":293,"children":294},{"className":66,"language":22,"style":67},[295],{"type":17,"tag":70,"props":296,"children":297},{},[298],{"type":22,"value":299},".svg",{"type":22,"value":301},": Scalable Vector Graphics (vektorinės grafikos formatas);",{"type":17,"tag":170,"props":303,"children":304},{},[305,313],{"type":17,"tag":64,"props":306,"children":307},{"className":66,"language":22,"style":67},[308],{"type":17,"tag":70,"props":309,"children":310},{},[311],{"type":22,"value":312},".webp",{"type":22,"value":314},": Modernus atvaizdo formatas žiniatinkliui;",{"type":17,"tag":18,"props":316,"children":317},{},[318],{"type":22,"value":319},"Audio ir video failai:",{"type":17,"tag":166,"props":321,"children":322},{},[323,336,349,375,388,401],{"type":17,"tag":170,"props":324,"children":325},{},[326,334],{"type":17,"tag":64,"props":327,"children":328},{"className":66,"language":22,"style":67},[329],{"type":17,"tag":70,"props":330,"children":331},{},[332],{"type":22,"value":333},".mp3",{"type":22,"value":335},": MPEG Audio Layer III (glaudtinas audio failų formatas);",{"type":17,"tag":170,"props":337,"children":338},{},[339,347],{"type":17,"tag":64,"props":340,"children":341},{"className":66,"language":22,"style":67},[342],{"type":17,"tag":70,"props":343,"children":344},{},[345],{"type":22,"value":346},".wav",{"type":22,"value":348},": Waveform Audio File Format;",{"type":17,"tag":170,"props":350,"children":351},{},[352,360,362,367,369,374],{"type":17,"tag":64,"props":353,"children":354},{"className":66,"language":22,"style":67},[355],{"type":17,"tag":70,"props":356,"children":357},{},[358],{"type":22,"value":359},".flac",{"type":22,"value":361},": Nemokamas glaudintas be praradimų (",{"type":17,"tag":37,"props":363,"children":364},{},[365],{"type":22,"value":366},"angl. lossless",{"type":22,"value":368},") audio kodekas (",{"type":17,"tag":37,"props":370,"children":371},{},[372],{"type":22,"value":373},"angl. codec",{"type":22,"value":202},{"type":17,"tag":170,"props":376,"children":377},{},[378,386],{"type":17,"tag":64,"props":379,"children":380},{"className":66,"language":22,"style":67},[381],{"type":17,"tag":70,"props":382,"children":383},{},[384],{"type":22,"value":385},".mp4",{"type":22,"value":387},": MPEG-4 Part 14 (vienas iš populiaresnių failų formatų video medžiagai);",{"type":17,"tag":170,"props":389,"children":390},{},[391,399],{"type":17,"tag":64,"props":392,"children":393},{"className":66,"language":22,"style":67},[394],{"type":17,"tag":70,"props":395,"children":396},{},[397],{"type":22,"value":398},".webm",{"type":22,"value":400},": Atviras video duomenų formatas žiniatinkliui;",{"type":17,"tag":170,"props":402,"children":403},{},[404,412],{"type":17,"tag":64,"props":405,"children":406},{"className":66,"language":22,"style":67},[407],{"type":17,"tag":70,"props":408,"children":409},{},[410],{"type":22,"value":411},".mkv",{"type":22,"value":413},": Matroska Video (palaiko kelis garso ir subtitrų takelius);",{"type":17,"tag":18,"props":415,"children":416},{},[417],{"type":22,"value":418},"Kita:",{"type":17,"tag":166,"props":420,"children":421},{},[422,435,446,457,468],{"type":17,"tag":170,"props":423,"children":424},{},[425,433],{"type":17,"tag":64,"props":426,"children":427},{"className":66,"language":22,"style":67},[428],{"type":17,"tag":70,"props":429,"children":430},{},[431],{"type":22,"value":432},".xls/.xlsx",{"type":22,"value":434},": Microsoft Excel skaičiuoklės failas;",{"type":17,"tag":170,"props":436,"children":437},{},[438,444],{"type":17,"tag":64,"props":439,"children":441},{"className":440},[],[442],{"type":22,"value":443},".zip",{"type":22,"value":445},": Glaudintas archyvinis failas;",{"type":17,"tag":170,"props":447,"children":448},{},[449,455],{"type":17,"tag":64,"props":450,"children":452},{"className":451},[],[453],{"type":22,"value":454},".html",{"type":22,"value":456},": HyperText Markup Language (Žymėjimo kalbos, naudojamo saitymo elementų atvaizdavimui, failas);",{"type":17,"tag":170,"props":458,"children":459},{},[460,466],{"type":17,"tag":64,"props":461,"children":463},{"className":462},[],[464],{"type":22,"value":465},".css",{"type":22,"value":467},": Cascading Style Sheets file (pakopinių stilių šablonų failas);",{"type":17,"tag":170,"props":469,"children":470},{},[471,477],{"type":17,"tag":64,"props":472,"children":474},{"className":473},[],[475],{"type":22,"value":476},".rar",{"type":22,"value":478},": RAR archyvinis failas;",{"type":17,"tag":18,"props":480,"children":481},{},[482],{"type":22,"value":483},"Kiekvieno failo specifika skiriasi, tai išsiaiškinama, kada jie naudojami tiksliau ir kuo jie ypatingi, paliksime padaryti savarankiškai.",{"type":17,"tag":45,"props":485,"children":487},{"id":486},"formatas",[488],{"type":22,"value":489},"Formatas",{"type":17,"tag":18,"props":491,"children":492},{},[493],{"type":22,"value":494},"Failo formatas nurodo, kaip duomenys faile yra užkoduoti ir struktūrizuoti. Šis užkodavimas ir strūktura nulemia tai, kaip duomenys yra saugomi, perskaitomi ir apdorojami programų.",{"type":17,"tag":18,"props":496,"children":497},{},[498],{"type":22,"value":499},"Toliau aptariami ir visi kiti formatai, dažniausiai, nėra priklausomi nuo programavimo kalbos ir naudojami įvairiose technologijose.",{"type":17,"tag":45,"props":501,"children":503},{"id":502},"csv",[504],{"type":22,"value":41},{"type":17,"tag":18,"props":506,"children":507},{},[508,510,534],{"type":22,"value":509},"CSV formatas išsišifruoja į ",{"type":17,"tag":37,"props":511,"children":512},{},[513,518,520,525,527,532],{"type":17,"tag":78,"props":514,"children":515},{},[516],{"type":22,"value":517},"c",{"type":22,"value":519},"omma-",{"type":17,"tag":78,"props":521,"children":522},{},[523],{"type":22,"value":524},"s",{"type":22,"value":526},"eparated ",{"type":17,"tag":78,"props":528,"children":529},{},[530],{"type":22,"value":531},"v",{"type":22,"value":533},"alues",{"type":22,"value":535}," - kableliais atskirtos reikšmės. Pačiame pavadinime ir užkoduotas šio formato principas.",{"type":17,"tag":18,"props":537,"children":538},{},[539,541,548],{"type":22,"value":540},"Tokio formato duomenis patogu atvaizduoti lentele. Tarkime turime tris mokinius, kurių duomenis atvaizduosime ",{"type":17,"tag":64,"props":542,"children":543},{"className":66,"language":22,"style":67},[544],{"type":17,"tag":70,"props":545,"children":546},{},[547],{"type":22,"value":502},{"type":22,"value":549}," formate. Pirmiausiai į juos pasižiūrėkime lentelėje:",{"type":17,"tag":551,"props":552,"children":553},"table",{},[554,583],{"type":17,"tag":555,"props":556,"children":557},"thead",{},[558],{"type":17,"tag":559,"props":560,"children":561},"tr",{},[562,568,573,578],{"type":17,"tag":563,"props":564,"children":565},"th",{},[566],{"type":22,"value":567},"Vardas",{"type":17,"tag":563,"props":569,"children":570},{},[571],{"type":22,"value":572},"Gimimo metai",{"type":17,"tag":563,"props":574,"children":575},{},[576],{"type":22,"value":577},"Vidurkis",{"type":17,"tag":563,"props":579,"children":580},{},[581],{"type":22,"value":582},"Klasė",{"type":17,"tag":584,"props":585,"children":586},"tbody",{},[587,611,634],{"type":17,"tag":559,"props":588,"children":589},{},[590,596,601,606],{"type":17,"tag":591,"props":592,"children":593},"td",{},[594],{"type":22,"value":595},"Vilius",{"type":17,"tag":591,"props":597,"children":598},{},[599],{"type":22,"value":600},"2002-15-10",{"type":17,"tag":591,"props":602,"children":603},{},[604],{"type":22,"value":605},"5.7",{"type":17,"tag":591,"props":607,"children":608},{},[609],{"type":22,"value":610},"11c",{"type":17,"tag":559,"props":612,"children":613},{},[614,619,624,629],{"type":17,"tag":591,"props":615,"children":616},{},[617],{"type":22,"value":618},"Vilija",{"type":17,"tag":591,"props":620,"children":621},{},[622],{"type":22,"value":623},"2009-07-11",{"type":17,"tag":591,"props":625,"children":626},{},[627],{"type":22,"value":628},"9.5",{"type":17,"tag":591,"props":630,"children":631},{},[632],{"type":22,"value":633},"4a",{"type":17,"tag":559,"props":635,"children":636},{},[637,642,647,652],{"type":17,"tag":591,"props":638,"children":639},{},[640],{"type":22,"value":641},"Vilhelmas",{"type":17,"tag":591,"props":643,"children":644},{},[645],{"type":22,"value":646},"2007-09-08",{"type":17,"tag":591,"props":648,"children":649},{},[650],{"type":22,"value":651},"6.6",{"type":17,"tag":591,"props":653,"children":654},{},[655],{"type":22,"value":656},"9a",{"type":17,"tag":18,"props":658,"children":659},{},[660],{"type":22,"value":661},"Tai šias reikšmes galima atvaizduoti atskirtas kabeliu:",{"type":17,"tag":115,"props":663,"children":666},{"className":664,"code":665,"language":502,"meta":67,"style":67},"language-csv shiki shiki-themes catppuccin-latte material-theme-darker","Vardas,Gimimo metai,Vidurkis,Klasė\nVilius,2002-15-10,5.7,11c\nVilija,2009-07-11,9.5,4a\nVilhelmas,2007-09-08,6.6,9a\n",[667],{"type":17,"tag":64,"props":668,"children":669},{"__ignoreMap":67},[670,697,721,745],{"type":17,"tag":70,"props":671,"children":672},{"class":124,"line":125},[673,679,685,691],{"type":17,"tag":70,"props":674,"children":676},{"style":675},"--shiki-default:#4C4F69;--shiki-dark:#EEFFFF",[677],{"type":22,"value":678},"Vardas,",{"type":17,"tag":70,"props":680,"children":682},{"style":681},"--shiki-default:#8839EF;--shiki-dark:#89DDFF",[683],{"type":22,"value":684},"Gimimo metai,",{"type":17,"tag":70,"props":686,"children":688},{"style":687},"--shiki-default:#1E66F5;--shiki-dark:#82AAFF;--shiki-default-font-style:italic;--shiki-dark-font-style:inherit",[689],{"type":22,"value":690},"Vidurkis,",{"type":17,"tag":70,"props":692,"children":694},{"style":693},"--shiki-default:#9CA0B0;--shiki-dark:#545454;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[695],{"type":22,"value":696},"Klasė\n",{"type":17,"tag":70,"props":698,"children":700},{"class":124,"line":699},2,[701,706,711,716],{"type":17,"tag":70,"props":702,"children":703},{"style":675},[704],{"type":22,"value":705},"Vilius,",{"type":17,"tag":70,"props":707,"children":708},{"style":681},[709],{"type":22,"value":710},"2002-15-10,",{"type":17,"tag":70,"props":712,"children":713},{"style":687},[714],{"type":22,"value":715},"5.7,",{"type":17,"tag":70,"props":717,"children":718},{"style":693},[719],{"type":22,"value":720},"11c\n",{"type":17,"tag":70,"props":722,"children":724},{"class":124,"line":723},3,[725,730,735,740],{"type":17,"tag":70,"props":726,"children":727},{"style":675},[728],{"type":22,"value":729},"Vilija,",{"type":17,"tag":70,"props":731,"children":732},{"style":681},[733],{"type":22,"value":734},"2009-07-11,",{"type":17,"tag":70,"props":736,"children":737},{"style":687},[738],{"type":22,"value":739},"9.5,",{"type":17,"tag":70,"props":741,"children":742},{"style":693},[743],{"type":22,"value":744},"4a\n",{"type":17,"tag":70,"props":746,"children":748},{"class":124,"line":747},4,[749,754,759,764],{"type":17,"tag":70,"props":750,"children":751},{"style":675},[752],{"type":22,"value":753},"Vilhelmas,",{"type":17,"tag":70,"props":755,"children":756},{"style":681},[757],{"type":22,"value":758},"2007-09-08,",{"type":17,"tag":70,"props":760,"children":761},{"style":687},[762],{"type":22,"value":763},"6.6,",{"type":17,"tag":70,"props":765,"children":766},{"style":693},[767],{"type":22,"value":768},"9a\n",{"type":17,"tag":18,"props":770,"children":771},{},[772,774,779],{"type":22,"value":773},"Pirmojoje eilutėje kartais galima surasti antraštę - joje aprašyta tai, ką galima rasti stulpeliuose, bet ji nėra būtina. Visos reikšmės yra atskirtos kableliais. Kartais tokio formato failuose prireikia panaudoti kablelį reikšmėje, todėl gali būti panaudoti kiti skyrikliai, pavyzdžiui kabliataškis, ",{"type":17,"tag":775,"props":776,"children":778},"keyboard-keys",{":keys":777},"[\"TAB\"]",[],{"type":22,"value":780}," tarpas arba reikšmės gali būti kabutėse:",{"type":17,"tag":115,"props":782,"children":784},{"className":664,"code":783,"language":502,"meta":67,"style":67},"Minna;Amor;\"oL2(qa>\"\".\"\"\";100.153.143.133\nMidge;Sainthill;nM5#{nQWB3I|BH;74.204.156.127\nAlexio;Velden;eW2*&@wtS;54.231.124.180\nCatharine;Fazzioli;xT4&_cfN;190.42.255.251\n",[785],{"type":17,"tag":64,"props":786,"children":787},{"__ignoreMap":67},[788,796,804,812],{"type":17,"tag":70,"props":789,"children":790},{"class":124,"line":125},[791],{"type":17,"tag":70,"props":792,"children":793},{"style":675},[794],{"type":22,"value":795},"Minna;Amor;\"oL2(qa>\"\".\"\"\";100.153.143.133\n",{"type":17,"tag":70,"props":797,"children":798},{"class":124,"line":699},[799],{"type":17,"tag":70,"props":800,"children":801},{"style":675},[802],{"type":22,"value":803},"Midge;Sainthill;nM5#{nQWB3I|BH;74.204.156.127\n",{"type":17,"tag":70,"props":805,"children":806},{"class":124,"line":723},[807],{"type":17,"tag":70,"props":808,"children":809},{"style":675},[810],{"type":22,"value":811},"Alexio;Velden;eW2*&@wtS;54.231.124.180\n",{"type":17,"tag":70,"props":813,"children":814},{"class":124,"line":747},[815],{"type":17,"tag":70,"props":816,"children":817},{"style":675},[818],{"type":22,"value":819},"Catharine;Fazzioli;xT4&_cfN;190.42.255.251\n",{"type":17,"tag":115,"props":821,"children":823},{"className":664,"code":822,"language":502,"meta":67,"style":67},"first_name,last_name,email,balance\nTommie,Erangey,terangey0@surveymonkey.com,\"€3,99\"\nGustav,Glauber,gglauber1@mtv.com,\"€8,90\"\nPrisca,Jerrold,pjerrold2@yahoo.com,\"€7,14\"\n",[824],{"type":17,"tag":64,"props":825,"children":826},{"__ignoreMap":67},[827,850,873,896],{"type":17,"tag":70,"props":828,"children":829},{"class":124,"line":125},[830,835,840,845],{"type":17,"tag":70,"props":831,"children":832},{"style":675},[833],{"type":22,"value":834},"first_name,",{"type":17,"tag":70,"props":836,"children":837},{"style":681},[838],{"type":22,"value":839},"last_name,",{"type":17,"tag":70,"props":841,"children":842},{"style":687},[843],{"type":22,"value":844},"email,",{"type":17,"tag":70,"props":846,"children":847},{"style":693},[848],{"type":22,"value":849},"balance\n",{"type":17,"tag":70,"props":851,"children":852},{"class":124,"line":699},[853,858,863,868],{"type":17,"tag":70,"props":854,"children":855},{"style":675},[856],{"type":22,"value":857},"Tommie,",{"type":17,"tag":70,"props":859,"children":860},{"style":681},[861],{"type":22,"value":862},"Erangey,",{"type":17,"tag":70,"props":864,"children":865},{"style":687},[866],{"type":22,"value":867},"terangey0@surveymonkey.com,",{"type":17,"tag":70,"props":869,"children":870},{"style":693},[871],{"type":22,"value":872},"\"€3,99\"\n",{"type":17,"tag":70,"props":874,"children":875},{"class":124,"line":723},[876,881,886,891],{"type":17,"tag":70,"props":877,"children":878},{"style":675},[879],{"type":22,"value":880},"Gustav,",{"type":17,"tag":70,"props":882,"children":883},{"style":681},[884],{"type":22,"value":885},"Glauber,",{"type":17,"tag":70,"props":887,"children":888},{"style":687},[889],{"type":22,"value":890},"gglauber1@mtv.com,",{"type":17,"tag":70,"props":892,"children":893},{"style":693},[894],{"type":22,"value":895},"\"€8,90\"\n",{"type":17,"tag":70,"props":897,"children":898},{"class":124,"line":747},[899,904,909,914],{"type":17,"tag":70,"props":900,"children":901},{"style":675},[902],{"type":22,"value":903},"Prisca,",{"type":17,"tag":70,"props":905,"children":906},{"style":681},[907],{"type":22,"value":908},"Jerrold,",{"type":17,"tag":70,"props":910,"children":911},{"style":687},[912],{"type":22,"value":913},"pjerrold2@yahoo.com,",{"type":17,"tag":70,"props":915,"children":916},{"style":693},[917],{"type":22,"value":918},"\"€7,14\"\n",{"type":17,"tag":45,"props":920,"children":922},{"id":921},"json",[923],{"type":22,"value":924},"JSON",{"type":17,"tag":18,"props":926,"children":927},{},[928,930,940,942,961],{"type":22,"value":929},"JSON (",{"type":17,"tag":37,"props":931,"children":932},{},[933,938],{"type":17,"tag":78,"props":934,"children":935},{},[936],{"type":22,"value":937},"J",{"type":22,"value":939},"ava",{"type":22,"value":941},"S",{"type":17,"tag":37,"props":943,"children":944},{},[945,947,952,954,959],{"type":22,"value":946},"cript ",{"type":17,"tag":78,"props":948,"children":949},{},[950],{"type":22,"value":951},"O",{"type":22,"value":953},"bject ",{"type":17,"tag":78,"props":955,"children":956},{},[957],{"type":22,"value":958},"N",{"type":22,"value":960},"otation",{"type":22,"value":962},") - struktūrizuotų duomenų formatas, dažniausiai naudojamas duomenų apsikeitimui tarp serverio ir naršyklės.",{"type":17,"tag":18,"props":964,"children":965},{},[966,968,972],{"type":22,"value":967},"Dažniausiai internete, ten, kur keičiasi duomenys, jie į naršyklę atkeliaujau ",{"type":17,"tag":37,"props":969,"children":970},{},[971],{"type":22,"value":924},{"type":22,"value":973}," formatu. Pavyzdžius, prisijungus prie paskyros tinklalapyje, puslapis gali gauti panašius duomenis į šiuos apie jūsų paskyrą:",{"type":17,"tag":115,"props":975,"children":978},{"className":976,"code":977,"language":921,"meta":67,"style":67},"language-json shiki shiki-themes catppuccin-latte material-theme-darker","{\n  \"account\": {\n    \"id\": \"123456\",\n    \"username\": \"john_doe\",\n    \"email\": \"john.doe@example.com\",\n    \"created_at\": \"2023-01-15T10:00:00Z\",\n    \"status\": \"active\",\n    \"profile\": {\n      \"first_name\": \"John\",\n      \"last_name\": \"Doe\",\n      \"bio\": \"Software developer and tech enthusiast.\",\n      \"profile_picture\": \"https://example.com/images/john_doe.jpg\"\n    },\n    \"settings\": {\n      \"language\": \"en\",\n      \"notifications\": {\n        \"email\": true,\n        \"sms\": false\n      }\n    },\n    \"transactions\": [\n      {\n        \"transaction_id\": \"tx123\",\n        \"amount\": 150.00,\n        \"date\": \"2023-09-01T12:30:00Z\",\n        \"type\": \"deposit\"\n      },\n      {\n        \"transaction_id\": \"tx124\",\n        \"amount\": -50.00,\n        \"date\": \"2023-09-10T15:45:00Z\",\n        \"type\": \"withdrawal\"\n      }\n    ]\n  }\n}\n",[979],{"type":17,"tag":64,"props":980,"children":981},{"__ignoreMap":67},[982,991,1019,1062,1099,1137,1175,1213,1238,1278,1316,1354,1389,1398,1423,1461,1486,1518,1544,1553,1561,1587,1596,1634,1665,1703,1737,1746,1754,1791,1820,1857,1890,1898,1907,1916],{"type":17,"tag":70,"props":983,"children":984},{"class":124,"line":125},[985],{"type":17,"tag":70,"props":986,"children":988},{"style":987},"--shiki-default:#7C7F93;--shiki-dark:#89DDFF",[989],{"type":22,"value":990},"{\n",{"type":17,"tag":70,"props":992,"children":993},{"class":124,"line":699},[994,999,1005,1010,1014],{"type":17,"tag":70,"props":995,"children":996},{"style":987},[997],{"type":22,"value":998},"  \"",{"type":17,"tag":70,"props":1000,"children":1002},{"style":1001},"--shiki-default:#1E66F5;--shiki-dark:#C792EA",[1003],{"type":22,"value":1004},"account",{"type":17,"tag":70,"props":1006,"children":1007},{"style":987},[1008],{"type":22,"value":1009},"\"",{"type":17,"tag":70,"props":1011,"children":1012},{"style":987},[1013],{"type":22,"value":113},{"type":17,"tag":70,"props":1015,"children":1016},{"style":987},[1017],{"type":22,"value":1018}," {\n",{"type":17,"tag":70,"props":1020,"children":1021},{"class":124,"line":723},[1022,1027,1033,1037,1041,1047,1053,1057],{"type":17,"tag":70,"props":1023,"children":1024},{"style":987},[1025],{"type":22,"value":1026},"    \"",{"type":17,"tag":70,"props":1028,"children":1030},{"style":1029},"--shiki-default:#1E66F5;--shiki-dark:#FFCB6B",[1031],{"type":22,"value":1032},"id",{"type":17,"tag":70,"props":1034,"children":1035},{"style":987},[1036],{"type":22,"value":1009},{"type":17,"tag":70,"props":1038,"children":1039},{"style":987},[1040],{"type":22,"value":113},{"type":17,"tag":70,"props":1042,"children":1044},{"style":1043},"--shiki-default:#40A02B;--shiki-dark:#89DDFF",[1045],{"type":22,"value":1046}," \"",{"type":17,"tag":70,"props":1048,"children":1050},{"style":1049},"--shiki-default:#40A02B;--shiki-dark:#C3E88D",[1051],{"type":22,"value":1052},"123456",{"type":17,"tag":70,"props":1054,"children":1055},{"style":1043},[1056],{"type":22,"value":1009},{"type":17,"tag":70,"props":1058,"children":1059},{"style":987},[1060],{"type":22,"value":1061},",\n",{"type":17,"tag":70,"props":1063,"children":1064},{"class":124,"line":747},[1065,1069,1074,1078,1082,1086,1091,1095],{"type":17,"tag":70,"props":1066,"children":1067},{"style":987},[1068],{"type":22,"value":1026},{"type":17,"tag":70,"props":1070,"children":1071},{"style":1029},[1072],{"type":22,"value":1073},"username",{"type":17,"tag":70,"props":1075,"children":1076},{"style":987},[1077],{"type":22,"value":1009},{"type":17,"tag":70,"props":1079,"children":1080},{"style":987},[1081],{"type":22,"value":113},{"type":17,"tag":70,"props":1083,"children":1084},{"style":1043},[1085],{"type":22,"value":1046},{"type":17,"tag":70,"props":1087,"children":1088},{"style":1049},[1089],{"type":22,"value":1090},"john_doe",{"type":17,"tag":70,"props":1092,"children":1093},{"style":1043},[1094],{"type":22,"value":1009},{"type":17,"tag":70,"props":1096,"children":1097},{"style":987},[1098],{"type":22,"value":1061},{"type":17,"tag":70,"props":1100,"children":1102},{"class":124,"line":1101},5,[1103,1107,1112,1116,1120,1124,1129,1133],{"type":17,"tag":70,"props":1104,"children":1105},{"style":987},[1106],{"type":22,"value":1026},{"type":17,"tag":70,"props":1108,"children":1109},{"style":1029},[1110],{"type":22,"value":1111},"email",{"type":17,"tag":70,"props":1113,"children":1114},{"style":987},[1115],{"type":22,"value":1009},{"type":17,"tag":70,"props":1117,"children":1118},{"style":987},[1119],{"type":22,"value":113},{"type":17,"tag":70,"props":1121,"children":1122},{"style":1043},[1123],{"type":22,"value":1046},{"type":17,"tag":70,"props":1125,"children":1126},{"style":1049},[1127],{"type":22,"value":1128},"john.doe@example.com",{"type":17,"tag":70,"props":1130,"children":1131},{"style":1043},[1132],{"type":22,"value":1009},{"type":17,"tag":70,"props":1134,"children":1135},{"style":987},[1136],{"type":22,"value":1061},{"type":17,"tag":70,"props":1138,"children":1140},{"class":124,"line":1139},6,[1141,1145,1150,1154,1158,1162,1167,1171],{"type":17,"tag":70,"props":1142,"children":1143},{"style":987},[1144],{"type":22,"value":1026},{"type":17,"tag":70,"props":1146,"children":1147},{"style":1029},[1148],{"type":22,"value":1149},"created_at",{"type":17,"tag":70,"props":1151,"children":1152},{"style":987},[1153],{"type":22,"value":1009},{"type":17,"tag":70,"props":1155,"children":1156},{"style":987},[1157],{"type":22,"value":113},{"type":17,"tag":70,"props":1159,"children":1160},{"style":1043},[1161],{"type":22,"value":1046},{"type":17,"tag":70,"props":1163,"children":1164},{"style":1049},[1165],{"type":22,"value":1166},"2023-01-15T10:00:00Z",{"type":17,"tag":70,"props":1168,"children":1169},{"style":1043},[1170],{"type":22,"value":1009},{"type":17,"tag":70,"props":1172,"children":1173},{"style":987},[1174],{"type":22,"value":1061},{"type":17,"tag":70,"props":1176,"children":1178},{"class":124,"line":1177},7,[1179,1183,1188,1192,1196,1200,1205,1209],{"type":17,"tag":70,"props":1180,"children":1181},{"style":987},[1182],{"type":22,"value":1026},{"type":17,"tag":70,"props":1184,"children":1185},{"style":1029},[1186],{"type":22,"value":1187},"status",{"type":17,"tag":70,"props":1189,"children":1190},{"style":987},[1191],{"type":22,"value":1009},{"type":17,"tag":70,"props":1193,"children":1194},{"style":987},[1195],{"type":22,"value":113},{"type":17,"tag":70,"props":1197,"children":1198},{"style":1043},[1199],{"type":22,"value":1046},{"type":17,"tag":70,"props":1201,"children":1202},{"style":1049},[1203],{"type":22,"value":1204},"active",{"type":17,"tag":70,"props":1206,"children":1207},{"style":1043},[1208],{"type":22,"value":1009},{"type":17,"tag":70,"props":1210,"children":1211},{"style":987},[1212],{"type":22,"value":1061},{"type":17,"tag":70,"props":1214,"children":1216},{"class":124,"line":1215},8,[1217,1221,1226,1230,1234],{"type":17,"tag":70,"props":1218,"children":1219},{"style":987},[1220],{"type":22,"value":1026},{"type":17,"tag":70,"props":1222,"children":1223},{"style":1029},[1224],{"type":22,"value":1225},"profile",{"type":17,"tag":70,"props":1227,"children":1228},{"style":987},[1229],{"type":22,"value":1009},{"type":17,"tag":70,"props":1231,"children":1232},{"style":987},[1233],{"type":22,"value":113},{"type":17,"tag":70,"props":1235,"children":1236},{"style":987},[1237],{"type":22,"value":1018},{"type":17,"tag":70,"props":1239,"children":1241},{"class":124,"line":1240},9,[1242,1247,1253,1257,1261,1265,1270,1274],{"type":17,"tag":70,"props":1243,"children":1244},{"style":987},[1245],{"type":22,"value":1246},"      \"",{"type":17,"tag":70,"props":1248,"children":1250},{"style":1249},"--shiki-default:#1E66F5;--shiki-dark:#F78C6C",[1251],{"type":22,"value":1252},"first_name",{"type":17,"tag":70,"props":1254,"children":1255},{"style":987},[1256],{"type":22,"value":1009},{"type":17,"tag":70,"props":1258,"children":1259},{"style":987},[1260],{"type":22,"value":113},{"type":17,"tag":70,"props":1262,"children":1263},{"style":1043},[1264],{"type":22,"value":1046},{"type":17,"tag":70,"props":1266,"children":1267},{"style":1049},[1268],{"type":22,"value":1269},"John",{"type":17,"tag":70,"props":1271,"children":1272},{"style":1043},[1273],{"type":22,"value":1009},{"type":17,"tag":70,"props":1275,"children":1276},{"style":987},[1277],{"type":22,"value":1061},{"type":17,"tag":70,"props":1279,"children":1281},{"class":124,"line":1280},10,[1282,1286,1291,1295,1299,1303,1308,1312],{"type":17,"tag":70,"props":1283,"children":1284},{"style":987},[1285],{"type":22,"value":1246},{"type":17,"tag":70,"props":1287,"children":1288},{"style":1249},[1289],{"type":22,"value":1290},"last_name",{"type":17,"tag":70,"props":1292,"children":1293},{"style":987},[1294],{"type":22,"value":1009},{"type":17,"tag":70,"props":1296,"children":1297},{"style":987},[1298],{"type":22,"value":113},{"type":17,"tag":70,"props":1300,"children":1301},{"style":1043},[1302],{"type":22,"value":1046},{"type":17,"tag":70,"props":1304,"children":1305},{"style":1049},[1306],{"type":22,"value":1307},"Doe",{"type":17,"tag":70,"props":1309,"children":1310},{"style":1043},[1311],{"type":22,"value":1009},{"type":17,"tag":70,"props":1313,"children":1314},{"style":987},[1315],{"type":22,"value":1061},{"type":17,"tag":70,"props":1317,"children":1319},{"class":124,"line":1318},11,[1320,1324,1329,1333,1337,1341,1346,1350],{"type":17,"tag":70,"props":1321,"children":1322},{"style":987},[1323],{"type":22,"value":1246},{"type":17,"tag":70,"props":1325,"children":1326},{"style":1249},[1327],{"type":22,"value":1328},"bio",{"type":17,"tag":70,"props":1330,"children":1331},{"style":987},[1332],{"type":22,"value":1009},{"type":17,"tag":70,"props":1334,"children":1335},{"style":987},[1336],{"type":22,"value":113},{"type":17,"tag":70,"props":1338,"children":1339},{"style":1043},[1340],{"type":22,"value":1046},{"type":17,"tag":70,"props":1342,"children":1343},{"style":1049},[1344],{"type":22,"value":1345},"Software developer and tech enthusiast.",{"type":17,"tag":70,"props":1347,"children":1348},{"style":1043},[1349],{"type":22,"value":1009},{"type":17,"tag":70,"props":1351,"children":1352},{"style":987},[1353],{"type":22,"value":1061},{"type":17,"tag":70,"props":1355,"children":1357},{"class":124,"line":1356},12,[1358,1362,1367,1371,1375,1379,1384],{"type":17,"tag":70,"props":1359,"children":1360},{"style":987},[1361],{"type":22,"value":1246},{"type":17,"tag":70,"props":1363,"children":1364},{"style":1249},[1365],{"type":22,"value":1366},"profile_picture",{"type":17,"tag":70,"props":1368,"children":1369},{"style":987},[1370],{"type":22,"value":1009},{"type":17,"tag":70,"props":1372,"children":1373},{"style":987},[1374],{"type":22,"value":113},{"type":17,"tag":70,"props":1376,"children":1377},{"style":1043},[1378],{"type":22,"value":1046},{"type":17,"tag":70,"props":1380,"children":1381},{"style":1049},[1382],{"type":22,"value":1383},"https://example.com/images/john_doe.jpg",{"type":17,"tag":70,"props":1385,"children":1386},{"style":1043},[1387],{"type":22,"value":1388},"\"\n",{"type":17,"tag":70,"props":1390,"children":1392},{"class":124,"line":1391},13,[1393],{"type":17,"tag":70,"props":1394,"children":1395},{"style":987},[1396],{"type":22,"value":1397},"    },\n",{"type":17,"tag":70,"props":1399,"children":1401},{"class":124,"line":1400},14,[1402,1406,1411,1415,1419],{"type":17,"tag":70,"props":1403,"children":1404},{"style":987},[1405],{"type":22,"value":1026},{"type":17,"tag":70,"props":1407,"children":1408},{"style":1029},[1409],{"type":22,"value":1410},"settings",{"type":17,"tag":70,"props":1412,"children":1413},{"style":987},[1414],{"type":22,"value":1009},{"type":17,"tag":70,"props":1416,"children":1417},{"style":987},[1418],{"type":22,"value":113},{"type":17,"tag":70,"props":1420,"children":1421},{"style":987},[1422],{"type":22,"value":1018},{"type":17,"tag":70,"props":1424,"children":1426},{"class":124,"line":1425},15,[1427,1431,1436,1440,1444,1448,1453,1457],{"type":17,"tag":70,"props":1428,"children":1429},{"style":987},[1430],{"type":22,"value":1246},{"type":17,"tag":70,"props":1432,"children":1433},{"style":1249},[1434],{"type":22,"value":1435},"language",{"type":17,"tag":70,"props":1437,"children":1438},{"style":987},[1439],{"type":22,"value":1009},{"type":17,"tag":70,"props":1441,"children":1442},{"style":987},[1443],{"type":22,"value":113},{"type":17,"tag":70,"props":1445,"children":1446},{"style":1043},[1447],{"type":22,"value":1046},{"type":17,"tag":70,"props":1449,"children":1450},{"style":1049},[1451],{"type":22,"value":1452},"en",{"type":17,"tag":70,"props":1454,"children":1455},{"style":1043},[1456],{"type":22,"value":1009},{"type":17,"tag":70,"props":1458,"children":1459},{"style":987},[1460],{"type":22,"value":1061},{"type":17,"tag":70,"props":1462,"children":1464},{"class":124,"line":1463},16,[1465,1469,1474,1478,1482],{"type":17,"tag":70,"props":1466,"children":1467},{"style":987},[1468],{"type":22,"value":1246},{"type":17,"tag":70,"props":1470,"children":1471},{"style":1249},[1472],{"type":22,"value":1473},"notifications",{"type":17,"tag":70,"props":1475,"children":1476},{"style":987},[1477],{"type":22,"value":1009},{"type":17,"tag":70,"props":1479,"children":1480},{"style":987},[1481],{"type":22,"value":113},{"type":17,"tag":70,"props":1483,"children":1484},{"style":987},[1485],{"type":22,"value":1018},{"type":17,"tag":70,"props":1487,"children":1489},{"class":124,"line":1488},17,[1490,1495,1500,1504,1508,1514],{"type":17,"tag":70,"props":1491,"children":1492},{"style":987},[1493],{"type":22,"value":1494},"        \"",{"type":17,"tag":70,"props":1496,"children":1498},{"style":1497},"--shiki-default:#1E66F5;--shiki-dark:#F07178",[1499],{"type":22,"value":1111},{"type":17,"tag":70,"props":1501,"children":1502},{"style":987},[1503],{"type":22,"value":1009},{"type":17,"tag":70,"props":1505,"children":1506},{"style":987},[1507],{"type":22,"value":113},{"type":17,"tag":70,"props":1509,"children":1511},{"style":1510},"--shiki-default:#FE640B;--shiki-dark:#89DDFF",[1512],{"type":22,"value":1513}," true",{"type":17,"tag":70,"props":1515,"children":1516},{"style":987},[1517],{"type":22,"value":1061},{"type":17,"tag":70,"props":1519,"children":1521},{"class":124,"line":1520},18,[1522,1526,1531,1535,1539],{"type":17,"tag":70,"props":1523,"children":1524},{"style":987},[1525],{"type":22,"value":1494},{"type":17,"tag":70,"props":1527,"children":1528},{"style":1497},[1529],{"type":22,"value":1530},"sms",{"type":17,"tag":70,"props":1532,"children":1533},{"style":987},[1534],{"type":22,"value":1009},{"type":17,"tag":70,"props":1536,"children":1537},{"style":987},[1538],{"type":22,"value":113},{"type":17,"tag":70,"props":1540,"children":1541},{"style":1510},[1542],{"type":22,"value":1543}," false\n",{"type":17,"tag":70,"props":1545,"children":1547},{"class":124,"line":1546},19,[1548],{"type":17,"tag":70,"props":1549,"children":1550},{"style":987},[1551],{"type":22,"value":1552},"      }\n",{"type":17,"tag":70,"props":1554,"children":1556},{"class":124,"line":1555},20,[1557],{"type":17,"tag":70,"props":1558,"children":1559},{"style":987},[1560],{"type":22,"value":1397},{"type":17,"tag":70,"props":1562,"children":1564},{"class":124,"line":1563},21,[1565,1569,1574,1578,1582],{"type":17,"tag":70,"props":1566,"children":1567},{"style":987},[1568],{"type":22,"value":1026},{"type":17,"tag":70,"props":1570,"children":1571},{"style":1029},[1572],{"type":22,"value":1573},"transactions",{"type":17,"tag":70,"props":1575,"children":1576},{"style":987},[1577],{"type":22,"value":1009},{"type":17,"tag":70,"props":1579,"children":1580},{"style":987},[1581],{"type":22,"value":113},{"type":17,"tag":70,"props":1583,"children":1584},{"style":987},[1585],{"type":22,"value":1586}," [\n",{"type":17,"tag":70,"props":1588,"children":1590},{"class":124,"line":1589},22,[1591],{"type":17,"tag":70,"props":1592,"children":1593},{"style":987},[1594],{"type":22,"value":1595},"      {\n",{"type":17,"tag":70,"props":1597,"children":1599},{"class":124,"line":1598},23,[1600,1604,1609,1613,1617,1621,1626,1630],{"type":17,"tag":70,"props":1601,"children":1602},{"style":987},[1603],{"type":22,"value":1494},{"type":17,"tag":70,"props":1605,"children":1606},{"style":1249},[1607],{"type":22,"value":1608},"transaction_id",{"type":17,"tag":70,"props":1610,"children":1611},{"style":987},[1612],{"type":22,"value":1009},{"type":17,"tag":70,"props":1614,"children":1615},{"style":987},[1616],{"type":22,"value":113},{"type":17,"tag":70,"props":1618,"children":1619},{"style":1043},[1620],{"type":22,"value":1046},{"type":17,"tag":70,"props":1622,"children":1623},{"style":1049},[1624],{"type":22,"value":1625},"tx123",{"type":17,"tag":70,"props":1627,"children":1628},{"style":1043},[1629],{"type":22,"value":1009},{"type":17,"tag":70,"props":1631,"children":1632},{"style":987},[1633],{"type":22,"value":1061},{"type":17,"tag":70,"props":1635,"children":1637},{"class":124,"line":1636},24,[1638,1642,1647,1651,1655,1661],{"type":17,"tag":70,"props":1639,"children":1640},{"style":987},[1641],{"type":22,"value":1494},{"type":17,"tag":70,"props":1643,"children":1644},{"style":1249},[1645],{"type":22,"value":1646},"amount",{"type":17,"tag":70,"props":1648,"children":1649},{"style":987},[1650],{"type":22,"value":1009},{"type":17,"tag":70,"props":1652,"children":1653},{"style":987},[1654],{"type":22,"value":113},{"type":17,"tag":70,"props":1656,"children":1658},{"style":1657},"--shiki-default:#FE640B;--shiki-dark:#F78C6C",[1659],{"type":22,"value":1660}," 150.00",{"type":17,"tag":70,"props":1662,"children":1663},{"style":987},[1664],{"type":22,"value":1061},{"type":17,"tag":70,"props":1666,"children":1668},{"class":124,"line":1667},25,[1669,1673,1678,1682,1686,1690,1695,1699],{"type":17,"tag":70,"props":1670,"children":1671},{"style":987},[1672],{"type":22,"value":1494},{"type":17,"tag":70,"props":1674,"children":1675},{"style":1249},[1676],{"type":22,"value":1677},"date",{"type":17,"tag":70,"props":1679,"children":1680},{"style":987},[1681],{"type":22,"value":1009},{"type":17,"tag":70,"props":1683,"children":1684},{"style":987},[1685],{"type":22,"value":113},{"type":17,"tag":70,"props":1687,"children":1688},{"style":1043},[1689],{"type":22,"value":1046},{"type":17,"tag":70,"props":1691,"children":1692},{"style":1049},[1693],{"type":22,"value":1694},"2023-09-01T12:30:00Z",{"type":17,"tag":70,"props":1696,"children":1697},{"style":1043},[1698],{"type":22,"value":1009},{"type":17,"tag":70,"props":1700,"children":1701},{"style":987},[1702],{"type":22,"value":1061},{"type":17,"tag":70,"props":1704,"children":1706},{"class":124,"line":1705},26,[1707,1711,1716,1720,1724,1728,1733],{"type":17,"tag":70,"props":1708,"children":1709},{"style":987},[1710],{"type":22,"value":1494},{"type":17,"tag":70,"props":1712,"children":1713},{"style":1249},[1714],{"type":22,"value":1715},"type",{"type":17,"tag":70,"props":1717,"children":1718},{"style":987},[1719],{"type":22,"value":1009},{"type":17,"tag":70,"props":1721,"children":1722},{"style":987},[1723],{"type":22,"value":113},{"type":17,"tag":70,"props":1725,"children":1726},{"style":1043},[1727],{"type":22,"value":1046},{"type":17,"tag":70,"props":1729,"children":1730},{"style":1049},[1731],{"type":22,"value":1732},"deposit",{"type":17,"tag":70,"props":1734,"children":1735},{"style":1043},[1736],{"type":22,"value":1388},{"type":17,"tag":70,"props":1738,"children":1740},{"class":124,"line":1739},27,[1741],{"type":17,"tag":70,"props":1742,"children":1743},{"style":987},[1744],{"type":22,"value":1745},"      },\n",{"type":17,"tag":70,"props":1747,"children":1749},{"class":124,"line":1748},28,[1750],{"type":17,"tag":70,"props":1751,"children":1752},{"style":987},[1753],{"type":22,"value":1595},{"type":17,"tag":70,"props":1755,"children":1757},{"class":124,"line":1756},29,[1758,1762,1766,1770,1774,1778,1783,1787],{"type":17,"tag":70,"props":1759,"children":1760},{"style":987},[1761],{"type":22,"value":1494},{"type":17,"tag":70,"props":1763,"children":1764},{"style":1249},[1765],{"type":22,"value":1608},{"type":17,"tag":70,"props":1767,"children":1768},{"style":987},[1769],{"type":22,"value":1009},{"type":17,"tag":70,"props":1771,"children":1772},{"style":987},[1773],{"type":22,"value":113},{"type":17,"tag":70,"props":1775,"children":1776},{"style":1043},[1777],{"type":22,"value":1046},{"type":17,"tag":70,"props":1779,"children":1780},{"style":1049},[1781],{"type":22,"value":1782},"tx124",{"type":17,"tag":70,"props":1784,"children":1785},{"style":1043},[1786],{"type":22,"value":1009},{"type":17,"tag":70,"props":1788,"children":1789},{"style":987},[1790],{"type":22,"value":1061},{"type":17,"tag":70,"props":1792,"children":1794},{"class":124,"line":1793},30,[1795,1799,1803,1807,1811,1816],{"type":17,"tag":70,"props":1796,"children":1797},{"style":987},[1798],{"type":22,"value":1494},{"type":17,"tag":70,"props":1800,"children":1801},{"style":1249},[1802],{"type":22,"value":1646},{"type":17,"tag":70,"props":1804,"children":1805},{"style":987},[1806],{"type":22,"value":1009},{"type":17,"tag":70,"props":1808,"children":1809},{"style":987},[1810],{"type":22,"value":113},{"type":17,"tag":70,"props":1812,"children":1813},{"style":1657},[1814],{"type":22,"value":1815}," -50.00",{"type":17,"tag":70,"props":1817,"children":1818},{"style":987},[1819],{"type":22,"value":1061},{"type":17,"tag":70,"props":1821,"children":1823},{"class":124,"line":1822},31,[1824,1828,1832,1836,1840,1844,1849,1853],{"type":17,"tag":70,"props":1825,"children":1826},{"style":987},[1827],{"type":22,"value":1494},{"type":17,"tag":70,"props":1829,"children":1830},{"style":1249},[1831],{"type":22,"value":1677},{"type":17,"tag":70,"props":1833,"children":1834},{"style":987},[1835],{"type":22,"value":1009},{"type":17,"tag":70,"props":1837,"children":1838},{"style":987},[1839],{"type":22,"value":113},{"type":17,"tag":70,"props":1841,"children":1842},{"style":1043},[1843],{"type":22,"value":1046},{"type":17,"tag":70,"props":1845,"children":1846},{"style":1049},[1847],{"type":22,"value":1848},"2023-09-10T15:45:00Z",{"type":17,"tag":70,"props":1850,"children":1851},{"style":1043},[1852],{"type":22,"value":1009},{"type":17,"tag":70,"props":1854,"children":1855},{"style":987},[1856],{"type":22,"value":1061},{"type":17,"tag":70,"props":1858,"children":1860},{"class":124,"line":1859},32,[1861,1865,1869,1873,1877,1881,1886],{"type":17,"tag":70,"props":1862,"children":1863},{"style":987},[1864],{"type":22,"value":1494},{"type":17,"tag":70,"props":1866,"children":1867},{"style":1249},[1868],{"type":22,"value":1715},{"type":17,"tag":70,"props":1870,"children":1871},{"style":987},[1872],{"type":22,"value":1009},{"type":17,"tag":70,"props":1874,"children":1875},{"style":987},[1876],{"type":22,"value":113},{"type":17,"tag":70,"props":1878,"children":1879},{"style":1043},[1880],{"type":22,"value":1046},{"type":17,"tag":70,"props":1882,"children":1883},{"style":1049},[1884],{"type":22,"value":1885},"withdrawal",{"type":17,"tag":70,"props":1887,"children":1888},{"style":1043},[1889],{"type":22,"value":1388},{"type":17,"tag":70,"props":1891,"children":1893},{"class":124,"line":1892},33,[1894],{"type":17,"tag":70,"props":1895,"children":1896},{"style":987},[1897],{"type":22,"value":1552},{"type":17,"tag":70,"props":1899,"children":1901},{"class":124,"line":1900},34,[1902],{"type":17,"tag":70,"props":1903,"children":1904},{"style":987},[1905],{"type":22,"value":1906},"    ]\n",{"type":17,"tag":70,"props":1908,"children":1910},{"class":124,"line":1909},35,[1911],{"type":17,"tag":70,"props":1912,"children":1913},{"style":987},[1914],{"type":22,"value":1915},"  }\n",{"type":17,"tag":70,"props":1917,"children":1919},{"class":124,"line":1918},36,[1920],{"type":17,"tag":70,"props":1921,"children":1922},{"style":987},[1923],{"type":22,"value":1924},"}\n",{"type":17,"tag":18,"props":1926,"children":1927},{},[1928],{"type":22,"value":1929},"Šiame pavyzdyje:",{"type":17,"tag":166,"props":1931,"children":1932},{},[1933,1942,1951,1956,1965,1974],{"type":17,"tag":170,"props":1934,"children":1935},{},[1936,1940],{"type":17,"tag":37,"props":1937,"children":1938},{},[1939],{"type":22,"value":1004},{"type":22,"value":1941},": duomenys apie paskyrą;",{"type":17,"tag":170,"props":1943,"children":1944},{},[1945,1949],{"type":17,"tag":37,"props":1946,"children":1947},{},[1948],{"type":22,"value":1032},{"type":22,"value":1950},": unikalus paskyros identifikatorius;",{"type":17,"tag":170,"props":1952,"children":1953},{},[1954],{"type":22,"value":1955},"...",{"type":17,"tag":170,"props":1957,"children":1958},{},[1959,1963],{"type":17,"tag":37,"props":1960,"children":1961},{},[1962],{"type":22,"value":1225},{"type":22,"value":1964},": paskyros duomenys apie profilį;",{"type":17,"tag":170,"props":1966,"children":1967},{},[1968,1972],{"type":17,"tag":37,"props":1969,"children":1970},{},[1971],{"type":22,"value":1410},{"type":22,"value":1973},": nustatymai;",{"type":17,"tag":170,"props":1975,"children":1976},{},[1977,1981],{"type":17,"tag":37,"props":1978,"children":1979},{},[1980],{"type":22,"value":1573},{"type":22,"value":1982},": transakcijų (sandorių) sąrašas, kurie priklauso paskyrai.",{"type":17,"tag":18,"props":1984,"children":1985},{},[1986],{"type":22,"value":1987},"Paimkime paprastesnį pavyzdį:",{"type":17,"tag":115,"props":1989,"children":1991},{"className":976,"code":1990,"language":921,"meta":67,"style":67},"{\n  \"name\": \"Alice\",\n  \"age\": 30,\n  \"is_student\": false,\n  \"favourite_fruits\": [\"apple\", \"banana\", \"cherry\"]\n}\n",[1992],{"type":17,"tag":64,"props":1993,"children":1994},{"__ignoreMap":67},[1995,2002,2039,2068,2097,2175],{"type":17,"tag":70,"props":1996,"children":1997},{"class":124,"line":125},[1998],{"type":17,"tag":70,"props":1999,"children":2000},{"style":987},[2001],{"type":22,"value":990},{"type":17,"tag":70,"props":2003,"children":2004},{"class":124,"line":699},[2005,2009,2014,2018,2022,2026,2031,2035],{"type":17,"tag":70,"props":2006,"children":2007},{"style":987},[2008],{"type":22,"value":998},{"type":17,"tag":70,"props":2010,"children":2011},{"style":1001},[2012],{"type":22,"value":2013},"name",{"type":17,"tag":70,"props":2015,"children":2016},{"style":987},[2017],{"type":22,"value":1009},{"type":17,"tag":70,"props":2019,"children":2020},{"style":987},[2021],{"type":22,"value":113},{"type":17,"tag":70,"props":2023,"children":2024},{"style":1043},[2025],{"type":22,"value":1046},{"type":17,"tag":70,"props":2027,"children":2028},{"style":1049},[2029],{"type":22,"value":2030},"Alice",{"type":17,"tag":70,"props":2032,"children":2033},{"style":1043},[2034],{"type":22,"value":1009},{"type":17,"tag":70,"props":2036,"children":2037},{"style":987},[2038],{"type":22,"value":1061},{"type":17,"tag":70,"props":2040,"children":2041},{"class":124,"line":723},[2042,2046,2051,2055,2059,2064],{"type":17,"tag":70,"props":2043,"children":2044},{"style":987},[2045],{"type":22,"value":998},{"type":17,"tag":70,"props":2047,"children":2048},{"style":1001},[2049],{"type":22,"value":2050},"age",{"type":17,"tag":70,"props":2052,"children":2053},{"style":987},[2054],{"type":22,"value":1009},{"type":17,"tag":70,"props":2056,"children":2057},{"style":987},[2058],{"type":22,"value":113},{"type":17,"tag":70,"props":2060,"children":2061},{"style":1657},[2062],{"type":22,"value":2063}," 30",{"type":17,"tag":70,"props":2065,"children":2066},{"style":987},[2067],{"type":22,"value":1061},{"type":17,"tag":70,"props":2069,"children":2070},{"class":124,"line":747},[2071,2075,2080,2084,2088,2093],{"type":17,"tag":70,"props":2072,"children":2073},{"style":987},[2074],{"type":22,"value":998},{"type":17,"tag":70,"props":2076,"children":2077},{"style":1001},[2078],{"type":22,"value":2079},"is_student",{"type":17,"tag":70,"props":2081,"children":2082},{"style":987},[2083],{"type":22,"value":1009},{"type":17,"tag":70,"props":2085,"children":2086},{"style":987},[2087],{"type":22,"value":113},{"type":17,"tag":70,"props":2089,"children":2090},{"style":1510},[2091],{"type":22,"value":2092}," false",{"type":17,"tag":70,"props":2094,"children":2095},{"style":987},[2096],{"type":22,"value":1061},{"type":17,"tag":70,"props":2098,"children":2099},{"class":124,"line":1101},[2100,2104,2109,2113,2117,2122,2126,2131,2135,2140,2144,2149,2153,2157,2161,2166,2170],{"type":17,"tag":70,"props":2101,"children":2102},{"style":987},[2103],{"type":22,"value":998},{"type":17,"tag":70,"props":2105,"children":2106},{"style":1001},[2107],{"type":22,"value":2108},"favourite_fruits",{"type":17,"tag":70,"props":2110,"children":2111},{"style":987},[2112],{"type":22,"value":1009},{"type":17,"tag":70,"props":2114,"children":2115},{"style":987},[2116],{"type":22,"value":113},{"type":17,"tag":70,"props":2118,"children":2119},{"style":987},[2120],{"type":22,"value":2121}," [",{"type":17,"tag":70,"props":2123,"children":2124},{"style":1043},[2125],{"type":22,"value":1009},{"type":17,"tag":70,"props":2127,"children":2128},{"style":1049},[2129],{"type":22,"value":2130},"apple",{"type":17,"tag":70,"props":2132,"children":2133},{"style":1043},[2134],{"type":22,"value":1009},{"type":17,"tag":70,"props":2136,"children":2137},{"style":987},[2138],{"type":22,"value":2139},",",{"type":17,"tag":70,"props":2141,"children":2142},{"style":1043},[2143],{"type":22,"value":1046},{"type":17,"tag":70,"props":2145,"children":2146},{"style":1049},[2147],{"type":22,"value":2148},"banana",{"type":17,"tag":70,"props":2150,"children":2151},{"style":1043},[2152],{"type":22,"value":1009},{"type":17,"tag":70,"props":2154,"children":2155},{"style":987},[2156],{"type":22,"value":2139},{"type":17,"tag":70,"props":2158,"children":2159},{"style":1043},[2160],{"type":22,"value":1046},{"type":17,"tag":70,"props":2162,"children":2163},{"style":1049},[2164],{"type":22,"value":2165},"cherry",{"type":17,"tag":70,"props":2167,"children":2168},{"style":1043},[2169],{"type":22,"value":1009},{"type":17,"tag":70,"props":2171,"children":2172},{"style":987},[2173],{"type":22,"value":2174},"]\n",{"type":17,"tag":70,"props":2176,"children":2177},{"class":124,"line":1139},[2178],{"type":17,"tag":70,"props":2179,"children":2180},{"style":987},[2181],{"type":22,"value":1924},{"type":17,"tag":18,"props":2183,"children":2184},{},[2185,2187,2191,2193,2199],{"type":22,"value":2186},"Duomenys aprašyti ",{"type":17,"tag":37,"props":2188,"children":2189},{},[2190],{"type":22,"value":924},{"type":22,"value":2192}," formatu prasideda figūriniais skliaustais ",{"type":17,"tag":64,"props":2194,"children":2196},{"className":2195},[],[2197],{"type":22,"value":2198},"{}",{"type":22,"value":2200},". Toliau yra laukeliai: kairysis vadinamas raktu, dešinys - reikšme.",{"type":17,"tag":18,"props":2202,"children":2203},{},[2204,2206,2211,2213,2218,2219,2224,2225,2230],{"type":22,"value":2205},"Raktai: ",{"type":17,"tag":37,"props":2207,"children":2208},{},[2209],{"type":22,"value":2210},"\"name\"",{"type":22,"value":2212},", ",{"type":17,"tag":37,"props":2214,"children":2215},{},[2216],{"type":22,"value":2217},"\"age\"",{"type":22,"value":2212},{"type":17,"tag":37,"props":2220,"children":2221},{},[2222],{"type":22,"value":2223},"\"is_student\"",{"type":22,"value":2212},{"type":17,"tag":37,"props":2226,"children":2227},{},[2228],{"type":22,"value":2229},"\"favourite_fruits\"",{"type":22,"value":43},{"type":17,"tag":18,"props":2232,"children":2233},{},[2234,2236,2241,2242,2247,2248,2253,2254,2262],{"type":22,"value":2235},"Reikšmės: ",{"type":17,"tag":37,"props":2237,"children":2238},{},[2239],{"type":22,"value":2240},"\"Alice\"",{"type":22,"value":2212},{"type":17,"tag":37,"props":2243,"children":2244},{},[2245],{"type":22,"value":2246},"30",{"type":22,"value":2212},{"type":17,"tag":37,"props":2249,"children":2250},{},[2251],{"type":22,"value":2252},"false",{"type":22,"value":2212},{"type":17,"tag":37,"props":2255,"children":2256},{},[2257],{"type":17,"tag":70,"props":2258,"children":2259},{},[2260],{"type":22,"value":2261},"\"apple\", \"banana\", \"cherry\"",{"type":22,"value":43},{"type":17,"tag":18,"props":2264,"children":2265},{},[2266],{"type":22,"value":2267},"Šis formatas palaiko keletą tipų:",{"type":17,"tag":166,"props":2269,"children":2270},{},[2271,2283,2288,2313,2318,2336],{"type":17,"tag":170,"props":2272,"children":2273},{},[2274,2276,2281],{"type":22,"value":2275},"eilutės (",{"type":17,"tag":37,"props":2277,"children":2278},{},[2279],{"type":22,"value":2280},"angl. string",{"type":22,"value":2282},"): tekstiniai duomenys pateikti dvigubose kabutėse, pvz., \"labas, pasauli\";",{"type":17,"tag":170,"props":2284,"children":2285},{},[2286],{"type":22,"value":2287},"skaičiai: skaitiniai duomenys, pvz.: 42, 3.14;",{"type":17,"tag":170,"props":2289,"children":2290},{},[2291,2293,2298,2300,2305,2307,2311],{"type":22,"value":2292},"loginis (",{"type":17,"tag":37,"props":2294,"children":2295},{},[2296],{"type":22,"value":2297},"angl. boolean",{"type":22,"value":2299},"): vaizduoja ",{"type":17,"tag":37,"props":2301,"children":2302},{},[2303],{"type":22,"value":2304},"true",{"type":22,"value":2306}," arba ",{"type":17,"tag":37,"props":2308,"children":2309},{},[2310],{"type":22,"value":2252},{"type":22,"value":2312},";",{"type":17,"tag":170,"props":2314,"children":2315},{},[2316],{"type":22,"value":2317},"null: tuščia reikšmė;",{"type":17,"tag":170,"props":2319,"children":2320},{},[2321,2323,2328,2330,2335],{"type":22,"value":2322},"objektas (",{"type":17,"tag":37,"props":2324,"children":2325},{},[2326],{"type":22,"value":2327},"angl. object",{"type":22,"value":2329},"): reikšmių ir raktų rinkinys, kuris apskliaustas figūriniais skliaustais ",{"type":17,"tag":64,"props":2331,"children":2333},{"className":2332},[],[2334],{"type":22,"value":2198},{"type":22,"value":2312},{"type":17,"tag":170,"props":2337,"children":2338},{},[2339,2341,2346,2348,2354],{"type":22,"value":2340},"rinkinys, sąrašas (",{"type":17,"tag":37,"props":2342,"children":2343},{},[2344],{"type":22,"value":2345},"angl. array",{"type":22,"value":2347},"): reikšmių sąrašas, kurios aprašomos skliaustuose ",{"type":17,"tag":64,"props":2349,"children":2351},{"className":2350},[],[2352],{"type":22,"value":2353},"[]",{"type":22,"value":43},{"type":17,"tag":18,"props":2356,"children":2357},{},[2358],{"type":22,"value":2359},"Šio formato duomenų apdorojimas priklauso nuo programavimo kalbos.",{"type":17,"tag":45,"props":2361,"children":2363},{"id":2362},"xml",[2364],{"type":22,"value":2365},"XML",{"type":17,"tag":18,"props":2367,"children":2368},{},[2369,2376,2378,2404,2406,2412,2413,2419,2420,2426],{"type":17,"tag":64,"props":2370,"children":2371},{"className":66,"language":22,"style":67},[2372],{"type":17,"tag":70,"props":2373,"children":2374},{},[2375],{"type":22,"value":2365},{"type":22,"value":2377}," (angl. ",{"type":17,"tag":37,"props":2379,"children":2380},{},[2381,2383,2388,2390,2395,2397,2402],{"type":22,"value":2382},"e",{"type":17,"tag":78,"props":2384,"children":2385},{},[2386],{"type":22,"value":2387},"X",{"type":22,"value":2389},"tensible ",{"type":17,"tag":78,"props":2391,"children":2392},{},[2393],{"type":22,"value":2394},"M",{"type":22,"value":2396},"arkup ",{"type":17,"tag":78,"props":2398,"children":2399},{},[2400],{"type":22,"value":2401},"L",{"type":22,"value":2403},"anguage",{"type":22,"value":2405},") yra žymėjimo kalba ir failų formatas. Šis formatas pastaruoju metu tampa vis mažiau populiaresnis. Naudojamas duomenų saugojimui ir apsikeitimui.  Šis formatas pasižymi ",{"type":17,"tag":64,"props":2407,"children":2409},{"className":2408},[],[2410],{"type":22,"value":2411},"\u003C",{"type":22,"value":2139},{"type":17,"tag":64,"props":2414,"children":2416},{"className":2415},[],[2417],{"type":22,"value":2418},">",{"type":22,"value":2139},{"type":17,"tag":64,"props":2421,"children":2423},{"className":2422},[],[2424],{"type":22,"value":2425},"/",{"type":22,"value":2427}," simboliais:",{"type":17,"tag":115,"props":2429,"children":2432},{"className":2430,"code":2431,"language":2362,"meta":67,"style":67},"language-xml shiki shiki-themes catppuccin-latte material-theme-darker","\u003Ccatalog>\n  \u003Cbook id=\"bk101\">\n    \u003Cauthor>Gambardella, Matthew\u003C/author>\n    \u003Ctitle>XML Developer's Guide\u003C/title>\n    \u003Cgenre>Computer\u003C/genre>\n    \u003Cprice>44.95\u003C/price>\n    \u003Cpublish_date>2000-10-01\u003C/publish_date>\n    \u003Cdescription>An in-depth look at creating applications \n    with XML.\u003C/description>\n  \u003C/book>\n  \u003Cbook id=\"bk102\">\n    \u003Cauthor>Ralls, Kim\u003C/author>\n    \u003Ctitle>Midnight Rain\u003C/title>\n    \u003Cgenre>Fantasy\u003C/genre>\n    \u003Cprice>5.95\u003C/price>\n    \u003Cpublish_date>2000-12-16\u003C/publish_date>\n    \u003Cdescription>A former architect battles corporate zombies, \n    an evil sorceress, and her own childhood to become queen \n    of the world.\u003C/description>\n  \u003C/book>\n  \u003Cbook id=\"bk103\">\n    \u003Cauthor>Corets, Eva\u003C/author>\n    \u003Ctitle>Maeve Ascendant\u003C/title>\n    \u003Cgenre>Fantasy\u003C/genre>\n    \u003Cprice>5.95\u003C/price>\n    \u003Cpublish_date>2000-11-17\u003C/publish_date>\n    \u003Cdescription>After the collapse of a nanotechnology \n    society in England, the young survivors lay the \n    foundation for a new society.\u003C/description>\n  \u003C/book>\n\u003C/catalog>\n",[2433],{"type":17,"tag":64,"props":2434,"children":2435},{"__ignoreMap":67},[2436,2454,2496,2531,2564,2597,2630,2663,2684,2704,2720,2756,2788,2820,2852,2884,2916,2936,2944,2964,2979,3015,3047,3079,3110,3141,3173,3193,3201,3221,3236],{"type":17,"tag":70,"props":2437,"children":2438},{"class":124,"line":125},[2439,2444,2449],{"type":17,"tag":70,"props":2440,"children":2442},{"style":2441},"--shiki-default:#179299;--shiki-dark:#89DDFF",[2443],{"type":22,"value":2411},{"type":17,"tag":70,"props":2445,"children":2446},{"style":1497},[2447],{"type":22,"value":2448},"catalog",{"type":17,"tag":70,"props":2450,"children":2451},{"style":2441},[2452],{"type":22,"value":2453},">\n",{"type":17,"tag":70,"props":2455,"children":2456},{"class":124,"line":699},[2457,2462,2467,2473,2479,2483,2488,2492],{"type":17,"tag":70,"props":2458,"children":2459},{"style":2441},[2460],{"type":22,"value":2461},"  \u003C",{"type":17,"tag":70,"props":2463,"children":2464},{"style":1497},[2465],{"type":22,"value":2466},"book",{"type":17,"tag":70,"props":2468,"children":2470},{"style":2469},"--shiki-default:#DF8E1D;--shiki-dark:#C792EA",[2471],{"type":22,"value":2472}," id",{"type":17,"tag":70,"props":2474,"children":2476},{"style":2475},"--shiki-default:#4C4F69;--shiki-dark:#89DDFF",[2477],{"type":22,"value":2478},"=",{"type":17,"tag":70,"props":2480,"children":2481},{"style":1043},[2482],{"type":22,"value":1009},{"type":17,"tag":70,"props":2484,"children":2485},{"style":1049},[2486],{"type":22,"value":2487},"bk101",{"type":17,"tag":70,"props":2489,"children":2490},{"style":1043},[2491],{"type":22,"value":1009},{"type":17,"tag":70,"props":2493,"children":2494},{"style":2441},[2495],{"type":22,"value":2453},{"type":17,"tag":70,"props":2497,"children":2498},{"class":124,"line":723},[2499,2504,2509,2513,2518,2523,2527],{"type":17,"tag":70,"props":2500,"children":2501},{"style":2441},[2502],{"type":22,"value":2503},"    \u003C",{"type":17,"tag":70,"props":2505,"children":2506},{"style":1497},[2507],{"type":22,"value":2508},"author",{"type":17,"tag":70,"props":2510,"children":2511},{"style":2441},[2512],{"type":22,"value":2418},{"type":17,"tag":70,"props":2514,"children":2515},{"style":675},[2516],{"type":22,"value":2517},"Gambardella, Matthew",{"type":17,"tag":70,"props":2519,"children":2520},{"style":2441},[2521],{"type":22,"value":2522},"\u003C/",{"type":17,"tag":70,"props":2524,"children":2525},{"style":1497},[2526],{"type":22,"value":2508},{"type":17,"tag":70,"props":2528,"children":2529},{"style":2441},[2530],{"type":22,"value":2453},{"type":17,"tag":70,"props":2532,"children":2533},{"class":124,"line":747},[2534,2538,2543,2547,2552,2556,2560],{"type":17,"tag":70,"props":2535,"children":2536},{"style":2441},[2537],{"type":22,"value":2503},{"type":17,"tag":70,"props":2539,"children":2540},{"style":1497},[2541],{"type":22,"value":2542},"title",{"type":17,"tag":70,"props":2544,"children":2545},{"style":2441},[2546],{"type":22,"value":2418},{"type":17,"tag":70,"props":2548,"children":2549},{"style":675},[2550],{"type":22,"value":2551},"XML Developer's Guide",{"type":17,"tag":70,"props":2553,"children":2554},{"style":2441},[2555],{"type":22,"value":2522},{"type":17,"tag":70,"props":2557,"children":2558},{"style":1497},[2559],{"type":22,"value":2542},{"type":17,"tag":70,"props":2561,"children":2562},{"style":2441},[2563],{"type":22,"value":2453},{"type":17,"tag":70,"props":2565,"children":2566},{"class":124,"line":1101},[2567,2571,2576,2580,2585,2589,2593],{"type":17,"tag":70,"props":2568,"children":2569},{"style":2441},[2570],{"type":22,"value":2503},{"type":17,"tag":70,"props":2572,"children":2573},{"style":1497},[2574],{"type":22,"value":2575},"genre",{"type":17,"tag":70,"props":2577,"children":2578},{"style":2441},[2579],{"type":22,"value":2418},{"type":17,"tag":70,"props":2581,"children":2582},{"style":675},[2583],{"type":22,"value":2584},"Computer",{"type":17,"tag":70,"props":2586,"children":2587},{"style":2441},[2588],{"type":22,"value":2522},{"type":17,"tag":70,"props":2590,"children":2591},{"style":1497},[2592],{"type":22,"value":2575},{"type":17,"tag":70,"props":2594,"children":2595},{"style":2441},[2596],{"type":22,"value":2453},{"type":17,"tag":70,"props":2598,"children":2599},{"class":124,"line":1139},[2600,2604,2609,2613,2618,2622,2626],{"type":17,"tag":70,"props":2601,"children":2602},{"style":2441},[2603],{"type":22,"value":2503},{"type":17,"tag":70,"props":2605,"children":2606},{"style":1497},[2607],{"type":22,"value":2608},"price",{"type":17,"tag":70,"props":2610,"children":2611},{"style":2441},[2612],{"type":22,"value":2418},{"type":17,"tag":70,"props":2614,"children":2615},{"style":675},[2616],{"type":22,"value":2617},"44.95",{"type":17,"tag":70,"props":2619,"children":2620},{"style":2441},[2621],{"type":22,"value":2522},{"type":17,"tag":70,"props":2623,"children":2624},{"style":1497},[2625],{"type":22,"value":2608},{"type":17,"tag":70,"props":2627,"children":2628},{"style":2441},[2629],{"type":22,"value":2453},{"type":17,"tag":70,"props":2631,"children":2632},{"class":124,"line":1177},[2633,2637,2642,2646,2651,2655,2659],{"type":17,"tag":70,"props":2634,"children":2635},{"style":2441},[2636],{"type":22,"value":2503},{"type":17,"tag":70,"props":2638,"children":2639},{"style":1497},[2640],{"type":22,"value":2641},"publish_date",{"type":17,"tag":70,"props":2643,"children":2644},{"style":2441},[2645],{"type":22,"value":2418},{"type":17,"tag":70,"props":2647,"children":2648},{"style":675},[2649],{"type":22,"value":2650},"2000-10-01",{"type":17,"tag":70,"props":2652,"children":2653},{"style":2441},[2654],{"type":22,"value":2522},{"type":17,"tag":70,"props":2656,"children":2657},{"style":1497},[2658],{"type":22,"value":2641},{"type":17,"tag":70,"props":2660,"children":2661},{"style":2441},[2662],{"type":22,"value":2453},{"type":17,"tag":70,"props":2664,"children":2665},{"class":124,"line":1215},[2666,2670,2675,2679],{"type":17,"tag":70,"props":2667,"children":2668},{"style":2441},[2669],{"type":22,"value":2503},{"type":17,"tag":70,"props":2671,"children":2672},{"style":1497},[2673],{"type":22,"value":2674},"description",{"type":17,"tag":70,"props":2676,"children":2677},{"style":2441},[2678],{"type":22,"value":2418},{"type":17,"tag":70,"props":2680,"children":2681},{"style":675},[2682],{"type":22,"value":2683},"An in-depth look at creating applications \n",{"type":17,"tag":70,"props":2685,"children":2686},{"class":124,"line":1240},[2687,2692,2696,2700],{"type":17,"tag":70,"props":2688,"children":2689},{"style":675},[2690],{"type":22,"value":2691},"    with XML.",{"type":17,"tag":70,"props":2693,"children":2694},{"style":2441},[2695],{"type":22,"value":2522},{"type":17,"tag":70,"props":2697,"children":2698},{"style":1497},[2699],{"type":22,"value":2674},{"type":17,"tag":70,"props":2701,"children":2702},{"style":2441},[2703],{"type":22,"value":2453},{"type":17,"tag":70,"props":2705,"children":2706},{"class":124,"line":1280},[2707,2712,2716],{"type":17,"tag":70,"props":2708,"children":2709},{"style":2441},[2710],{"type":22,"value":2711},"  \u003C/",{"type":17,"tag":70,"props":2713,"children":2714},{"style":1497},[2715],{"type":22,"value":2466},{"type":17,"tag":70,"props":2717,"children":2718},{"style":2441},[2719],{"type":22,"value":2453},{"type":17,"tag":70,"props":2721,"children":2722},{"class":124,"line":1318},[2723,2727,2731,2735,2739,2743,2748,2752],{"type":17,"tag":70,"props":2724,"children":2725},{"style":2441},[2726],{"type":22,"value":2461},{"type":17,"tag":70,"props":2728,"children":2729},{"style":1497},[2730],{"type":22,"value":2466},{"type":17,"tag":70,"props":2732,"children":2733},{"style":2469},[2734],{"type":22,"value":2472},{"type":17,"tag":70,"props":2736,"children":2737},{"style":2475},[2738],{"type":22,"value":2478},{"type":17,"tag":70,"props":2740,"children":2741},{"style":1043},[2742],{"type":22,"value":1009},{"type":17,"tag":70,"props":2744,"children":2745},{"style":1049},[2746],{"type":22,"value":2747},"bk102",{"type":17,"tag":70,"props":2749,"children":2750},{"style":1043},[2751],{"type":22,"value":1009},{"type":17,"tag":70,"props":2753,"children":2754},{"style":2441},[2755],{"type":22,"value":2453},{"type":17,"tag":70,"props":2757,"children":2758},{"class":124,"line":1356},[2759,2763,2767,2771,2776,2780,2784],{"type":17,"tag":70,"props":2760,"children":2761},{"style":2441},[2762],{"type":22,"value":2503},{"type":17,"tag":70,"props":2764,"children":2765},{"style":1497},[2766],{"type":22,"value":2508},{"type":17,"tag":70,"props":2768,"children":2769},{"style":2441},[2770],{"type":22,"value":2418},{"type":17,"tag":70,"props":2772,"children":2773},{"style":675},[2774],{"type":22,"value":2775},"Ralls, Kim",{"type":17,"tag":70,"props":2777,"children":2778},{"style":2441},[2779],{"type":22,"value":2522},{"type":17,"tag":70,"props":2781,"children":2782},{"style":1497},[2783],{"type":22,"value":2508},{"type":17,"tag":70,"props":2785,"children":2786},{"style":2441},[2787],{"type":22,"value":2453},{"type":17,"tag":70,"props":2789,"children":2790},{"class":124,"line":1391},[2791,2795,2799,2803,2808,2812,2816],{"type":17,"tag":70,"props":2792,"children":2793},{"style":2441},[2794],{"type":22,"value":2503},{"type":17,"tag":70,"props":2796,"children":2797},{"style":1497},[2798],{"type":22,"value":2542},{"type":17,"tag":70,"props":2800,"children":2801},{"style":2441},[2802],{"type":22,"value":2418},{"type":17,"tag":70,"props":2804,"children":2805},{"style":675},[2806],{"type":22,"value":2807},"Midnight Rain",{"type":17,"tag":70,"props":2809,"children":2810},{"style":2441},[2811],{"type":22,"value":2522},{"type":17,"tag":70,"props":2813,"children":2814},{"style":1497},[2815],{"type":22,"value":2542},{"type":17,"tag":70,"props":2817,"children":2818},{"style":2441},[2819],{"type":22,"value":2453},{"type":17,"tag":70,"props":2821,"children":2822},{"class":124,"line":1400},[2823,2827,2831,2835,2840,2844,2848],{"type":17,"tag":70,"props":2824,"children":2825},{"style":2441},[2826],{"type":22,"value":2503},{"type":17,"tag":70,"props":2828,"children":2829},{"style":1497},[2830],{"type":22,"value":2575},{"type":17,"tag":70,"props":2832,"children":2833},{"style":2441},[2834],{"type":22,"value":2418},{"type":17,"tag":70,"props":2836,"children":2837},{"style":675},[2838],{"type":22,"value":2839},"Fantasy",{"type":17,"tag":70,"props":2841,"children":2842},{"style":2441},[2843],{"type":22,"value":2522},{"type":17,"tag":70,"props":2845,"children":2846},{"style":1497},[2847],{"type":22,"value":2575},{"type":17,"tag":70,"props":2849,"children":2850},{"style":2441},[2851],{"type":22,"value":2453},{"type":17,"tag":70,"props":2853,"children":2854},{"class":124,"line":1425},[2855,2859,2863,2867,2872,2876,2880],{"type":17,"tag":70,"props":2856,"children":2857},{"style":2441},[2858],{"type":22,"value":2503},{"type":17,"tag":70,"props":2860,"children":2861},{"style":1497},[2862],{"type":22,"value":2608},{"type":17,"tag":70,"props":2864,"children":2865},{"style":2441},[2866],{"type":22,"value":2418},{"type":17,"tag":70,"props":2868,"children":2869},{"style":675},[2870],{"type":22,"value":2871},"5.95",{"type":17,"tag":70,"props":2873,"children":2874},{"style":2441},[2875],{"type":22,"value":2522},{"type":17,"tag":70,"props":2877,"children":2878},{"style":1497},[2879],{"type":22,"value":2608},{"type":17,"tag":70,"props":2881,"children":2882},{"style":2441},[2883],{"type":22,"value":2453},{"type":17,"tag":70,"props":2885,"children":2886},{"class":124,"line":1463},[2887,2891,2895,2899,2904,2908,2912],{"type":17,"tag":70,"props":2888,"children":2889},{"style":2441},[2890],{"type":22,"value":2503},{"type":17,"tag":70,"props":2892,"children":2893},{"style":1497},[2894],{"type":22,"value":2641},{"type":17,"tag":70,"props":2896,"children":2897},{"style":2441},[2898],{"type":22,"value":2418},{"type":17,"tag":70,"props":2900,"children":2901},{"style":675},[2902],{"type":22,"value":2903},"2000-12-16",{"type":17,"tag":70,"props":2905,"children":2906},{"style":2441},[2907],{"type":22,"value":2522},{"type":17,"tag":70,"props":2909,"children":2910},{"style":1497},[2911],{"type":22,"value":2641},{"type":17,"tag":70,"props":2913,"children":2914},{"style":2441},[2915],{"type":22,"value":2453},{"type":17,"tag":70,"props":2917,"children":2918},{"class":124,"line":1488},[2919,2923,2927,2931],{"type":17,"tag":70,"props":2920,"children":2921},{"style":2441},[2922],{"type":22,"value":2503},{"type":17,"tag":70,"props":2924,"children":2925},{"style":1497},[2926],{"type":22,"value":2674},{"type":17,"tag":70,"props":2928,"children":2929},{"style":2441},[2930],{"type":22,"value":2418},{"type":17,"tag":70,"props":2932,"children":2933},{"style":675},[2934],{"type":22,"value":2935},"A former architect battles corporate zombies, \n",{"type":17,"tag":70,"props":2937,"children":2938},{"class":124,"line":1520},[2939],{"type":17,"tag":70,"props":2940,"children":2941},{"style":675},[2942],{"type":22,"value":2943},"    an evil sorceress, and her own childhood to become queen \n",{"type":17,"tag":70,"props":2945,"children":2946},{"class":124,"line":1546},[2947,2952,2956,2960],{"type":17,"tag":70,"props":2948,"children":2949},{"style":675},[2950],{"type":22,"value":2951},"    of the world.",{"type":17,"tag":70,"props":2953,"children":2954},{"style":2441},[2955],{"type":22,"value":2522},{"type":17,"tag":70,"props":2957,"children":2958},{"style":1497},[2959],{"type":22,"value":2674},{"type":17,"tag":70,"props":2961,"children":2962},{"style":2441},[2963],{"type":22,"value":2453},{"type":17,"tag":70,"props":2965,"children":2966},{"class":124,"line":1555},[2967,2971,2975],{"type":17,"tag":70,"props":2968,"children":2969},{"style":2441},[2970],{"type":22,"value":2711},{"type":17,"tag":70,"props":2972,"children":2973},{"style":1497},[2974],{"type":22,"value":2466},{"type":17,"tag":70,"props":2976,"children":2977},{"style":2441},[2978],{"type":22,"value":2453},{"type":17,"tag":70,"props":2980,"children":2981},{"class":124,"line":1563},[2982,2986,2990,2994,2998,3002,3007,3011],{"type":17,"tag":70,"props":2983,"children":2984},{"style":2441},[2985],{"type":22,"value":2461},{"type":17,"tag":70,"props":2987,"children":2988},{"style":1497},[2989],{"type":22,"value":2466},{"type":17,"tag":70,"props":2991,"children":2992},{"style":2469},[2993],{"type":22,"value":2472},{"type":17,"tag":70,"props":2995,"children":2996},{"style":2475},[2997],{"type":22,"value":2478},{"type":17,"tag":70,"props":2999,"children":3000},{"style":1043},[3001],{"type":22,"value":1009},{"type":17,"tag":70,"props":3003,"children":3004},{"style":1049},[3005],{"type":22,"value":3006},"bk103",{"type":17,"tag":70,"props":3008,"children":3009},{"style":1043},[3010],{"type":22,"value":1009},{"type":17,"tag":70,"props":3012,"children":3013},{"style":2441},[3014],{"type":22,"value":2453},{"type":17,"tag":70,"props":3016,"children":3017},{"class":124,"line":1589},[3018,3022,3026,3030,3035,3039,3043],{"type":17,"tag":70,"props":3019,"children":3020},{"style":2441},[3021],{"type":22,"value":2503},{"type":17,"tag":70,"props":3023,"children":3024},{"style":1497},[3025],{"type":22,"value":2508},{"type":17,"tag":70,"props":3027,"children":3028},{"style":2441},[3029],{"type":22,"value":2418},{"type":17,"tag":70,"props":3031,"children":3032},{"style":675},[3033],{"type":22,"value":3034},"Corets, Eva",{"type":17,"tag":70,"props":3036,"children":3037},{"style":2441},[3038],{"type":22,"value":2522},{"type":17,"tag":70,"props":3040,"children":3041},{"style":1497},[3042],{"type":22,"value":2508},{"type":17,"tag":70,"props":3044,"children":3045},{"style":2441},[3046],{"type":22,"value":2453},{"type":17,"tag":70,"props":3048,"children":3049},{"class":124,"line":1598},[3050,3054,3058,3062,3067,3071,3075],{"type":17,"tag":70,"props":3051,"children":3052},{"style":2441},[3053],{"type":22,"value":2503},{"type":17,"tag":70,"props":3055,"children":3056},{"style":1497},[3057],{"type":22,"value":2542},{"type":17,"tag":70,"props":3059,"children":3060},{"style":2441},[3061],{"type":22,"value":2418},{"type":17,"tag":70,"props":3063,"children":3064},{"style":675},[3065],{"type":22,"value":3066},"Maeve Ascendant",{"type":17,"tag":70,"props":3068,"children":3069},{"style":2441},[3070],{"type":22,"value":2522},{"type":17,"tag":70,"props":3072,"children":3073},{"style":1497},[3074],{"type":22,"value":2542},{"type":17,"tag":70,"props":3076,"children":3077},{"style":2441},[3078],{"type":22,"value":2453},{"type":17,"tag":70,"props":3080,"children":3081},{"class":124,"line":1636},[3082,3086,3090,3094,3098,3102,3106],{"type":17,"tag":70,"props":3083,"children":3084},{"style":2441},[3085],{"type":22,"value":2503},{"type":17,"tag":70,"props":3087,"children":3088},{"style":1497},[3089],{"type":22,"value":2575},{"type":17,"tag":70,"props":3091,"children":3092},{"style":2441},[3093],{"type":22,"value":2418},{"type":17,"tag":70,"props":3095,"children":3096},{"style":675},[3097],{"type":22,"value":2839},{"type":17,"tag":70,"props":3099,"children":3100},{"style":2441},[3101],{"type":22,"value":2522},{"type":17,"tag":70,"props":3103,"children":3104},{"style":1497},[3105],{"type":22,"value":2575},{"type":17,"tag":70,"props":3107,"children":3108},{"style":2441},[3109],{"type":22,"value":2453},{"type":17,"tag":70,"props":3111,"children":3112},{"class":124,"line":1667},[3113,3117,3121,3125,3129,3133,3137],{"type":17,"tag":70,"props":3114,"children":3115},{"style":2441},[3116],{"type":22,"value":2503},{"type":17,"tag":70,"props":3118,"children":3119},{"style":1497},[3120],{"type":22,"value":2608},{"type":17,"tag":70,"props":3122,"children":3123},{"style":2441},[3124],{"type":22,"value":2418},{"type":17,"tag":70,"props":3126,"children":3127},{"style":675},[3128],{"type":22,"value":2871},{"type":17,"tag":70,"props":3130,"children":3131},{"style":2441},[3132],{"type":22,"value":2522},{"type":17,"tag":70,"props":3134,"children":3135},{"style":1497},[3136],{"type":22,"value":2608},{"type":17,"tag":70,"props":3138,"children":3139},{"style":2441},[3140],{"type":22,"value":2453},{"type":17,"tag":70,"props":3142,"children":3143},{"class":124,"line":1705},[3144,3148,3152,3156,3161,3165,3169],{"type":17,"tag":70,"props":3145,"children":3146},{"style":2441},[3147],{"type":22,"value":2503},{"type":17,"tag":70,"props":3149,"children":3150},{"style":1497},[3151],{"type":22,"value":2641},{"type":17,"tag":70,"props":3153,"children":3154},{"style":2441},[3155],{"type":22,"value":2418},{"type":17,"tag":70,"props":3157,"children":3158},{"style":675},[3159],{"type":22,"value":3160},"2000-11-17",{"type":17,"tag":70,"props":3162,"children":3163},{"style":2441},[3164],{"type":22,"value":2522},{"type":17,"tag":70,"props":3166,"children":3167},{"style":1497},[3168],{"type":22,"value":2641},{"type":17,"tag":70,"props":3170,"children":3171},{"style":2441},[3172],{"type":22,"value":2453},{"type":17,"tag":70,"props":3174,"children":3175},{"class":124,"line":1739},[3176,3180,3184,3188],{"type":17,"tag":70,"props":3177,"children":3178},{"style":2441},[3179],{"type":22,"value":2503},{"type":17,"tag":70,"props":3181,"children":3182},{"style":1497},[3183],{"type":22,"value":2674},{"type":17,"tag":70,"props":3185,"children":3186},{"style":2441},[3187],{"type":22,"value":2418},{"type":17,"tag":70,"props":3189,"children":3190},{"style":675},[3191],{"type":22,"value":3192},"After the collapse of a nanotechnology \n",{"type":17,"tag":70,"props":3194,"children":3195},{"class":124,"line":1748},[3196],{"type":17,"tag":70,"props":3197,"children":3198},{"style":675},[3199],{"type":22,"value":3200},"    society in England, the young survivors lay the \n",{"type":17,"tag":70,"props":3202,"children":3203},{"class":124,"line":1756},[3204,3209,3213,3217],{"type":17,"tag":70,"props":3205,"children":3206},{"style":675},[3207],{"type":22,"value":3208},"    foundation for a new society.",{"type":17,"tag":70,"props":3210,"children":3211},{"style":2441},[3212],{"type":22,"value":2522},{"type":17,"tag":70,"props":3214,"children":3215},{"style":1497},[3216],{"type":22,"value":2674},{"type":17,"tag":70,"props":3218,"children":3219},{"style":2441},[3220],{"type":22,"value":2453},{"type":17,"tag":70,"props":3222,"children":3223},{"class":124,"line":1793},[3224,3228,3232],{"type":17,"tag":70,"props":3225,"children":3226},{"style":2441},[3227],{"type":22,"value":2711},{"type":17,"tag":70,"props":3229,"children":3230},{"style":1497},[3231],{"type":22,"value":2466},{"type":17,"tag":70,"props":3233,"children":3234},{"style":2441},[3235],{"type":22,"value":2453},{"type":17,"tag":70,"props":3237,"children":3238},{"class":124,"line":1822},[3239,3243,3247],{"type":17,"tag":70,"props":3240,"children":3241},{"style":2441},[3242],{"type":22,"value":2522},{"type":17,"tag":70,"props":3244,"children":3245},{"style":1497},[3246],{"type":22,"value":2448},{"type":17,"tag":70,"props":3248,"children":3249},{"style":2441},[3250],{"type":22,"value":2453},{"type":17,"tag":18,"props":3252,"children":3253},{},[3254,3256,3261,3263,3294,3296,3301,3303,3308,3310,3314,3316,3321],{"type":22,"value":3255},"Tokio formato duomenys prasideda nuo šakninio (",{"type":17,"tag":37,"props":3257,"children":3258},{},[3259],{"type":22,"value":3260},"angl. root",{"type":22,"value":3262},") elemento. Šiuo atveju tai ",{"type":17,"tag":64,"props":3264,"children":3265},{"className":2430,"language":2362,"style":67},[3266,3270,3274,3278,3282,3286,3290],{"type":17,"tag":70,"props":3267,"children":3268},{"style":2441},[3269],{"type":22,"value":2411},{"type":17,"tag":70,"props":3271,"children":3272},{"style":1497},[3273],{"type":22,"value":2448},{"type":17,"tag":70,"props":3275,"children":3276},{"style":2441},[3277],{"type":22,"value":2418},{"type":17,"tag":70,"props":3279,"children":3280},{"style":675},[3281],{"type":22,"value":1955},{"type":17,"tag":70,"props":3283,"children":3284},{"style":2441},[3285],{"type":22,"value":2522},{"type":17,"tag":70,"props":3287,"children":3288},{"style":1497},[3289],{"type":22,"value":2448},{"type":17,"tag":70,"props":3291,"children":3292},{"style":2441},[3293],{"type":22,"value":2418},{"type":22,"value":3295},".  Nuo šakninio elemento toliau einantys elementai vadinami elementais vaikais (",{"type":17,"tag":37,"props":3297,"children":3298},{},[3299],{"type":22,"value":3300},"angl. child",{"type":22,"value":3302},"). Santykiams apibūdinti tarp elementų naudojamos sąvokos tėvinis (",{"type":17,"tag":37,"props":3304,"children":3305},{},[3306],{"type":22,"value":3307},"angl. parent",{"type":22,"value":3309},") elementas, vaikas (",{"type":17,"tag":37,"props":3311,"children":3312},{},[3313],{"type":22,"value":3300},{"type":22,"value":3315},"), brolis (arba sesė, ",{"type":17,"tag":37,"props":3317,"children":3318},{},[3319],{"type":22,"value":3320},"angl. siblings",{"type":22,"value":3322},"). Broliniai elementai yra tame pačiame lygyje esantys elementai.",{"type":17,"tag":18,"props":3324,"children":3325},{},[3326,3328,3379,3381,3412,3413,3444,3445,3476,3477,3508,3509,3540,3542,3593],{"type":22,"value":3327},"Pavyzdžiui elementui ",{"type":17,"tag":64,"props":3329,"children":3330},{"className":2430,"language":2362,"style":67},[3331,3335,3339,3343,3347,3351,3355,3359,3363,3367,3371,3375],{"type":17,"tag":70,"props":3332,"children":3333},{"style":2441},[3334],{"type":22,"value":2411},{"type":17,"tag":70,"props":3336,"children":3337},{"style":1497},[3338],{"type":22,"value":2466},{"type":17,"tag":70,"props":3340,"children":3341},{"style":2469},[3342],{"type":22,"value":2472},{"type":17,"tag":70,"props":3344,"children":3345},{"style":2475},[3346],{"type":22,"value":2478},{"type":17,"tag":70,"props":3348,"children":3349},{"style":1043},[3350],{"type":22,"value":1009},{"type":17,"tag":70,"props":3352,"children":3353},{"style":1049},[3354],{"type":22,"value":2487},{"type":17,"tag":70,"props":3356,"children":3357},{"style":1043},[3358],{"type":22,"value":1009},{"type":17,"tag":70,"props":3360,"children":3361},{"style":2441},[3362],{"type":22,"value":2418},{"type":17,"tag":70,"props":3364,"children":3365},{"style":675},[3366],{"type":22,"value":1955},{"type":17,"tag":70,"props":3368,"children":3369},{"style":2441},[3370],{"type":22,"value":2522},{"type":17,"tag":70,"props":3372,"children":3373},{"style":1497},[3374],{"type":22,"value":2466},{"type":17,"tag":70,"props":3376,"children":3377},{"style":2441},[3378],{"type":22,"value":2418},{"type":22,"value":3380}," tėvinis elementas yra ",{"type":17,"tag":64,"props":3382,"children":3383},{"className":2430,"language":2362,"style":67},[3384,3388,3392,3396,3400,3404,3408],{"type":17,"tag":70,"props":3385,"children":3386},{"style":2441},[3387],{"type":22,"value":2411},{"type":17,"tag":70,"props":3389,"children":3390},{"style":1497},[3391],{"type":22,"value":2448},{"type":17,"tag":70,"props":3393,"children":3394},{"style":2441},[3395],{"type":22,"value":2418},{"type":17,"tag":70,"props":3397,"children":3398},{"style":675},[3399],{"type":22,"value":1955},{"type":17,"tag":70,"props":3401,"children":3402},{"style":2441},[3403],{"type":22,"value":2522},{"type":17,"tag":70,"props":3405,"children":3406},{"style":1497},[3407],{"type":22,"value":2448},{"type":17,"tag":70,"props":3409,"children":3410},{"style":2441},[3411],{"type":22,"value":2418},{"type":22,"value":2212},{"type":17,"tag":64,"props":3414,"children":3415},{"className":2430,"language":2362,"style":67},[3416,3420,3424,3428,3432,3436,3440],{"type":17,"tag":70,"props":3417,"children":3418},{"style":2441},[3419],{"type":22,"value":2411},{"type":17,"tag":70,"props":3421,"children":3422},{"style":1497},[3423],{"type":22,"value":2508},{"type":17,"tag":70,"props":3425,"children":3426},{"style":2441},[3427],{"type":22,"value":2418},{"type":17,"tag":70,"props":3429,"children":3430},{"style":675},[3431],{"type":22,"value":2517},{"type":17,"tag":70,"props":3433,"children":3434},{"style":2441},[3435],{"type":22,"value":2522},{"type":17,"tag":70,"props":3437,"children":3438},{"style":1497},[3439],{"type":22,"value":2508},{"type":17,"tag":70,"props":3441,"children":3442},{"style":2441},[3443],{"type":22,"value":2418},{"type":22,"value":2212},{"type":17,"tag":64,"props":3446,"children":3447},{"className":2430,"language":2362,"style":67},[3448,3452,3456,3460,3464,3468,3472],{"type":17,"tag":70,"props":3449,"children":3450},{"style":2441},[3451],{"type":22,"value":2411},{"type":17,"tag":70,"props":3453,"children":3454},{"style":1497},[3455],{"type":22,"value":2542},{"type":17,"tag":70,"props":3457,"children":3458},{"style":2441},[3459],{"type":22,"value":2418},{"type":17,"tag":70,"props":3461,"children":3462},{"style":675},[3463],{"type":22,"value":2551},{"type":17,"tag":70,"props":3465,"children":3466},{"style":2441},[3467],{"type":22,"value":2522},{"type":17,"tag":70,"props":3469,"children":3470},{"style":1497},[3471],{"type":22,"value":2542},{"type":17,"tag":70,"props":3473,"children":3474},{"style":2441},[3475],{"type":22,"value":2418},{"type":22,"value":2212},{"type":17,"tag":64,"props":3478,"children":3479},{"className":2430,"language":2362,"style":67},[3480,3484,3488,3492,3496,3500,3504],{"type":17,"tag":70,"props":3481,"children":3482},{"style":2441},[3483],{"type":22,"value":2411},{"type":17,"tag":70,"props":3485,"children":3486},{"style":1497},[3487],{"type":22,"value":2575},{"type":17,"tag":70,"props":3489,"children":3490},{"style":2441},[3491],{"type":22,"value":2418},{"type":17,"tag":70,"props":3493,"children":3494},{"style":675},[3495],{"type":22,"value":2584},{"type":17,"tag":70,"props":3497,"children":3498},{"style":2441},[3499],{"type":22,"value":2522},{"type":17,"tag":70,"props":3501,"children":3502},{"style":1497},[3503],{"type":22,"value":2575},{"type":17,"tag":70,"props":3505,"children":3506},{"style":2441},[3507],{"type":22,"value":2418},{"type":22,"value":2212},{"type":17,"tag":64,"props":3510,"children":3511},{"className":2430,"language":2362,"style":67},[3512,3516,3520,3524,3528,3532,3536],{"type":17,"tag":70,"props":3513,"children":3514},{"style":2441},[3515],{"type":22,"value":2411},{"type":17,"tag":70,"props":3517,"children":3518},{"style":1497},[3519],{"type":22,"value":2608},{"type":17,"tag":70,"props":3521,"children":3522},{"style":2441},[3523],{"type":22,"value":2418},{"type":17,"tag":70,"props":3525,"children":3526},{"style":675},[3527],{"type":22,"value":2617},{"type":17,"tag":70,"props":3529,"children":3530},{"style":2441},[3531],{"type":22,"value":2522},{"type":17,"tag":70,"props":3533,"children":3534},{"style":1497},[3535],{"type":22,"value":2608},{"type":17,"tag":70,"props":3537,"children":3538},{"style":2441},[3539],{"type":22,"value":2418},{"type":22,"value":3541}," ir kt. yra tarpusavyje broliniai elementai, o jiems tėvinis yra ",{"type":17,"tag":64,"props":3543,"children":3544},{"className":2430,"language":2362,"style":67},[3545,3549,3553,3557,3561,3565,3569,3573,3577,3581,3585,3589],{"type":17,"tag":70,"props":3546,"children":3547},{"style":2441},[3548],{"type":22,"value":2411},{"type":17,"tag":70,"props":3550,"children":3551},{"style":1497},[3552],{"type":22,"value":2466},{"type":17,"tag":70,"props":3554,"children":3555},{"style":2469},[3556],{"type":22,"value":2472},{"type":17,"tag":70,"props":3558,"children":3559},{"style":2475},[3560],{"type":22,"value":2478},{"type":17,"tag":70,"props":3562,"children":3563},{"style":1043},[3564],{"type":22,"value":1009},{"type":17,"tag":70,"props":3566,"children":3567},{"style":1049},[3568],{"type":22,"value":2487},{"type":17,"tag":70,"props":3570,"children":3571},{"style":1043},[3572],{"type":22,"value":1009},{"type":17,"tag":70,"props":3574,"children":3575},{"style":2441},[3576],{"type":22,"value":2418},{"type":17,"tag":70,"props":3578,"children":3579},{"style":675},[3580],{"type":22,"value":1955},{"type":17,"tag":70,"props":3582,"children":3583},{"style":2441},[3584],{"type":22,"value":2522},{"type":17,"tag":70,"props":3586,"children":3587},{"style":1497},[3588],{"type":22,"value":2466},{"type":17,"tag":70,"props":3590,"children":3591},{"style":2441},[3592],{"type":22,"value":2418},{"type":22,"value":43},{"type":17,"tag":18,"props":3595,"children":3596},{},[3597,3599,3608,3610,3618],{"type":22,"value":3598},"Elementai savyje gali turėti tekstinį turinį, pvz.: ",{"type":17,"tag":64,"props":3600,"children":3603},{"className":3601,"language":3602,"style":67},"language-txt shiki shiki-themes catppuccin-latte material-theme-darker","txt",[3604],{"type":17,"tag":70,"props":3605,"children":3606},{},[3607],{"type":22,"value":3066},{"type":22,"value":3609}," arba atributus ",{"type":17,"tag":64,"props":3611,"children":3612},{"className":2430,"language":2362,"style":67},[3613],{"type":17,"tag":70,"props":3614,"children":3615},{"style":675},[3616],{"type":22,"value":3617},"id=\"bk103\"",{"type":22,"value":43},{"type":17,"tag":25,"props":3620,"children":3622},{"id":3621},"skaitymas-iš-failo",[3623],{"type":22,"value":3624},"Skaitymas iš failo",{"type":17,"tag":18,"props":3626,"children":3627},{},[3628,3630,3644],{"type":22,"value":3629},"Toliau visi darbai bus atliekami su ",{"type":17,"tag":64,"props":3631,"children":3634},{"className":3632,"language":3633,"style":67},"language-python shiki shiki-themes catppuccin-latte material-theme-darker","python",[3635,3639],{"type":17,"tag":70,"props":3636,"children":3637},{"style":987},[3638],{"type":22,"value":43},{"type":17,"tag":70,"props":3640,"children":3642},{"style":3641},"--shiki-default:#4C4F69;--shiki-dark:#F07178",[3643],{"type":22,"value":502},{"type":22,"value":3645}," failais. Padarysime taip, kad faile esantys duomenys, kaip kintamasis (-ieji), atsirastų mūsų programoje. Tokį perkėlimo veiksmą vadinsime failų nuskaitymu.",{"type":17,"tag":18,"props":3647,"children":3648},{},[3649,3651,3665],{"type":22,"value":3650},"Kad atidarytumėme failą, jis turi egzistuoti jūsų įrenginyje, o kode tereikia panaudoti funkciją ",{"type":17,"tag":64,"props":3652,"children":3653},{"className":3632,"language":3633,"style":67},[3654,3660],{"type":17,"tag":70,"props":3655,"children":3657},{"style":3656},"--shiki-default:#FE640B;--shiki-dark:#82AAFF;--shiki-default-font-style:italic;--shiki-dark-font-style:inherit",[3658],{"type":22,"value":3659},"open",{"type":17,"tag":70,"props":3661,"children":3662},{"style":987},[3663],{"type":22,"value":3664},"()",{"type":22,"value":113},{"type":17,"tag":115,"props":3667,"children":3669},{"className":3632,"code":3668,"language":3633,"meta":67,"style":67},"# In programming, there's a common convention to use 'f' as a short name for a file variable.\n# This makes the code easier to read and understand for others who are familiar with this practice.\nf = open(\"data.txt\")\n",[3670],{"type":17,"tag":64,"props":3671,"children":3672},{"__ignoreMap":67},[3673,3681,3689],{"type":17,"tag":70,"props":3674,"children":3675},{"class":124,"line":125},[3676],{"type":17,"tag":70,"props":3677,"children":3678},{"style":693},[3679],{"type":22,"value":3680},"# In programming, there's a common convention to use 'f' as a short name for a file variable.\n",{"type":17,"tag":70,"props":3682,"children":3683},{"class":124,"line":699},[3684],{"type":17,"tag":70,"props":3685,"children":3686},{"style":693},[3687],{"type":22,"value":3688},"# This makes the code easier to read and understand for others who are familiar with this practice.\n",{"type":17,"tag":70,"props":3690,"children":3691},{"class":124,"line":723},[3692,3697,3701,3706,3711,3715,3719,3723],{"type":17,"tag":70,"props":3693,"children":3694},{"style":675},[3695],{"type":22,"value":3696},"f ",{"type":17,"tag":70,"props":3698,"children":3699},{"style":2441},[3700],{"type":22,"value":2478},{"type":17,"tag":70,"props":3702,"children":3703},{"style":3656},[3704],{"type":22,"value":3705}," open",{"type":17,"tag":70,"props":3707,"children":3708},{"style":987},[3709],{"type":22,"value":3710},"(",{"type":17,"tag":70,"props":3712,"children":3713},{"style":1043},[3714],{"type":22,"value":1009},{"type":17,"tag":70,"props":3716,"children":3717},{"style":1049},[3718],{"type":22,"value":111},{"type":17,"tag":70,"props":3720,"children":3721},{"style":1043},[3722],{"type":22,"value":1009},{"type":17,"tag":70,"props":3724,"children":3725},{"style":987},[3726],{"type":22,"value":3727},")\n",{"type":17,"tag":18,"props":3729,"children":3730},{},[3731,3733,3740],{"type":22,"value":3732},"Tarkime, mūsų ",{"type":17,"tag":64,"props":3734,"children":3735},{"className":66,"language":22,"style":67},[3736],{"type":17,"tag":70,"props":3737,"children":3738},{},[3739],{"type":22,"value":111},{"type":22,"value":3741}," faile yra toks tekstas:",{"type":17,"tag":115,"props":3743,"children":3745},{"className":66,"code":3744,"filename":111,"language":22,"meta":67,"style":67},"Hello, World!\n",[3746],{"type":17,"tag":64,"props":3747,"children":3748},{"__ignoreMap":67},[3749],{"type":17,"tag":70,"props":3750,"children":3751},{"class":124,"line":125},[3752],{"type":17,"tag":70,"props":3753,"children":3754},{},[3755],{"type":22,"value":3744},{"type":17,"tag":18,"props":3757,"children":3758},{},[3759,3761,3769],{"type":22,"value":3760},"Jeigu bandytume atspausdinti ",{"type":17,"tag":64,"props":3762,"children":3763},{"className":3632,"language":3633,"style":67},[3764],{"type":17,"tag":70,"props":3765,"children":3766},{"style":675},[3767],{"type":22,"value":3768},"f",{"type":22,"value":3770}," kintamąjį nepamatytumėme teksto. Pamatytumėte kažką panašaus į:",{"type":17,"tag":115,"props":3772,"children":3776},{"className":3773,"code":3774,"language":3775,"meta":67,"style":67},"language-console shiki shiki-themes catppuccin-latte material-theme-darker","\u003C_io.TextIOWrapper name='data.txt' mode='r' encoding='UTF-8'>\n","console",[3777],{"type":17,"tag":64,"props":3778,"children":3779},{"__ignoreMap":67},[3780],{"type":17,"tag":70,"props":3781,"children":3782},{"class":124,"line":125},[3783],{"type":17,"tag":70,"props":3784,"children":3785},{"style":675},[3786],{"type":22,"value":3774},{"type":17,"tag":18,"props":3788,"children":3789},{},[3790,3792,3799],{"type":22,"value":3791},"Šiuo atveju kintamasis ",{"type":17,"tag":64,"props":3793,"children":3794},{"className":3632,"language":3633,"style":67},[3795],{"type":17,"tag":70,"props":3796,"children":3797},{"style":675},[3798],{"type":22,"value":3768},{"type":22,"value":3800}," yra objektas (konkrečiau apie šią sąvoką sužinosite sekančiose pamokose), kuriame saugoma informacija apie atidarytą failą.",{"type":17,"tag":45,"props":3802,"children":3804},{"id":3803},"readline",[3805],{"type":17,"tag":64,"props":3806,"children":3807},{"className":3632,"language":3633,"style":67},[3808,3813],{"type":17,"tag":70,"props":3809,"children":3811},{"style":3810},"--shiki-default:#1E66F5;--shiki-dark:#82AAFF",[3812],{"type":22,"value":3803},{"type":17,"tag":70,"props":3814,"children":3815},{"style":987},[3816],{"type":22,"value":3664},{"type":17,"tag":18,"props":3818,"children":3819},{},[3820],{"type":22,"value":3821},"Anksčiau sukurtu objektu galime pasinaudoti, kad perskaitytumėme informaciją:",{"type":17,"tag":115,"props":3823,"children":3825},{"className":3632,"code":3824,"language":3633,"meta":67,"style":67},"f = open(\"data.txt\")\nline = f.readline()\nprint(line)\n",[3826],{"type":17,"tag":64,"props":3827,"children":3828},{"__ignoreMap":67},[3829,3864,3894],{"type":17,"tag":70,"props":3830,"children":3831},{"class":124,"line":125},[3832,3836,3840,3844,3848,3852,3856,3860],{"type":17,"tag":70,"props":3833,"children":3834},{"style":675},[3835],{"type":22,"value":3696},{"type":17,"tag":70,"props":3837,"children":3838},{"style":2441},[3839],{"type":22,"value":2478},{"type":17,"tag":70,"props":3841,"children":3842},{"style":3656},[3843],{"type":22,"value":3705},{"type":17,"tag":70,"props":3845,"children":3846},{"style":987},[3847],{"type":22,"value":3710},{"type":17,"tag":70,"props":3849,"children":3850},{"style":1043},[3851],{"type":22,"value":1009},{"type":17,"tag":70,"props":3853,"children":3854},{"style":1049},[3855],{"type":22,"value":111},{"type":17,"tag":70,"props":3857,"children":3858},{"style":1043},[3859],{"type":22,"value":1009},{"type":17,"tag":70,"props":3861,"children":3862},{"style":987},[3863],{"type":22,"value":3727},{"type":17,"tag":70,"props":3865,"children":3866},{"class":124,"line":699},[3867,3872,3876,3881,3885,3889],{"type":17,"tag":70,"props":3868,"children":3869},{"style":675},[3870],{"type":22,"value":3871},"line ",{"type":17,"tag":70,"props":3873,"children":3874},{"style":2441},[3875],{"type":22,"value":2478},{"type":17,"tag":70,"props":3877,"children":3878},{"style":675},[3879],{"type":22,"value":3880}," f",{"type":17,"tag":70,"props":3882,"children":3883},{"style":987},[3884],{"type":22,"value":43},{"type":17,"tag":70,"props":3886,"children":3887},{"style":3810},[3888],{"type":22,"value":3803},{"type":17,"tag":70,"props":3890,"children":3891},{"style":987},[3892],{"type":22,"value":3893},"()\n",{"type":17,"tag":70,"props":3895,"children":3896},{"class":124,"line":723},[3897,3902,3906,3911],{"type":17,"tag":70,"props":3898,"children":3899},{"style":3656},[3900],{"type":22,"value":3901},"print",{"type":17,"tag":70,"props":3903,"children":3904},{"style":987},[3905],{"type":22,"value":3710},{"type":17,"tag":70,"props":3907,"children":3909},{"style":3908},"--shiki-default:#4C4F69;--shiki-dark:#82AAFF",[3910],{"type":22,"value":124},{"type":17,"tag":70,"props":3912,"children":3913},{"style":987},[3914],{"type":22,"value":3727},{"type":17,"tag":18,"props":3916,"children":3917},{},[3918,3920,3928,3930,3941,3943,3951],{"type":22,"value":3919},"Terminale turėtumėte pamatyti mūsų tekstą ",{"type":17,"tag":64,"props":3921,"children":3922},{"className":3773,"language":3775,"style":67},[3923],{"type":17,"tag":70,"props":3924,"children":3925},{"style":675},[3926],{"type":22,"value":3927},"Hello, World!",{"type":22,"value":3929},". Šitą eilutę iš duomenų failo gauname su ",{"type":17,"tag":64,"props":3931,"children":3932},{"className":3632,"language":3633,"style":67},[3933,3937],{"type":17,"tag":70,"props":3934,"children":3935},{"style":3810},[3936],{"type":22,"value":3803},{"type":17,"tag":70,"props":3938,"children":3939},{"style":987},[3940],{"type":22,"value":3664},{"type":22,"value":3942}," metodu, o šis grąžina ",{"type":17,"tag":64,"props":3944,"children":3945},{"className":3632,"language":3633,"style":67},[3946],{"type":17,"tag":70,"props":3947,"children":3948},{"style":675},[3949],{"type":22,"value":3950},"string",{"type":22,"value":3952}," tipo reikšmę. Pagal pavadinimą, galite suprasti, kad perskaito vieną eilutę (ir tik vieną!).",{"type":17,"tag":3954,"props":3955,"children":3957},"h4",{"id":3956},"failo-pabaiga",[3958],{"type":22,"value":3959},"Failo pabaiga",{"type":17,"tag":18,"props":3961,"children":3962},{},[3963],{"type":22,"value":3964},"Kas bus jeigu perskaitysime daugiau eilučių negu yra faile?",{"type":17,"tag":115,"props":3966,"children":3968},{"className":3632,"code":3967,"language":3633,"meta":67,"style":67},"f = open(\"data.txt\")\nline = f.readline() # 1st read\nprint(line)\n\nline = f.readline() # 2nd read\nprint(line)\n\nline = f.readline() # 3rd read\nprint(line)\n",[3969],{"type":17,"tag":64,"props":3970,"children":3971},{"__ignoreMap":67},[3972,4007,4039,4058,4067,4099,4118,4125,4157],{"type":17,"tag":70,"props":3973,"children":3974},{"class":124,"line":125},[3975,3979,3983,3987,3991,3995,3999,4003],{"type":17,"tag":70,"props":3976,"children":3977},{"style":675},[3978],{"type":22,"value":3696},{"type":17,"tag":70,"props":3980,"children":3981},{"style":2441},[3982],{"type":22,"value":2478},{"type":17,"tag":70,"props":3984,"children":3985},{"style":3656},[3986],{"type":22,"value":3705},{"type":17,"tag":70,"props":3988,"children":3989},{"style":987},[3990],{"type":22,"value":3710},{"type":17,"tag":70,"props":3992,"children":3993},{"style":1043},[3994],{"type":22,"value":1009},{"type":17,"tag":70,"props":3996,"children":3997},{"style":1049},[3998],{"type":22,"value":111},{"type":17,"tag":70,"props":4000,"children":4001},{"style":1043},[4002],{"type":22,"value":1009},{"type":17,"tag":70,"props":4004,"children":4005},{"style":987},[4006],{"type":22,"value":3727},{"type":17,"tag":70,"props":4008,"children":4009},{"class":124,"line":699},[4010,4014,4018,4022,4026,4030,4034],{"type":17,"tag":70,"props":4011,"children":4012},{"style":675},[4013],{"type":22,"value":3871},{"type":17,"tag":70,"props":4015,"children":4016},{"style":2441},[4017],{"type":22,"value":2478},{"type":17,"tag":70,"props":4019,"children":4020},{"style":675},[4021],{"type":22,"value":3880},{"type":17,"tag":70,"props":4023,"children":4024},{"style":987},[4025],{"type":22,"value":43},{"type":17,"tag":70,"props":4027,"children":4028},{"style":3810},[4029],{"type":22,"value":3803},{"type":17,"tag":70,"props":4031,"children":4032},{"style":987},[4033],{"type":22,"value":3664},{"type":17,"tag":70,"props":4035,"children":4036},{"style":693},[4037],{"type":22,"value":4038}," # 1st read\n",{"type":17,"tag":70,"props":4040,"children":4041},{"class":124,"line":723},[4042,4046,4050,4054],{"type":17,"tag":70,"props":4043,"children":4044},{"style":3656},[4045],{"type":22,"value":3901},{"type":17,"tag":70,"props":4047,"children":4048},{"style":987},[4049],{"type":22,"value":3710},{"type":17,"tag":70,"props":4051,"children":4052},{"style":3908},[4053],{"type":22,"value":124},{"type":17,"tag":70,"props":4055,"children":4056},{"style":987},[4057],{"type":22,"value":3727},{"type":17,"tag":70,"props":4059,"children":4060},{"class":124,"line":747},[4061],{"type":17,"tag":70,"props":4062,"children":4064},{"emptyLinePlaceholder":4063},true,[4065],{"type":22,"value":4066},"\n",{"type":17,"tag":70,"props":4068,"children":4069},{"class":124,"line":1101},[4070,4074,4078,4082,4086,4090,4094],{"type":17,"tag":70,"props":4071,"children":4072},{"style":675},[4073],{"type":22,"value":3871},{"type":17,"tag":70,"props":4075,"children":4076},{"style":2441},[4077],{"type":22,"value":2478},{"type":17,"tag":70,"props":4079,"children":4080},{"style":675},[4081],{"type":22,"value":3880},{"type":17,"tag":70,"props":4083,"children":4084},{"style":987},[4085],{"type":22,"value":43},{"type":17,"tag":70,"props":4087,"children":4088},{"style":3810},[4089],{"type":22,"value":3803},{"type":17,"tag":70,"props":4091,"children":4092},{"style":987},[4093],{"type":22,"value":3664},{"type":17,"tag":70,"props":4095,"children":4096},{"style":693},[4097],{"type":22,"value":4098}," # 2nd read\n",{"type":17,"tag":70,"props":4100,"children":4101},{"class":124,"line":1139},[4102,4106,4110,4114],{"type":17,"tag":70,"props":4103,"children":4104},{"style":3656},[4105],{"type":22,"value":3901},{"type":17,"tag":70,"props":4107,"children":4108},{"style":987},[4109],{"type":22,"value":3710},{"type":17,"tag":70,"props":4111,"children":4112},{"style":3908},[4113],{"type":22,"value":124},{"type":17,"tag":70,"props":4115,"children":4116},{"style":987},[4117],{"type":22,"value":3727},{"type":17,"tag":70,"props":4119,"children":4120},{"class":124,"line":1177},[4121],{"type":17,"tag":70,"props":4122,"children":4123},{"emptyLinePlaceholder":4063},[4124],{"type":22,"value":4066},{"type":17,"tag":70,"props":4126,"children":4127},{"class":124,"line":1215},[4128,4132,4136,4140,4144,4148,4152],{"type":17,"tag":70,"props":4129,"children":4130},{"style":675},[4131],{"type":22,"value":3871},{"type":17,"tag":70,"props":4133,"children":4134},{"style":2441},[4135],{"type":22,"value":2478},{"type":17,"tag":70,"props":4137,"children":4138},{"style":675},[4139],{"type":22,"value":3880},{"type":17,"tag":70,"props":4141,"children":4142},{"style":987},[4143],{"type":22,"value":43},{"type":17,"tag":70,"props":4145,"children":4146},{"style":3810},[4147],{"type":22,"value":3803},{"type":17,"tag":70,"props":4149,"children":4150},{"style":987},[4151],{"type":22,"value":3664},{"type":17,"tag":70,"props":4153,"children":4154},{"style":693},[4155],{"type":22,"value":4156}," # 3rd read\n",{"type":17,"tag":70,"props":4158,"children":4159},{"class":124,"line":1240},[4160,4164,4168,4172],{"type":17,"tag":70,"props":4161,"children":4162},{"style":3656},[4163],{"type":22,"value":3901},{"type":17,"tag":70,"props":4165,"children":4166},{"style":987},[4167],{"type":22,"value":3710},{"type":17,"tag":70,"props":4169,"children":4170},{"style":3908},[4171],{"type":22,"value":124},{"type":17,"tag":70,"props":4173,"children":4174},{"style":987},[4175],{"type":22,"value":3727},{"type":17,"tag":18,"props":4177,"children":4178},{},[4179,4181,4192,4194,4203],{"type":22,"value":4180},"Metodas ",{"type":17,"tag":64,"props":4182,"children":4183},{"className":3632,"language":3633,"style":67},[4184,4188],{"type":17,"tag":70,"props":4185,"children":4186},{"style":3810},[4187],{"type":22,"value":3803},{"type":17,"tag":70,"props":4189,"children":4190},{"style":987},[4191],{"type":22,"value":3664},{"type":22,"value":4193}," gražins tuščią eilutę ",{"type":17,"tag":64,"props":4195,"children":4196},{"className":3632,"language":3633,"style":67},[4197],{"type":17,"tag":70,"props":4198,"children":4200},{"style":4199},"--shiki-default:#40A02B;--shiki-dark:#89DDFF;--shiki-default-font-style:inherit;--shiki-dark-font-style:italic",[4201],{"type":22,"value":4202},"\"\"",{"type":22,"value":113},{"type":17,"tag":115,"props":4205,"children":4207},{"className":3773,"code":4206,"language":3775,"meta":67,"style":67},"Hello, World!\n\n\n⁤\n",[4208],{"type":17,"tag":64,"props":4209,"children":4210},{"__ignoreMap":67},[4211,4218,4225,4232],{"type":17,"tag":70,"props":4212,"children":4213},{"class":124,"line":125},[4214],{"type":17,"tag":70,"props":4215,"children":4216},{"style":675},[4217],{"type":22,"value":3744},{"type":17,"tag":70,"props":4219,"children":4220},{"class":124,"line":699},[4221],{"type":17,"tag":70,"props":4222,"children":4223},{"emptyLinePlaceholder":4063},[4224],{"type":22,"value":4066},{"type":17,"tag":70,"props":4226,"children":4227},{"class":124,"line":723},[4228],{"type":17,"tag":70,"props":4229,"children":4230},{"emptyLinePlaceholder":4063},[4231],{"type":22,"value":4066},{"type":17,"tag":70,"props":4233,"children":4234},{"class":124,"line":747},[4235],{"type":17,"tag":70,"props":4236,"children":4237},{"style":675},[4238],{"type":22,"value":4239},"⁤\n",{"type":17,"tag":18,"props":4241,"children":4242},{},[4243,4245,4256],{"type":22,"value":4244},"Tai reiškias ",{"type":17,"tag":64,"props":4246,"children":4247},{"className":3632,"language":3633,"style":67},[4248,4252],{"type":17,"tag":70,"props":4249,"children":4250},{"style":3810},[4251],{"type":22,"value":3803},{"type":17,"tag":70,"props":4253,"children":4254},{"style":987},[4255],{"type":22,"value":3664},{"type":22,"value":4257}," galima skaityti visą failą, o jeigu jis baigsis metodas gražins tuščią eilutę.",{"type":17,"tag":18,"props":4259,"children":4260},{},[4261],{"type":22,"value":4262},"O kas jeigu faile kažkur viduryje yra tuščia eilutė?",{"type":17,"tag":3954,"props":4264,"children":4266},{"id":4265},"keletas-readline-iškvietimų",[4267,4269,4280],{"type":22,"value":4268},"Keletas ",{"type":17,"tag":64,"props":4270,"children":4271},{"className":3632,"language":3633,"style":67},[4272,4276],{"type":17,"tag":70,"props":4273,"children":4274},{"style":3810},[4275],{"type":22,"value":3803},{"type":17,"tag":70,"props":4277,"children":4278},{"style":987},[4279],{"type":22,"value":3664},{"type":22,"value":4281}," iškvietimų",{"type":17,"tag":18,"props":4283,"children":4284},{},[4285],{"type":22,"value":4286},"Tarkime turime didesnį failą:",{"type":17,"tag":115,"props":4288,"children":4291},{"className":66,"code":4289,"filename":4290,"language":22,"meta":67,"style":67},"My mother was a tailor\nShe sewed my new blue jeans\nMy father was a gamblin' man\nDown in New Orleans\n\nNow the only thing a gambler needs\nIs a suitcase and a trunk\nAnd the only time he's satisfied\nIs when he's on a trump\nOh mother, tell your children\nNot to do what I have done\nSpend your lives in sin and misery\nIn the house of The Rising Sun\n","bigger_data.txt",[4292],{"type":17,"tag":64,"props":4293,"children":4294},{"__ignoreMap":67},[4295,4303,4311,4319,4327,4334,4342,4350,4358,4366,4374,4382,4390],{"type":17,"tag":70,"props":4296,"children":4297},{"class":124,"line":125},[4298],{"type":17,"tag":70,"props":4299,"children":4300},{},[4301],{"type":22,"value":4302},"My mother was a tailor\n",{"type":17,"tag":70,"props":4304,"children":4305},{"class":124,"line":699},[4306],{"type":17,"tag":70,"props":4307,"children":4308},{},[4309],{"type":22,"value":4310},"She sewed my new blue jeans\n",{"type":17,"tag":70,"props":4312,"children":4313},{"class":124,"line":723},[4314],{"type":17,"tag":70,"props":4315,"children":4316},{},[4317],{"type":22,"value":4318},"My father was a gamblin' man\n",{"type":17,"tag":70,"props":4320,"children":4321},{"class":124,"line":747},[4322],{"type":17,"tag":70,"props":4323,"children":4324},{},[4325],{"type":22,"value":4326},"Down in New Orleans\n",{"type":17,"tag":70,"props":4328,"children":4329},{"class":124,"line":1101},[4330],{"type":17,"tag":70,"props":4331,"children":4332},{"emptyLinePlaceholder":4063},[4333],{"type":22,"value":4066},{"type":17,"tag":70,"props":4335,"children":4336},{"class":124,"line":1139},[4337],{"type":17,"tag":70,"props":4338,"children":4339},{},[4340],{"type":22,"value":4341},"Now the only thing a gambler needs\n",{"type":17,"tag":70,"props":4343,"children":4344},{"class":124,"line":1177},[4345],{"type":17,"tag":70,"props":4346,"children":4347},{},[4348],{"type":22,"value":4349},"Is a suitcase and a trunk\n",{"type":17,"tag":70,"props":4351,"children":4352},{"class":124,"line":1215},[4353],{"type":17,"tag":70,"props":4354,"children":4355},{},[4356],{"type":22,"value":4357},"And the only time he's satisfied\n",{"type":17,"tag":70,"props":4359,"children":4360},{"class":124,"line":1240},[4361],{"type":17,"tag":70,"props":4362,"children":4363},{},[4364],{"type":22,"value":4365},"Is when he's on a trump\n",{"type":17,"tag":70,"props":4367,"children":4368},{"class":124,"line":1280},[4369],{"type":17,"tag":70,"props":4370,"children":4371},{},[4372],{"type":22,"value":4373},"Oh mother, tell your children\n",{"type":17,"tag":70,"props":4375,"children":4376},{"class":124,"line":1318},[4377],{"type":17,"tag":70,"props":4378,"children":4379},{},[4380],{"type":22,"value":4381},"Not to do what I have done\n",{"type":17,"tag":70,"props":4383,"children":4384},{"class":124,"line":1356},[4385],{"type":17,"tag":70,"props":4386,"children":4387},{},[4388],{"type":22,"value":4389},"Spend your lives in sin and misery\n",{"type":17,"tag":70,"props":4391,"children":4392},{"class":124,"line":1391},[4393],{"type":17,"tag":70,"props":4394,"children":4395},{},[4396],{"type":22,"value":4397},"In the house of The Rising Sun\n",{"type":17,"tag":18,"props":4399,"children":4400},{},[4401,4403,4414],{"type":22,"value":4402},"Kad galėtume su ",{"type":17,"tag":64,"props":4404,"children":4405},{"className":3632,"language":3633,"style":67},[4406,4410],{"type":17,"tag":70,"props":4407,"children":4408},{"style":3810},[4409],{"type":22,"value":3803},{"type":17,"tag":70,"props":4411,"children":4412},{"style":987},[4413],{"type":22,"value":3664},{"type":22,"value":4415}," metodu perskaityti šešias eilutes, mums reikią šį metodą panaudoti penkis kartus. Perskaičius eilutę, kitą kartą skaitant, yra perskaitoma sekanti:",{"type":17,"tag":115,"props":4417,"children":4419},{"className":3632,"code":4418,"language":3633,"meta":67,"style":67},"f = open(\"bigger_data.txt\")\nprint(f.readline()) # line 1\nprint(f.readline()) # line 2\nprint(f.readline()) # line 3\nprint(f.readline()) # line 4\nprint(f.readline()) # line 5\nprint(f.readline()) # line 6\n",[4420],{"type":17,"tag":64,"props":4421,"children":4422},{"__ignoreMap":67},[4423,4458,4491,4523,4555,4587,4619],{"type":17,"tag":70,"props":4424,"children":4425},{"class":124,"line":125},[4426,4430,4434,4438,4442,4446,4450,4454],{"type":17,"tag":70,"props":4427,"children":4428},{"style":675},[4429],{"type":22,"value":3696},{"type":17,"tag":70,"props":4431,"children":4432},{"style":2441},[4433],{"type":22,"value":2478},{"type":17,"tag":70,"props":4435,"children":4436},{"style":3656},[4437],{"type":22,"value":3705},{"type":17,"tag":70,"props":4439,"children":4440},{"style":987},[4441],{"type":22,"value":3710},{"type":17,"tag":70,"props":4443,"children":4444},{"style":1043},[4445],{"type":22,"value":1009},{"type":17,"tag":70,"props":4447,"children":4448},{"style":1049},[4449],{"type":22,"value":4290},{"type":17,"tag":70,"props":4451,"children":4452},{"style":1043},[4453],{"type":22,"value":1009},{"type":17,"tag":70,"props":4455,"children":4456},{"style":987},[4457],{"type":22,"value":3727},{"type":17,"tag":70,"props":4459,"children":4460},{"class":124,"line":699},[4461,4465,4469,4473,4477,4481,4486],{"type":17,"tag":70,"props":4462,"children":4463},{"style":3656},[4464],{"type":22,"value":3901},{"type":17,"tag":70,"props":4466,"children":4467},{"style":987},[4468],{"type":22,"value":3710},{"type":17,"tag":70,"props":4470,"children":4471},{"style":3908},[4472],{"type":22,"value":3768},{"type":17,"tag":70,"props":4474,"children":4475},{"style":987},[4476],{"type":22,"value":43},{"type":17,"tag":70,"props":4478,"children":4479},{"style":3810},[4480],{"type":22,"value":3803},{"type":17,"tag":70,"props":4482,"children":4483},{"style":987},[4484],{"type":22,"value":4485},"())",{"type":17,"tag":70,"props":4487,"children":4488},{"style":693},[4489],{"type":22,"value":4490}," # line 1\n",{"type":17,"tag":70,"props":4492,"children":4493},{"class":124,"line":723},[4494,4498,4502,4506,4510,4514,4518],{"type":17,"tag":70,"props":4495,"children":4496},{"style":3656},[4497],{"type":22,"value":3901},{"type":17,"tag":70,"props":4499,"children":4500},{"style":987},[4501],{"type":22,"value":3710},{"type":17,"tag":70,"props":4503,"children":4504},{"style":3908},[4505],{"type":22,"value":3768},{"type":17,"tag":70,"props":4507,"children":4508},{"style":987},[4509],{"type":22,"value":43},{"type":17,"tag":70,"props":4511,"children":4512},{"style":3810},[4513],{"type":22,"value":3803},{"type":17,"tag":70,"props":4515,"children":4516},{"style":987},[4517],{"type":22,"value":4485},{"type":17,"tag":70,"props":4519,"children":4520},{"style":693},[4521],{"type":22,"value":4522}," # line 2\n",{"type":17,"tag":70,"props":4524,"children":4525},{"class":124,"line":747},[4526,4530,4534,4538,4542,4546,4550],{"type":17,"tag":70,"props":4527,"children":4528},{"style":3656},[4529],{"type":22,"value":3901},{"type":17,"tag":70,"props":4531,"children":4532},{"style":987},[4533],{"type":22,"value":3710},{"type":17,"tag":70,"props":4535,"children":4536},{"style":3908},[4537],{"type":22,"value":3768},{"type":17,"tag":70,"props":4539,"children":4540},{"style":987},[4541],{"type":22,"value":43},{"type":17,"tag":70,"props":4543,"children":4544},{"style":3810},[4545],{"type":22,"value":3803},{"type":17,"tag":70,"props":4547,"children":4548},{"style":987},[4549],{"type":22,"value":4485},{"type":17,"tag":70,"props":4551,"children":4552},{"style":693},[4553],{"type":22,"value":4554}," # line 3\n",{"type":17,"tag":70,"props":4556,"children":4557},{"class":124,"line":1101},[4558,4562,4566,4570,4574,4578,4582],{"type":17,"tag":70,"props":4559,"children":4560},{"style":3656},[4561],{"type":22,"value":3901},{"type":17,"tag":70,"props":4563,"children":4564},{"style":987},[4565],{"type":22,"value":3710},{"type":17,"tag":70,"props":4567,"children":4568},{"style":3908},[4569],{"type":22,"value":3768},{"type":17,"tag":70,"props":4571,"children":4572},{"style":987},[4573],{"type":22,"value":43},{"type":17,"tag":70,"props":4575,"children":4576},{"style":3810},[4577],{"type":22,"value":3803},{"type":17,"tag":70,"props":4579,"children":4580},{"style":987},[4581],{"type":22,"value":4485},{"type":17,"tag":70,"props":4583,"children":4584},{"style":693},[4585],{"type":22,"value":4586}," # line 4\n",{"type":17,"tag":70,"props":4588,"children":4589},{"class":124,"line":1139},[4590,4594,4598,4602,4606,4610,4614],{"type":17,"tag":70,"props":4591,"children":4592},{"style":3656},[4593],{"type":22,"value":3901},{"type":17,"tag":70,"props":4595,"children":4596},{"style":987},[4597],{"type":22,"value":3710},{"type":17,"tag":70,"props":4599,"children":4600},{"style":3908},[4601],{"type":22,"value":3768},{"type":17,"tag":70,"props":4603,"children":4604},{"style":987},[4605],{"type":22,"value":43},{"type":17,"tag":70,"props":4607,"children":4608},{"style":3810},[4609],{"type":22,"value":3803},{"type":17,"tag":70,"props":4611,"children":4612},{"style":987},[4613],{"type":22,"value":4485},{"type":17,"tag":70,"props":4615,"children":4616},{"style":693},[4617],{"type":22,"value":4618}," # line 5\n",{"type":17,"tag":70,"props":4620,"children":4621},{"class":124,"line":1177},[4622,4626,4630,4634,4638,4642,4646],{"type":17,"tag":70,"props":4623,"children":4624},{"style":3656},[4625],{"type":22,"value":3901},{"type":17,"tag":70,"props":4627,"children":4628},{"style":987},[4629],{"type":22,"value":3710},{"type":17,"tag":70,"props":4631,"children":4632},{"style":3908},[4633],{"type":22,"value":3768},{"type":17,"tag":70,"props":4635,"children":4636},{"style":987},[4637],{"type":22,"value":43},{"type":17,"tag":70,"props":4639,"children":4640},{"style":3810},[4641],{"type":22,"value":3803},{"type":17,"tag":70,"props":4643,"children":4644},{"style":987},[4645],{"type":22,"value":4485},{"type":17,"tag":70,"props":4647,"children":4648},{"style":693},[4649],{"type":22,"value":4650}," # line 6\n",{"type":17,"tag":18,"props":4652,"children":4653},{},[4654],{"type":22,"value":4655},"Perskaičius ir atspausdintus 6 eilutes iš failo, gauname tokį rezultatą",{"type":17,"tag":115,"props":4657,"children":4659},{"className":3773,"code":4658,"language":3775,"meta":67,"style":67},"My mother was a tailor\n\nShe sewed my new blue jeans\n\nMy father was a gamblin' man\n\nDown in New Orleans\n\n\n\nNow the only thing a gambler needs\n⁤\n",[4660],{"type":17,"tag":64,"props":4661,"children":4662},{"__ignoreMap":67},[4663,4670,4677,4684,4691,4698,4705,4712,4719,4726,4733,4740],{"type":17,"tag":70,"props":4664,"children":4665},{"class":124,"line":125},[4666],{"type":17,"tag":70,"props":4667,"children":4668},{"style":675},[4669],{"type":22,"value":4302},{"type":17,"tag":70,"props":4671,"children":4672},{"class":124,"line":699},[4673],{"type":17,"tag":70,"props":4674,"children":4675},{"emptyLinePlaceholder":4063},[4676],{"type":22,"value":4066},{"type":17,"tag":70,"props":4678,"children":4679},{"class":124,"line":723},[4680],{"type":17,"tag":70,"props":4681,"children":4682},{"style":675},[4683],{"type":22,"value":4310},{"type":17,"tag":70,"props":4685,"children":4686},{"class":124,"line":747},[4687],{"type":17,"tag":70,"props":4688,"children":4689},{"emptyLinePlaceholder":4063},[4690],{"type":22,"value":4066},{"type":17,"tag":70,"props":4692,"children":4693},{"class":124,"line":1101},[4694],{"type":17,"tag":70,"props":4695,"children":4696},{"style":675},[4697],{"type":22,"value":4318},{"type":17,"tag":70,"props":4699,"children":4700},{"class":124,"line":1139},[4701],{"type":17,"tag":70,"props":4702,"children":4703},{"emptyLinePlaceholder":4063},[4704],{"type":22,"value":4066},{"type":17,"tag":70,"props":4706,"children":4707},{"class":124,"line":1177},[4708],{"type":17,"tag":70,"props":4709,"children":4710},{"style":675},[4711],{"type":22,"value":4326},{"type":17,"tag":70,"props":4713,"children":4714},{"class":124,"line":1215},[4715],{"type":17,"tag":70,"props":4716,"children":4717},{"emptyLinePlaceholder":4063},[4718],{"type":22,"value":4066},{"type":17,"tag":70,"props":4720,"children":4721},{"class":124,"line":1240},[4722],{"type":17,"tag":70,"props":4723,"children":4724},{"emptyLinePlaceholder":4063},[4725],{"type":22,"value":4066},{"type":17,"tag":70,"props":4727,"children":4728},{"class":124,"line":1280},[4729],{"type":17,"tag":70,"props":4730,"children":4731},{"emptyLinePlaceholder":4063},[4732],{"type":22,"value":4066},{"type":17,"tag":70,"props":4734,"children":4735},{"class":124,"line":1318},[4736],{"type":17,"tag":70,"props":4737,"children":4738},{"style":675},[4739],{"type":22,"value":4341},{"type":17,"tag":70,"props":4741,"children":4742},{"class":124,"line":1356},[4743],{"type":17,"tag":70,"props":4744,"children":4745},{"style":675},[4746],{"type":22,"value":4239},{"type":17,"tag":18,"props":4748,"children":4749},{},[4750,4752,4756,4758,4766,4768,4779,4781,4788,4790,4801],{"type":22,"value":4751},"Gauname daug perteklinių tarpų. Jie atsiranda dėl to, kad faile, eilutės gale (ten, kur paspaudžiamas ",{"type":17,"tag":775,"props":4753,"children":4755},{":keys":4754},"[\"enter\"]",[],{"type":22,"value":4757}," klavišas) yra naujos eilutės simbolis ",{"type":17,"tag":64,"props":4759,"children":4760},{"className":66,"language":22,"style":67},[4761],{"type":17,"tag":70,"props":4762,"children":4763},{},[4764],{"type":22,"value":4765},"\\n",{"type":22,"value":4767},". Tai ",{"type":17,"tag":64,"props":4769,"children":4770},{"className":3632,"language":3633,"style":67},[4771,4775],{"type":17,"tag":70,"props":4772,"children":4773},{"style":3656},[4774],{"type":22,"value":3901},{"type":17,"tag":70,"props":4776,"children":4777},{"style":987},[4778],{"type":22,"value":3664},{"type":22,"value":4780}," funkcija ir naujos eilutės simbolis ",{"type":17,"tag":64,"props":4782,"children":4783},{"className":66,"language":22,"style":67},[4784],{"type":17,"tag":70,"props":4785,"children":4786},{},[4787],{"type":22,"value":4765},{"type":22,"value":4789}," kartu duoda dvigubą naują eilutę. Kad jos išvengtume galima pašalinti iš perskaitytos eilutės tą simbolį arba ",{"type":17,"tag":64,"props":4791,"children":4792},{"className":3632,"language":3633,"style":67},[4793,4797],{"type":17,"tag":70,"props":4794,"children":4795},{"style":3656},[4796],{"type":22,"value":3901},{"type":17,"tag":70,"props":4798,"children":4799},{"style":987},[4800],{"type":22,"value":3664},{"type":22,"value":4802}," funkcijoje neišvedinėti (numatyto) naujos eilutės simbolio:",{"type":17,"tag":115,"props":4804,"children":4806},{"className":3632,"code":4805,"language":3633,"meta":67,"style":67},"f = open(\"bigger_data.txt\")\nprint(f.readline().replace(\"\\n\", \"\")) # line 1, method 1\nprint(f.readline().replace(\"\\n\", \"\")) # line 2, method 1\nprint(f.readline().replace(\"\\n\", \"\")) # line 3, method 1\nprint(f.readline(), end=\"\") # line 4, method 2\nprint(f.readline(), end=\"\") # line 5, method 2\nprint(f.readline(), end=\"\") # line 6, method 2\n",[4807],{"type":17,"tag":64,"props":4808,"children":4809},{"__ignoreMap":67},[4810,4845,4914,4978,5042,5094,5142],{"type":17,"tag":70,"props":4811,"children":4812},{"class":124,"line":125},[4813,4817,4821,4825,4829,4833,4837,4841],{"type":17,"tag":70,"props":4814,"children":4815},{"style":675},[4816],{"type":22,"value":3696},{"type":17,"tag":70,"props":4818,"children":4819},{"style":2441},[4820],{"type":22,"value":2478},{"type":17,"tag":70,"props":4822,"children":4823},{"style":3656},[4824],{"type":22,"value":3705},{"type":17,"tag":70,"props":4826,"children":4827},{"style":987},[4828],{"type":22,"value":3710},{"type":17,"tag":70,"props":4830,"children":4831},{"style":1043},[4832],{"type":22,"value":1009},{"type":17,"tag":70,"props":4834,"children":4835},{"style":1049},[4836],{"type":22,"value":4290},{"type":17,"tag":70,"props":4838,"children":4839},{"style":1043},[4840],{"type":22,"value":1009},{"type":17,"tag":70,"props":4842,"children":4843},{"style":987},[4844],{"type":22,"value":3727},{"type":17,"tag":70,"props":4846,"children":4847},{"class":124,"line":699},[4848,4852,4856,4860,4864,4868,4873,4878,4882,4886,4891,4895,4899,4904,4909],{"type":17,"tag":70,"props":4849,"children":4850},{"style":3656},[4851],{"type":22,"value":3901},{"type":17,"tag":70,"props":4853,"children":4854},{"style":987},[4855],{"type":22,"value":3710},{"type":17,"tag":70,"props":4857,"children":4858},{"style":3908},[4859],{"type":22,"value":3768},{"type":17,"tag":70,"props":4861,"children":4862},{"style":987},[4863],{"type":22,"value":43},{"type":17,"tag":70,"props":4865,"children":4866},{"style":3810},[4867],{"type":22,"value":3803},{"type":17,"tag":70,"props":4869,"children":4870},{"style":987},[4871],{"type":22,"value":4872},"().",{"type":17,"tag":70,"props":4874,"children":4875},{"style":3810},[4876],{"type":22,"value":4877},"replace",{"type":17,"tag":70,"props":4879,"children":4880},{"style":987},[4881],{"type":22,"value":3710},{"type":17,"tag":70,"props":4883,"children":4884},{"style":1043},[4885],{"type":22,"value":1009},{"type":17,"tag":70,"props":4887,"children":4889},{"style":4888},"--shiki-default:#EA76CB;--shiki-dark:#EEFFFF",[4890],{"type":22,"value":4765},{"type":17,"tag":70,"props":4892,"children":4893},{"style":1043},[4894],{"type":22,"value":1009},{"type":17,"tag":70,"props":4896,"children":4897},{"style":987},[4898],{"type":22,"value":2139},{"type":17,"tag":70,"props":4900,"children":4901},{"style":1043},[4902],{"type":22,"value":4903}," \"\"",{"type":17,"tag":70,"props":4905,"children":4906},{"style":987},[4907],{"type":22,"value":4908},"))",{"type":17,"tag":70,"props":4910,"children":4911},{"style":693},[4912],{"type":22,"value":4913}," # line 1, method 1\n",{"type":17,"tag":70,"props":4915,"children":4916},{"class":124,"line":723},[4917,4921,4925,4929,4933,4937,4941,4945,4949,4953,4957,4961,4965,4969,4973],{"type":17,"tag":70,"props":4918,"children":4919},{"style":3656},[4920],{"type":22,"value":3901},{"type":17,"tag":70,"props":4922,"children":4923},{"style":987},[4924],{"type":22,"value":3710},{"type":17,"tag":70,"props":4926,"children":4927},{"style":3908},[4928],{"type":22,"value":3768},{"type":17,"tag":70,"props":4930,"children":4931},{"style":987},[4932],{"type":22,"value":43},{"type":17,"tag":70,"props":4934,"children":4935},{"style":3810},[4936],{"type":22,"value":3803},{"type":17,"tag":70,"props":4938,"children":4939},{"style":987},[4940],{"type":22,"value":4872},{"type":17,"tag":70,"props":4942,"children":4943},{"style":3810},[4944],{"type":22,"value":4877},{"type":17,"tag":70,"props":4946,"children":4947},{"style":987},[4948],{"type":22,"value":3710},{"type":17,"tag":70,"props":4950,"children":4951},{"style":1043},[4952],{"type":22,"value":1009},{"type":17,"tag":70,"props":4954,"children":4955},{"style":4888},[4956],{"type":22,"value":4765},{"type":17,"tag":70,"props":4958,"children":4959},{"style":1043},[4960],{"type":22,"value":1009},{"type":17,"tag":70,"props":4962,"children":4963},{"style":987},[4964],{"type":22,"value":2139},{"type":17,"tag":70,"props":4966,"children":4967},{"style":1043},[4968],{"type":22,"value":4903},{"type":17,"tag":70,"props":4970,"children":4971},{"style":987},[4972],{"type":22,"value":4908},{"type":17,"tag":70,"props":4974,"children":4975},{"style":693},[4976],{"type":22,"value":4977}," # line 2, method 1\n",{"type":17,"tag":70,"props":4979,"children":4980},{"class":124,"line":747},[4981,4985,4989,4993,4997,5001,5005,5009,5013,5017,5021,5025,5029,5033,5037],{"type":17,"tag":70,"props":4982,"children":4983},{"style":3656},[4984],{"type":22,"value":3901},{"type":17,"tag":70,"props":4986,"children":4987},{"style":987},[4988],{"type":22,"value":3710},{"type":17,"tag":70,"props":4990,"children":4991},{"style":3908},[4992],{"type":22,"value":3768},{"type":17,"tag":70,"props":4994,"children":4995},{"style":987},[4996],{"type":22,"value":43},{"type":17,"tag":70,"props":4998,"children":4999},{"style":3810},[5000],{"type":22,"value":3803},{"type":17,"tag":70,"props":5002,"children":5003},{"style":987},[5004],{"type":22,"value":4872},{"type":17,"tag":70,"props":5006,"children":5007},{"style":3810},[5008],{"type":22,"value":4877},{"type":17,"tag":70,"props":5010,"children":5011},{"style":987},[5012],{"type":22,"value":3710},{"type":17,"tag":70,"props":5014,"children":5015},{"style":1043},[5016],{"type":22,"value":1009},{"type":17,"tag":70,"props":5018,"children":5019},{"style":4888},[5020],{"type":22,"value":4765},{"type":17,"tag":70,"props":5022,"children":5023},{"style":1043},[5024],{"type":22,"value":1009},{"type":17,"tag":70,"props":5026,"children":5027},{"style":987},[5028],{"type":22,"value":2139},{"type":17,"tag":70,"props":5030,"children":5031},{"style":1043},[5032],{"type":22,"value":4903},{"type":17,"tag":70,"props":5034,"children":5035},{"style":987},[5036],{"type":22,"value":4908},{"type":17,"tag":70,"props":5038,"children":5039},{"style":693},[5040],{"type":22,"value":5041}," # line 3, method 1\n",{"type":17,"tag":70,"props":5043,"children":5044},{"class":124,"line":1101},[5045,5049,5053,5057,5061,5065,5070,5076,5080,5084,5089],{"type":17,"tag":70,"props":5046,"children":5047},{"style":3656},[5048],{"type":22,"value":3901},{"type":17,"tag":70,"props":5050,"children":5051},{"style":987},[5052],{"type":22,"value":3710},{"type":17,"tag":70,"props":5054,"children":5055},{"style":3908},[5056],{"type":22,"value":3768},{"type":17,"tag":70,"props":5058,"children":5059},{"style":987},[5060],{"type":22,"value":43},{"type":17,"tag":70,"props":5062,"children":5063},{"style":3810},[5064],{"type":22,"value":3803},{"type":17,"tag":70,"props":5066,"children":5067},{"style":987},[5068],{"type":22,"value":5069},"(),",{"type":17,"tag":70,"props":5071,"children":5073},{"style":5072},"--shiki-default:#E64553;--shiki-dark:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[5074],{"type":22,"value":5075}," end",{"type":17,"tag":70,"props":5077,"children":5078},{"style":2441},[5079],{"type":22,"value":2478},{"type":17,"tag":70,"props":5081,"children":5082},{"style":1043},[5083],{"type":22,"value":4202},{"type":17,"tag":70,"props":5085,"children":5086},{"style":987},[5087],{"type":22,"value":5088},")",{"type":17,"tag":70,"props":5090,"children":5091},{"style":693},[5092],{"type":22,"value":5093}," # line 4, method 2\n",{"type":17,"tag":70,"props":5095,"children":5096},{"class":124,"line":1139},[5097,5101,5105,5109,5113,5117,5121,5125,5129,5133,5137],{"type":17,"tag":70,"props":5098,"children":5099},{"style":3656},[5100],{"type":22,"value":3901},{"type":17,"tag":70,"props":5102,"children":5103},{"style":987},[5104],{"type":22,"value":3710},{"type":17,"tag":70,"props":5106,"children":5107},{"style":3908},[5108],{"type":22,"value":3768},{"type":17,"tag":70,"props":5110,"children":5111},{"style":987},[5112],{"type":22,"value":43},{"type":17,"tag":70,"props":5114,"children":5115},{"style":3810},[5116],{"type":22,"value":3803},{"type":17,"tag":70,"props":5118,"children":5119},{"style":987},[5120],{"type":22,"value":5069},{"type":17,"tag":70,"props":5122,"children":5123},{"style":5072},[5124],{"type":22,"value":5075},{"type":17,"tag":70,"props":5126,"children":5127},{"style":2441},[5128],{"type":22,"value":2478},{"type":17,"tag":70,"props":5130,"children":5131},{"style":1043},[5132],{"type":22,"value":4202},{"type":17,"tag":70,"props":5134,"children":5135},{"style":987},[5136],{"type":22,"value":5088},{"type":17,"tag":70,"props":5138,"children":5139},{"style":693},[5140],{"type":22,"value":5141}," # line 5, method 2\n",{"type":17,"tag":70,"props":5143,"children":5144},{"class":124,"line":1177},[5145,5149,5153,5157,5161,5165,5169,5173,5177,5181,5185],{"type":17,"tag":70,"props":5146,"children":5147},{"style":3656},[5148],{"type":22,"value":3901},{"type":17,"tag":70,"props":5150,"children":5151},{"style":987},[5152],{"type":22,"value":3710},{"type":17,"tag":70,"props":5154,"children":5155},{"style":3908},[5156],{"type":22,"value":3768},{"type":17,"tag":70,"props":5158,"children":5159},{"style":987},[5160],{"type":22,"value":43},{"type":17,"tag":70,"props":5162,"children":5163},{"style":3810},[5164],{"type":22,"value":3803},{"type":17,"tag":70,"props":5166,"children":5167},{"style":987},[5168],{"type":22,"value":5069},{"type":17,"tag":70,"props":5170,"children":5171},{"style":5072},[5172],{"type":22,"value":5075},{"type":17,"tag":70,"props":5174,"children":5175},{"style":2441},[5176],{"type":22,"value":2478},{"type":17,"tag":70,"props":5178,"children":5179},{"style":1043},[5180],{"type":22,"value":4202},{"type":17,"tag":70,"props":5182,"children":5183},{"style":987},[5184],{"type":22,"value":5088},{"type":17,"tag":70,"props":5186,"children":5187},{"style":693},[5188],{"type":22,"value":5189}," # line 6, method 2\n",{"type":17,"tag":18,"props":5191,"children":5192},{},[5193],{"type":22,"value":5194},"Dabar atspausdiname eilutes teisingai:",{"type":17,"tag":115,"props":5196,"children":5198},{"className":3773,"code":5197,"language":3775,"meta":67,"style":67},"My mother was a tailor\nShe sewed my new blue jeans\nMy father was a gamblin' man\nDown in New Orleans\n\nNow the only thing a gambler needs\n",[5199],{"type":17,"tag":64,"props":5200,"children":5201},{"__ignoreMap":67},[5202,5209,5216,5223,5230,5237],{"type":17,"tag":70,"props":5203,"children":5204},{"class":124,"line":125},[5205],{"type":17,"tag":70,"props":5206,"children":5207},{"style":675},[5208],{"type":22,"value":4302},{"type":17,"tag":70,"props":5210,"children":5211},{"class":124,"line":699},[5212],{"type":17,"tag":70,"props":5213,"children":5214},{"style":675},[5215],{"type":22,"value":4310},{"type":17,"tag":70,"props":5217,"children":5218},{"class":124,"line":723},[5219],{"type":17,"tag":70,"props":5220,"children":5221},{"style":675},[5222],{"type":22,"value":4318},{"type":17,"tag":70,"props":5224,"children":5225},{"class":124,"line":747},[5226],{"type":17,"tag":70,"props":5227,"children":5228},{"style":675},[5229],{"type":22,"value":4326},{"type":17,"tag":70,"props":5231,"children":5232},{"class":124,"line":1101},[5233],{"type":17,"tag":70,"props":5234,"children":5235},{"emptyLinePlaceholder":4063},[5236],{"type":22,"value":4066},{"type":17,"tag":70,"props":5238,"children":5239},{"class":124,"line":1139},[5240],{"type":17,"tag":70,"props":5241,"children":5242},{"style":675},[5243],{"type":22,"value":4341},{"type":17,"tag":18,"props":5245,"children":5246},{},[5247],{"type":22,"value":5248},"Atkreipkite dėmesį, kad tuščia eilutė irgi perskaitoma, nes ji yra mūsų duomenų faile.",{"type":17,"tag":3954,"props":5250,"children":5252},{"id":5251},"vienintelis-argumentas",[5253],{"type":22,"value":5254},"Vienintelis argumentas",{"type":17,"tag":18,"props":5256,"children":5257},{},[5258],{"type":22,"value":5259},"Šiam analizuojamam metodui galima pateikti vieną argumentą - skaičių, kuris nusako kiek bitų (dažnu atveju tai simbolių) reikia nuskaityti iš eilutės",{"type":17,"tag":115,"props":5261,"children":5263},{"className":3632,"code":5262,"language":3633,"meta":67,"style":67},"f = open(\"bigger_data.txt\")\nprint(f.readline(12))\n",[5264],{"type":17,"tag":64,"props":5265,"children":5266},{"__ignoreMap":67},[5267,5302],{"type":17,"tag":70,"props":5268,"children":5269},{"class":124,"line":125},[5270,5274,5278,5282,5286,5290,5294,5298],{"type":17,"tag":70,"props":5271,"children":5272},{"style":675},[5273],{"type":22,"value":3696},{"type":17,"tag":70,"props":5275,"children":5276},{"style":2441},[5277],{"type":22,"value":2478},{"type":17,"tag":70,"props":5279,"children":5280},{"style":3656},[5281],{"type":22,"value":3705},{"type":17,"tag":70,"props":5283,"children":5284},{"style":987},[5285],{"type":22,"value":3710},{"type":17,"tag":70,"props":5287,"children":5288},{"style":1043},[5289],{"type":22,"value":1009},{"type":17,"tag":70,"props":5291,"children":5292},{"style":1049},[5293],{"type":22,"value":4290},{"type":17,"tag":70,"props":5295,"children":5296},{"style":1043},[5297],{"type":22,"value":1009},{"type":17,"tag":70,"props":5299,"children":5300},{"style":987},[5301],{"type":22,"value":3727},{"type":17,"tag":70,"props":5303,"children":5304},{"class":124,"line":699},[5305,5309,5313,5317,5321,5325,5329,5334],{"type":17,"tag":70,"props":5306,"children":5307},{"style":3656},[5308],{"type":22,"value":3901},{"type":17,"tag":70,"props":5310,"children":5311},{"style":987},[5312],{"type":22,"value":3710},{"type":17,"tag":70,"props":5314,"children":5315},{"style":3908},[5316],{"type":22,"value":3768},{"type":17,"tag":70,"props":5318,"children":5319},{"style":987},[5320],{"type":22,"value":43},{"type":17,"tag":70,"props":5322,"children":5323},{"style":3810},[5324],{"type":22,"value":3803},{"type":17,"tag":70,"props":5326,"children":5327},{"style":987},[5328],{"type":22,"value":3710},{"type":17,"tag":70,"props":5330,"children":5331},{"style":1657},[5332],{"type":22,"value":5333},"12",{"type":17,"tag":70,"props":5335,"children":5336},{"style":987},[5337],{"type":22,"value":5338},"))\n",{"type":17,"tag":18,"props":5340,"children":5341},{},[5342],{"type":22,"value":5343},"Bandydami nuskaityti pirmą eilutę ir įrašę, kad mums reikia 12 simbolių, gausime tokį rezultatą:",{"type":17,"tag":115,"props":5345,"children":5347},{"className":3773,"code":5346,"language":3775,"meta":67,"style":67},"My mother wa\n",[5348],{"type":17,"tag":64,"props":5349,"children":5350},{"__ignoreMap":67},[5351],{"type":17,"tag":70,"props":5352,"children":5353},{"class":124,"line":125},[5354],{"type":17,"tag":70,"props":5355,"children":5356},{"style":675},[5357],{"type":22,"value":5346},{"type":17,"tag":18,"props":5359,"children":5360},{},[5361],{"type":22,"value":5362},"Šitą metodą tikriausiai teks naudoti retai.",{"type":17,"tag":45,"props":5364,"children":5366},{"id":5365},"readlines",[5367],{"type":17,"tag":64,"props":5368,"children":5369},{"className":3632,"language":3633,"style":67},[5370,5374],{"type":17,"tag":70,"props":5371,"children":5372},{"style":3810},[5373],{"type":22,"value":5365},{"type":17,"tag":70,"props":5375,"children":5376},{"style":987},[5377],{"type":22,"value":3664},{"type":17,"tag":18,"props":5379,"children":5380},{},[5381,5383,5389],{"type":22,"value":5382},"Jeigu norime nuskaityti iš karto visas failo eilutes, galime pasinaudoti ",{"type":17,"tag":64,"props":5384,"children":5386},{"className":5385},[],[5387],{"type":22,"value":5388},"readlines()",{"type":22,"value":5390}," metodu. Šis metodas grąžina visas failo eilutes sąraše:",{"type":17,"tag":115,"props":5392,"children":5394},{"className":3632,"code":5393,"language":3633,"meta":67,"style":67},"f = open(\"bigger_data.txt\")\nprint(f.readlines())\n",[5395],{"type":17,"tag":64,"props":5396,"children":5397},{"__ignoreMap":67},[5398,5433],{"type":17,"tag":70,"props":5399,"children":5400},{"class":124,"line":125},[5401,5405,5409,5413,5417,5421,5425,5429],{"type":17,"tag":70,"props":5402,"children":5403},{"style":675},[5404],{"type":22,"value":3696},{"type":17,"tag":70,"props":5406,"children":5407},{"style":2441},[5408],{"type":22,"value":2478},{"type":17,"tag":70,"props":5410,"children":5411},{"style":3656},[5412],{"type":22,"value":3705},{"type":17,"tag":70,"props":5414,"children":5415},{"style":987},[5416],{"type":22,"value":3710},{"type":17,"tag":70,"props":5418,"children":5419},{"style":1043},[5420],{"type":22,"value":1009},{"type":17,"tag":70,"props":5422,"children":5423},{"style":1049},[5424],{"type":22,"value":4290},{"type":17,"tag":70,"props":5426,"children":5427},{"style":1043},[5428],{"type":22,"value":1009},{"type":17,"tag":70,"props":5430,"children":5431},{"style":987},[5432],{"type":22,"value":3727},{"type":17,"tag":70,"props":5434,"children":5435},{"class":124,"line":699},[5436,5440,5444,5448,5452,5456],{"type":17,"tag":70,"props":5437,"children":5438},{"style":3656},[5439],{"type":22,"value":3901},{"type":17,"tag":70,"props":5441,"children":5442},{"style":987},[5443],{"type":22,"value":3710},{"type":17,"tag":70,"props":5445,"children":5446},{"style":3908},[5447],{"type":22,"value":3768},{"type":17,"tag":70,"props":5449,"children":5450},{"style":987},[5451],{"type":22,"value":43},{"type":17,"tag":70,"props":5453,"children":5454},{"style":3810},[5455],{"type":22,"value":5365},{"type":17,"tag":70,"props":5457,"children":5458},{"style":987},[5459],{"type":22,"value":5460},"())\n",{"type":17,"tag":115,"props":5462,"children":5464},{"className":3773,"code":5463,"language":3775,"meta":67,"style":67},"['My mother was a tailor\\n', 'She sewed my new blue jeans\\n', \"My father was a gamblin' man\\n\", 'Down in New Orleans\\n', '\\n', 'Now the only thing a gambler needs\\n', 'Is a suitcase and a trunk\\n', \"And the only time he's satisfied\\n\", \"Is when he's on a trump\\n\", 'Oh mother, tell your children\\n', 'Not to do what I have done\\n', 'Spend your lives in sin and misery\\n', 'In the house of The Rising Sun']\n",[5465],{"type":17,"tag":64,"props":5466,"children":5467},{"__ignoreMap":67},[5468],{"type":17,"tag":70,"props":5469,"children":5470},{"class":124,"line":125},[5471],{"type":17,"tag":70,"props":5472,"children":5473},{"style":675},[5474],{"type":22,"value":5463},{"type":17,"tag":18,"props":5476,"children":5477},{},[5478,5480,5487],{"type":22,"value":5479},"Problema ta, kad kiekviena eilutė, jeigu po jos yra sekanti, turi naujos eilutės simbolį ",{"type":17,"tag":64,"props":5481,"children":5482},{"className":66,"language":22,"style":67},[5483],{"type":17,"tag":70,"props":5484,"children":5485},{},[5486],{"type":22,"value":4765},{"type":22,"value":5488},". Šią problemą išmoksime spręsti vėliau.",{"type":17,"tag":18,"props":5490,"children":5491},{},[5492],{"type":22,"value":5493},"Šiam metodui irgi galima suteikti vieną argumentą, kuris taip pat nurodo, kiek bitų (simbolių ) nuskaityti.",{"type":17,"tag":45,"props":5495,"children":5497},{"id":5496},"read",[5498],{"type":17,"tag":64,"props":5499,"children":5500},{"className":3632,"language":3633,"style":67},[5501,5505],{"type":17,"tag":70,"props":5502,"children":5503},{"style":3810},[5504],{"type":22,"value":5496},{"type":17,"tag":70,"props":5506,"children":5507},{"style":987},[5508],{"type":22,"value":3664},{"type":17,"tag":18,"props":5510,"children":5511},{},[5512,5514,5525],{"type":22,"value":5513},"Su ",{"type":17,"tag":64,"props":5515,"children":5516},{"className":3632,"language":3633,"style":67},[5517,5521],{"type":17,"tag":70,"props":5518,"children":5519},{"style":3810},[5520],{"type":22,"value":5496},{"type":17,"tag":70,"props":5522,"children":5523},{"style":987},[5524],{"type":22,"value":3664},{"type":22,"value":5526}," metodu galima nuskaityti visą failą ir šis metodas mums grąžins vieną eilutės reikšmę, kuriame bus visas mūsų tekstas:",{"type":17,"tag":115,"props":5528,"children":5530},{"className":3632,"code":5529,"language":3633,"meta":67,"style":67},"f = open(\"bigger_data.txt\")\nprint(f.read())\n",[5531],{"type":17,"tag":64,"props":5532,"children":5533},{"__ignoreMap":67},[5534,5569],{"type":17,"tag":70,"props":5535,"children":5536},{"class":124,"line":125},[5537,5541,5545,5549,5553,5557,5561,5565],{"type":17,"tag":70,"props":5538,"children":5539},{"style":675},[5540],{"type":22,"value":3696},{"type":17,"tag":70,"props":5542,"children":5543},{"style":2441},[5544],{"type":22,"value":2478},{"type":17,"tag":70,"props":5546,"children":5547},{"style":3656},[5548],{"type":22,"value":3705},{"type":17,"tag":70,"props":5550,"children":5551},{"style":987},[5552],{"type":22,"value":3710},{"type":17,"tag":70,"props":5554,"children":5555},{"style":1043},[5556],{"type":22,"value":1009},{"type":17,"tag":70,"props":5558,"children":5559},{"style":1049},[5560],{"type":22,"value":4290},{"type":17,"tag":70,"props":5562,"children":5563},{"style":1043},[5564],{"type":22,"value":1009},{"type":17,"tag":70,"props":5566,"children":5567},{"style":987},[5568],{"type":22,"value":3727},{"type":17,"tag":70,"props":5570,"children":5571},{"class":124,"line":699},[5572,5576,5580,5584,5588,5592],{"type":17,"tag":70,"props":5573,"children":5574},{"style":3656},[5575],{"type":22,"value":3901},{"type":17,"tag":70,"props":5577,"children":5578},{"style":987},[5579],{"type":22,"value":3710},{"type":17,"tag":70,"props":5581,"children":5582},{"style":3908},[5583],{"type":22,"value":3768},{"type":17,"tag":70,"props":5585,"children":5586},{"style":987},[5587],{"type":22,"value":43},{"type":17,"tag":70,"props":5589,"children":5590},{"style":3810},[5591],{"type":22,"value":5496},{"type":17,"tag":70,"props":5593,"children":5594},{"style":987},[5595],{"type":22,"value":5460},{"type":17,"tag":115,"props":5597,"children":5598},{"className":3773,"code":4289,"language":3775,"meta":67,"style":67},[5599],{"type":17,"tag":64,"props":5600,"children":5601},{"__ignoreMap":67},[5602,5609,5616,5623,5630,5637,5644,5651,5658,5665,5672,5679,5686],{"type":17,"tag":70,"props":5603,"children":5604},{"class":124,"line":125},[5605],{"type":17,"tag":70,"props":5606,"children":5607},{"style":675},[5608],{"type":22,"value":4302},{"type":17,"tag":70,"props":5610,"children":5611},{"class":124,"line":699},[5612],{"type":17,"tag":70,"props":5613,"children":5614},{"style":675},[5615],{"type":22,"value":4310},{"type":17,"tag":70,"props":5617,"children":5618},{"class":124,"line":723},[5619],{"type":17,"tag":70,"props":5620,"children":5621},{"style":675},[5622],{"type":22,"value":4318},{"type":17,"tag":70,"props":5624,"children":5625},{"class":124,"line":747},[5626],{"type":17,"tag":70,"props":5627,"children":5628},{"style":675},[5629],{"type":22,"value":4326},{"type":17,"tag":70,"props":5631,"children":5632},{"class":124,"line":1101},[5633],{"type":17,"tag":70,"props":5634,"children":5635},{"emptyLinePlaceholder":4063},[5636],{"type":22,"value":4066},{"type":17,"tag":70,"props":5638,"children":5639},{"class":124,"line":1139},[5640],{"type":17,"tag":70,"props":5641,"children":5642},{"style":675},[5643],{"type":22,"value":4341},{"type":17,"tag":70,"props":5645,"children":5646},{"class":124,"line":1177},[5647],{"type":17,"tag":70,"props":5648,"children":5649},{"style":675},[5650],{"type":22,"value":4349},{"type":17,"tag":70,"props":5652,"children":5653},{"class":124,"line":1215},[5654],{"type":17,"tag":70,"props":5655,"children":5656},{"style":675},[5657],{"type":22,"value":4357},{"type":17,"tag":70,"props":5659,"children":5660},{"class":124,"line":1240},[5661],{"type":17,"tag":70,"props":5662,"children":5663},{"style":675},[5664],{"type":22,"value":4365},{"type":17,"tag":70,"props":5666,"children":5667},{"class":124,"line":1280},[5668],{"type":17,"tag":70,"props":5669,"children":5670},{"style":675},[5671],{"type":22,"value":4373},{"type":17,"tag":70,"props":5673,"children":5674},{"class":124,"line":1318},[5675],{"type":17,"tag":70,"props":5676,"children":5677},{"style":675},[5678],{"type":22,"value":4381},{"type":17,"tag":70,"props":5680,"children":5681},{"class":124,"line":1356},[5682],{"type":17,"tag":70,"props":5683,"children":5684},{"style":675},[5685],{"type":22,"value":4389},{"type":17,"tag":70,"props":5687,"children":5688},{"class":124,"line":1391},[5689],{"type":17,"tag":70,"props":5690,"children":5691},{"style":675},[5692],{"type":22,"value":4397},{"type":17,"tag":45,"props":5694,"children":5696},{"id":5695},"iteravimas-per-objektą",[5697],{"type":22,"value":5698},"Iteravimas per objektą",{"type":17,"tag":18,"props":5700,"children":5701},{},[5702],{"type":22,"value":5703},"Galima pasinaudoti ciklu ir failo objektu, jeigu yra poreikis iteruoti per eilutes:",{"type":17,"tag":115,"props":5705,"children":5707},{"className":3632,"code":5706,"language":3633,"meta":67,"style":67},"f = open(\"bigger_data.txt\")\nfor line in f:\n    print(line, end=\"\")\n",[5708],{"type":17,"tag":64,"props":5709,"children":5710},{"__ignoreMap":67},[5711,5746,5774],{"type":17,"tag":70,"props":5712,"children":5713},{"class":124,"line":125},[5714,5718,5722,5726,5730,5734,5738,5742],{"type":17,"tag":70,"props":5715,"children":5716},{"style":675},[5717],{"type":22,"value":3696},{"type":17,"tag":70,"props":5719,"children":5720},{"style":2441},[5721],{"type":22,"value":2478},{"type":17,"tag":70,"props":5723,"children":5724},{"style":3656},[5725],{"type":22,"value":3705},{"type":17,"tag":70,"props":5727,"children":5728},{"style":987},[5729],{"type":22,"value":3710},{"type":17,"tag":70,"props":5731,"children":5732},{"style":1043},[5733],{"type":22,"value":1009},{"type":17,"tag":70,"props":5735,"children":5736},{"style":1049},[5737],{"type":22,"value":4290},{"type":17,"tag":70,"props":5739,"children":5740},{"style":1043},[5741],{"type":22,"value":1009},{"type":17,"tag":70,"props":5743,"children":5744},{"style":987},[5745],{"type":22,"value":3727},{"type":17,"tag":70,"props":5747,"children":5748},{"class":124,"line":699},[5749,5755,5760,5765,5769],{"type":17,"tag":70,"props":5750,"children":5752},{"style":5751},"--shiki-default:#8839EF;--shiki-dark:#89DDFF;--shiki-default-font-style:inherit;--shiki-dark-font-style:italic",[5753],{"type":22,"value":5754},"for",{"type":17,"tag":70,"props":5756,"children":5757},{"style":675},[5758],{"type":22,"value":5759}," line ",{"type":17,"tag":70,"props":5761,"children":5762},{"style":5751},[5763],{"type":22,"value":5764},"in",{"type":17,"tag":70,"props":5766,"children":5767},{"style":675},[5768],{"type":22,"value":3880},{"type":17,"tag":70,"props":5770,"children":5771},{"style":987},[5772],{"type":22,"value":5773},":\n",{"type":17,"tag":70,"props":5775,"children":5776},{"class":124,"line":723},[5777,5782,5786,5790,5794,5798,5802,5806],{"type":17,"tag":70,"props":5778,"children":5779},{"style":3656},[5780],{"type":22,"value":5781},"    print",{"type":17,"tag":70,"props":5783,"children":5784},{"style":987},[5785],{"type":22,"value":3710},{"type":17,"tag":70,"props":5787,"children":5788},{"style":3908},[5789],{"type":22,"value":124},{"type":17,"tag":70,"props":5791,"children":5792},{"style":987},[5793],{"type":22,"value":2139},{"type":17,"tag":70,"props":5795,"children":5796},{"style":5072},[5797],{"type":22,"value":5075},{"type":17,"tag":70,"props":5799,"children":5800},{"style":2441},[5801],{"type":22,"value":2478},{"type":17,"tag":70,"props":5803,"children":5804},{"style":1043},[5805],{"type":22,"value":4202},{"type":17,"tag":70,"props":5807,"children":5808},{"style":987},[5809],{"type":22,"value":3727},{"type":17,"tag":18,"props":5811,"children":5812},{},[5813],{"type":22,"value":5814},"Gauname tokį patį rezultatą, kaip ir su ankstesniais būdais",{"type":17,"tag":115,"props":5816,"children":5817},{"className":3773,"code":4289,"language":3775,"meta":67,"style":67},[5818],{"type":17,"tag":64,"props":5819,"children":5820},{"__ignoreMap":67},[5821,5828,5835,5842,5849,5856,5863,5870,5877,5884,5891,5898,5905],{"type":17,"tag":70,"props":5822,"children":5823},{"class":124,"line":125},[5824],{"type":17,"tag":70,"props":5825,"children":5826},{"style":675},[5827],{"type":22,"value":4302},{"type":17,"tag":70,"props":5829,"children":5830},{"class":124,"line":699},[5831],{"type":17,"tag":70,"props":5832,"children":5833},{"style":675},[5834],{"type":22,"value":4310},{"type":17,"tag":70,"props":5836,"children":5837},{"class":124,"line":723},[5838],{"type":17,"tag":70,"props":5839,"children":5840},{"style":675},[5841],{"type":22,"value":4318},{"type":17,"tag":70,"props":5843,"children":5844},{"class":124,"line":747},[5845],{"type":17,"tag":70,"props":5846,"children":5847},{"style":675},[5848],{"type":22,"value":4326},{"type":17,"tag":70,"props":5850,"children":5851},{"class":124,"line":1101},[5852],{"type":17,"tag":70,"props":5853,"children":5854},{"emptyLinePlaceholder":4063},[5855],{"type":22,"value":4066},{"type":17,"tag":70,"props":5857,"children":5858},{"class":124,"line":1139},[5859],{"type":17,"tag":70,"props":5860,"children":5861},{"style":675},[5862],{"type":22,"value":4341},{"type":17,"tag":70,"props":5864,"children":5865},{"class":124,"line":1177},[5866],{"type":17,"tag":70,"props":5867,"children":5868},{"style":675},[5869],{"type":22,"value":4349},{"type":17,"tag":70,"props":5871,"children":5872},{"class":124,"line":1215},[5873],{"type":17,"tag":70,"props":5874,"children":5875},{"style":675},[5876],{"type":22,"value":4357},{"type":17,"tag":70,"props":5878,"children":5879},{"class":124,"line":1240},[5880],{"type":17,"tag":70,"props":5881,"children":5882},{"style":675},[5883],{"type":22,"value":4365},{"type":17,"tag":70,"props":5885,"children":5886},{"class":124,"line":1280},[5887],{"type":17,"tag":70,"props":5888,"children":5889},{"style":675},[5890],{"type":22,"value":4373},{"type":17,"tag":70,"props":5892,"children":5893},{"class":124,"line":1318},[5894],{"type":17,"tag":70,"props":5895,"children":5896},{"style":675},[5897],{"type":22,"value":4381},{"type":17,"tag":70,"props":5899,"children":5900},{"class":124,"line":1356},[5901],{"type":17,"tag":70,"props":5902,"children":5903},{"style":675},[5904],{"type":22,"value":4389},{"type":17,"tag":70,"props":5906,"children":5907},{"class":124,"line":1391},[5908],{"type":17,"tag":70,"props":5909,"children":5910},{"style":675},[5911],{"type":22,"value":4397},{"type":17,"tag":25,"props":5913,"children":5915},{"id":5914},"failo-uždarymas-su-close",[5916,5918],{"type":22,"value":5917},"Failo uždarymas su ",{"type":17,"tag":64,"props":5919,"children":5920},{"className":3632,"language":3633,"style":67},[5921,5926],{"type":17,"tag":70,"props":5922,"children":5923},{"style":3810},[5924],{"type":22,"value":5925},"close",{"type":17,"tag":70,"props":5927,"children":5928},{"style":987},[5929],{"type":22,"value":3664},{"type":17,"tag":18,"props":5931,"children":5932},{},[5933,5935,5946],{"type":22,"value":5934},"Nuo šio poskyrio, visada uždarinėsime atidarytą failą su ",{"type":17,"tag":64,"props":5936,"children":5937},{"className":3632,"language":3633,"style":67},[5938,5942],{"type":17,"tag":70,"props":5939,"children":5940},{"style":3810},[5941],{"type":22,"value":5925},{"type":17,"tag":70,"props":5943,"children":5944},{"style":987},[5945],{"type":22,"value":3664},{"type":22,"value":5947}," metodu. Tai padarysime, kai iš atidaryto failo mums nieko nebereikės, visas darbas su juo bus atliktas:",{"type":17,"tag":115,"props":5949,"children":5952},{"className":3632,"code":5950,"highlights":5951,"language":3633,"meta":67,"style":67},"f = open(\"bigger_data.txt\")\nprint(f.readline())\n# I don't need the file anymore, so I'm closing it to free up resources\nf.close()\n",[747],[5953],{"type":17,"tag":64,"props":5954,"children":5955},{"__ignoreMap":67},[5956,5991,6018,6026],{"type":17,"tag":70,"props":5957,"children":5958},{"class":124,"line":125},[5959,5963,5967,5971,5975,5979,5983,5987],{"type":17,"tag":70,"props":5960,"children":5961},{"style":675},[5962],{"type":22,"value":3696},{"type":17,"tag":70,"props":5964,"children":5965},{"style":2441},[5966],{"type":22,"value":2478},{"type":17,"tag":70,"props":5968,"children":5969},{"style":3656},[5970],{"type":22,"value":3705},{"type":17,"tag":70,"props":5972,"children":5973},{"style":987},[5974],{"type":22,"value":3710},{"type":17,"tag":70,"props":5976,"children":5977},{"style":1043},[5978],{"type":22,"value":1009},{"type":17,"tag":70,"props":5980,"children":5981},{"style":1049},[5982],{"type":22,"value":4290},{"type":17,"tag":70,"props":5984,"children":5985},{"style":1043},[5986],{"type":22,"value":1009},{"type":17,"tag":70,"props":5988,"children":5989},{"style":987},[5990],{"type":22,"value":3727},{"type":17,"tag":70,"props":5992,"children":5993},{"class":124,"line":699},[5994,5998,6002,6006,6010,6014],{"type":17,"tag":70,"props":5995,"children":5996},{"style":3656},[5997],{"type":22,"value":3901},{"type":17,"tag":70,"props":5999,"children":6000},{"style":987},[6001],{"type":22,"value":3710},{"type":17,"tag":70,"props":6003,"children":6004},{"style":3908},[6005],{"type":22,"value":3768},{"type":17,"tag":70,"props":6007,"children":6008},{"style":987},[6009],{"type":22,"value":43},{"type":17,"tag":70,"props":6011,"children":6012},{"style":3810},[6013],{"type":22,"value":3803},{"type":17,"tag":70,"props":6015,"children":6016},{"style":987},[6017],{"type":22,"value":5460},{"type":17,"tag":70,"props":6019,"children":6020},{"class":124,"line":723},[6021],{"type":17,"tag":70,"props":6022,"children":6023},{"style":693},[6024],{"type":22,"value":6025},"# I don't need the file anymore, so I'm closing it to free up resources\n",{"type":17,"tag":70,"props":6027,"children":6030},{"class":6028,"line":747},[124,6029],"highlight",[6031,6035,6039,6043],{"type":17,"tag":70,"props":6032,"children":6033},{"style":675},[6034],{"type":22,"value":3768},{"type":17,"tag":70,"props":6036,"children":6037},{"style":987},[6038],{"type":22,"value":43},{"type":17,"tag":70,"props":6040,"children":6041},{"style":3810},[6042],{"type":22,"value":5925},{"type":17,"tag":70,"props":6044,"children":6045},{"style":987},[6046],{"type":22,"value":3893},{"type":17,"tag":18,"props":6048,"children":6049},{},[6050],{"type":22,"value":6051},"Tik reiktų suprasti tai, kad failas nebebus pasiekiamas jį uždarius. Pabandykime perskaityti uždarytą failą:",{"type":17,"tag":115,"props":6053,"children":6055},{"className":3632,"code":6054,"language":3633,"meta":67,"style":67},"f = open(\"bigger_data.txt\")\nprint(f.readline())\n# I don't need the file anymore, so I'm closing it to free up resources\nf.close()\n\n# This will cause an error because the file is already closed\nprint(f.readline())\n",[6056],{"type":17,"tag":64,"props":6057,"children":6058},{"__ignoreMap":67},[6059,6094,6121,6128,6147,6154,6162],{"type":17,"tag":70,"props":6060,"children":6061},{"class":124,"line":125},[6062,6066,6070,6074,6078,6082,6086,6090],{"type":17,"tag":70,"props":6063,"children":6064},{"style":675},[6065],{"type":22,"value":3696},{"type":17,"tag":70,"props":6067,"children":6068},{"style":2441},[6069],{"type":22,"value":2478},{"type":17,"tag":70,"props":6071,"children":6072},{"style":3656},[6073],{"type":22,"value":3705},{"type":17,"tag":70,"props":6075,"children":6076},{"style":987},[6077],{"type":22,"value":3710},{"type":17,"tag":70,"props":6079,"children":6080},{"style":1043},[6081],{"type":22,"value":1009},{"type":17,"tag":70,"props":6083,"children":6084},{"style":1049},[6085],{"type":22,"value":4290},{"type":17,"tag":70,"props":6087,"children":6088},{"style":1043},[6089],{"type":22,"value":1009},{"type":17,"tag":70,"props":6091,"children":6092},{"style":987},[6093],{"type":22,"value":3727},{"type":17,"tag":70,"props":6095,"children":6096},{"class":124,"line":699},[6097,6101,6105,6109,6113,6117],{"type":17,"tag":70,"props":6098,"children":6099},{"style":3656},[6100],{"type":22,"value":3901},{"type":17,"tag":70,"props":6102,"children":6103},{"style":987},[6104],{"type":22,"value":3710},{"type":17,"tag":70,"props":6106,"children":6107},{"style":3908},[6108],{"type":22,"value":3768},{"type":17,"tag":70,"props":6110,"children":6111},{"style":987},[6112],{"type":22,"value":43},{"type":17,"tag":70,"props":6114,"children":6115},{"style":3810},[6116],{"type":22,"value":3803},{"type":17,"tag":70,"props":6118,"children":6119},{"style":987},[6120],{"type":22,"value":5460},{"type":17,"tag":70,"props":6122,"children":6123},{"class":124,"line":723},[6124],{"type":17,"tag":70,"props":6125,"children":6126},{"style":693},[6127],{"type":22,"value":6025},{"type":17,"tag":70,"props":6129,"children":6130},{"class":124,"line":747},[6131,6135,6139,6143],{"type":17,"tag":70,"props":6132,"children":6133},{"style":675},[6134],{"type":22,"value":3768},{"type":17,"tag":70,"props":6136,"children":6137},{"style":987},[6138],{"type":22,"value":43},{"type":17,"tag":70,"props":6140,"children":6141},{"style":3810},[6142],{"type":22,"value":5925},{"type":17,"tag":70,"props":6144,"children":6145},{"style":987},[6146],{"type":22,"value":3893},{"type":17,"tag":70,"props":6148,"children":6149},{"class":124,"line":1101},[6150],{"type":17,"tag":70,"props":6151,"children":6152},{"emptyLinePlaceholder":4063},[6153],{"type":22,"value":4066},{"type":17,"tag":70,"props":6155,"children":6156},{"class":124,"line":1139},[6157],{"type":17,"tag":70,"props":6158,"children":6159},{"style":693},[6160],{"type":22,"value":6161},"# This will cause an error because the file is already closed\n",{"type":17,"tag":70,"props":6163,"children":6164},{"class":124,"line":1177},[6165,6169,6173,6177,6181,6185],{"type":17,"tag":70,"props":6166,"children":6167},{"style":3656},[6168],{"type":22,"value":3901},{"type":17,"tag":70,"props":6170,"children":6171},{"style":987},[6172],{"type":22,"value":3710},{"type":17,"tag":70,"props":6174,"children":6175},{"style":3908},[6176],{"type":22,"value":3768},{"type":17,"tag":70,"props":6178,"children":6179},{"style":987},[6180],{"type":22,"value":43},{"type":17,"tag":70,"props":6182,"children":6183},{"style":3810},[6184],{"type":22,"value":3803},{"type":17,"tag":70,"props":6186,"children":6187},{"style":987},[6188],{"type":22,"value":5460},{"type":17,"tag":18,"props":6190,"children":6191},{},[6192],{"type":22,"value":6193},"Turėtumėte pamatyti ganėtinai aiškią klaidą:",{"type":17,"tag":115,"props":6195,"children":6197},{"className":3773,"code":6196,"language":3775,"meta":67,"style":67},"ValueError: I/O operation on closed file.\n",[6198],{"type":17,"tag":64,"props":6199,"children":6200},{"__ignoreMap":67},[6201],{"type":17,"tag":70,"props":6202,"children":6203},{"class":124,"line":125},[6204],{"type":17,"tag":70,"props":6205,"children":6206},{"style":675},[6207],{"type":22,"value":6196},{"type":17,"tag":45,"props":6209,"children":6211},{"id":6210},"motyvai",[6212],{"type":22,"value":6213},"Motyvai",{"type":17,"tag":18,"props":6215,"children":6216},{},[6217,6219,6224],{"type":22,"value":6218},"Neišradinėsime dviračio ir pateiksime motyvus, kodėl reikia uždarinėti fialus, iš ",{"type":17,"tag":37,"props":6220,"children":6221},{},[6222],{"type":22,"value":6223},"Stack Overflow",{"type":22,"value":113},{"type":17,"tag":6226,"props":6227,"children":6228},"blockquote",{},[6229,6234,6269],{"type":17,"tag":18,"props":6230,"children":6231},{},[6232],{"type":22,"value":6233},"For the most part, not closing files is a bad idea, for the following reasons:",{"type":17,"tag":6235,"props":6236,"children":6237},"ol",{},[6238,6244,6249,6254,6259,6264],{"type":17,"tag":170,"props":6239,"children":6241},{"index":6240},0,[6242],{"type":22,"value":6243},"It puts your program in the garbage collectors hands - though the file in theory will be auto closed, it may not be closed. Python 3 and Cpython generally do a pretty good job at garbage collecting, but not always, and other variants generally suck at it.",{"type":17,"tag":170,"props":6245,"children":6246},{"index":125},[6247],{"type":22,"value":6248},"It can slow down your program. Too many things open, and thus more used space in the RAM, will impact performance.",{"type":17,"tag":170,"props":6250,"children":6251},{"index":699},[6252],{"type":22,"value":6253},"For the most part, many changes to files in python do not go into effect until after the file is closed, so if your script edits, leaves open, and reads a file, it won't see the edits.",{"type":17,"tag":170,"props":6255,"children":6256},{"index":723},[6257],{"type":22,"value":6258},"You could, theoretically, run in to limits of how many files you can have open.",{"type":17,"tag":170,"props":6260,"children":6261},{"index":747},[6262],{"type":22,"value":6263},"As @sai stated below, Windows treats open files as locked, so legit things like AV scanners or other python scripts can't read the file.",{"type":17,"tag":170,"props":6265,"children":6266},{"index":1101},[6267],{"type":22,"value":6268},"It is sloppy programming (then again, I'm not exactly the best at remembering to close files myself!)",{"type":17,"tag":18,"props":6270,"children":6271},{},[6272,6274],{"type":22,"value":6273},"from ",{"type":17,"tag":6275,"props":6276,"children":6280},"a",{"href":6277,"rel":6278},"https://stackoverflow.com/a/25070939",[6279],"nofollow",[6281],{"type":22,"value":6282},"Why should I close files in Python? - Stack Overflow",{"type":17,"tag":18,"props":6284,"children":6285},{},[6286],{"type":22,"value":6287},"Jeigu naudojami žodžiai sudėtingi, tai paprastai tariant:",{"type":17,"tag":166,"props":6289,"children":6290},{},[6291,6296,6301],{"type":17,"tag":170,"props":6292,"children":6293},{},[6294],{"type":22,"value":6295},"Tai yra programavimo geroji praktika;",{"type":17,"tag":170,"props":6297,"children":6298},{},[6299],{"type":22,"value":6300},"Uždaroma dėl programos greitaveikos;",{"type":17,"tag":170,"props":6302,"children":6303},{},[6304],{"type":22,"value":6305},"Gali kilti išorinių problemų, nes atidaromas failas yra užrakinamas tos programos, kuri tą failą ir atidaro. Tokiu atveju kitos programos negali jo atidaryti.",{"type":17,"tag":45,"props":6307,"children":6309},{"id":6308},"raktažodis-with",[6310,6312],{"type":22,"value":6311},"Raktažodis ",{"type":17,"tag":64,"props":6313,"children":6314},{"className":3632,"language":3633,"style":67},[6315],{"type":17,"tag":70,"props":6316,"children":6317},{"style":5751},[6318],{"type":22,"value":6319},"with",{"type":17,"tag":18,"props":6321,"children":6322},{},[6323,6327,6329,6336],{"type":17,"tag":37,"props":6324,"children":6325},{},[6326],{"type":22,"value":60},{"type":22,"value":6328}," kalboje uždarymą galima atlikti ir automatiškai su ",{"type":17,"tag":64,"props":6330,"children":6331},{"className":3632,"language":3633,"style":67},[6332],{"type":17,"tag":70,"props":6333,"children":6334},{"style":5751},[6335],{"type":22,"value":6319},{"type":22,"value":6337}," raktažodžiu. Kodą, kurį rašėme anksčiau:",{"type":17,"tag":115,"props":6339,"children":6341},{"className":3632,"code":6340,"language":3633,"meta":67,"style":67},"f = open(\"bigger_data.txt\")\nprint(f.readline())\n# I don't need the file anymore, so I'm closing it to free up resources\nf.close()\n\nprint(\"The file is now closed and cannot be accessed anymore\")\n",[6342],{"type":17,"tag":64,"props":6343,"children":6344},{"__ignoreMap":67},[6345,6380,6407,6414,6433,6440],{"type":17,"tag":70,"props":6346,"children":6347},{"class":124,"line":125},[6348,6352,6356,6360,6364,6368,6372,6376],{"type":17,"tag":70,"props":6349,"children":6350},{"style":675},[6351],{"type":22,"value":3696},{"type":17,"tag":70,"props":6353,"children":6354},{"style":2441},[6355],{"type":22,"value":2478},{"type":17,"tag":70,"props":6357,"children":6358},{"style":3656},[6359],{"type":22,"value":3705},{"type":17,"tag":70,"props":6361,"children":6362},{"style":987},[6363],{"type":22,"value":3710},{"type":17,"tag":70,"props":6365,"children":6366},{"style":1043},[6367],{"type":22,"value":1009},{"type":17,"tag":70,"props":6369,"children":6370},{"style":1049},[6371],{"type":22,"value":4290},{"type":17,"tag":70,"props":6373,"children":6374},{"style":1043},[6375],{"type":22,"value":1009},{"type":17,"tag":70,"props":6377,"children":6378},{"style":987},[6379],{"type":22,"value":3727},{"type":17,"tag":70,"props":6381,"children":6382},{"class":124,"line":699},[6383,6387,6391,6395,6399,6403],{"type":17,"tag":70,"props":6384,"children":6385},{"style":3656},[6386],{"type":22,"value":3901},{"type":17,"tag":70,"props":6388,"children":6389},{"style":987},[6390],{"type":22,"value":3710},{"type":17,"tag":70,"props":6392,"children":6393},{"style":3908},[6394],{"type":22,"value":3768},{"type":17,"tag":70,"props":6396,"children":6397},{"style":987},[6398],{"type":22,"value":43},{"type":17,"tag":70,"props":6400,"children":6401},{"style":3810},[6402],{"type":22,"value":3803},{"type":17,"tag":70,"props":6404,"children":6405},{"style":987},[6406],{"type":22,"value":5460},{"type":17,"tag":70,"props":6408,"children":6409},{"class":124,"line":723},[6410],{"type":17,"tag":70,"props":6411,"children":6412},{"style":693},[6413],{"type":22,"value":6025},{"type":17,"tag":70,"props":6415,"children":6416},{"class":124,"line":747},[6417,6421,6425,6429],{"type":17,"tag":70,"props":6418,"children":6419},{"style":675},[6420],{"type":22,"value":3768},{"type":17,"tag":70,"props":6422,"children":6423},{"style":987},[6424],{"type":22,"value":43},{"type":17,"tag":70,"props":6426,"children":6427},{"style":3810},[6428],{"type":22,"value":5925},{"type":17,"tag":70,"props":6430,"children":6431},{"style":987},[6432],{"type":22,"value":3893},{"type":17,"tag":70,"props":6434,"children":6435},{"class":124,"line":1101},[6436],{"type":17,"tag":70,"props":6437,"children":6438},{"emptyLinePlaceholder":4063},[6439],{"type":22,"value":4066},{"type":17,"tag":70,"props":6441,"children":6442},{"class":124,"line":1139},[6443,6447,6451,6455,6460,6464],{"type":17,"tag":70,"props":6444,"children":6445},{"style":3656},[6446],{"type":22,"value":3901},{"type":17,"tag":70,"props":6448,"children":6449},{"style":987},[6450],{"type":22,"value":3710},{"type":17,"tag":70,"props":6452,"children":6453},{"style":1043},[6454],{"type":22,"value":1009},{"type":17,"tag":70,"props":6456,"children":6457},{"style":1049},[6458],{"type":22,"value":6459},"The file is now closed and cannot be accessed anymore",{"type":17,"tag":70,"props":6461,"children":6462},{"style":1043},[6463],{"type":22,"value":1009},{"type":17,"tag":70,"props":6465,"children":6466},{"style":987},[6467],{"type":22,"value":3727},{"type":17,"tag":18,"props":6469,"children":6470},{},[6471],{"type":22,"value":6472},"Galima pakeisti į funkcionaliai lygiavertį atitikmenį:",{"type":17,"tag":115,"props":6474,"children":6476},{"className":3632,"code":6475,"language":3633,"meta":67,"style":67},"# Pay attention to the indentation inside the 'with' block\nwith open(\"bigger_data.txt\") as f:\n  print(f.readline()) # This line is indented, this indicates it belongs to the 'with' block\n\nprint(\"The file is now closed and cannot be accessed anymore\") # This line isn't indented, it does not belong to the 'with' block\n",[6477],{"type":17,"tag":64,"props":6478,"children":6479},{"__ignoreMap":67},[6480,6488,6532,6565,6572],{"type":17,"tag":70,"props":6481,"children":6482},{"class":124,"line":125},[6483],{"type":17,"tag":70,"props":6484,"children":6485},{"style":693},[6486],{"type":22,"value":6487},"# Pay attention to the indentation inside the 'with' block\n",{"type":17,"tag":70,"props":6489,"children":6490},{"class":124,"line":699},[6491,6495,6499,6503,6507,6511,6515,6519,6524,6528],{"type":17,"tag":70,"props":6492,"children":6493},{"style":5751},[6494],{"type":22,"value":6319},{"type":17,"tag":70,"props":6496,"children":6497},{"style":3656},[6498],{"type":22,"value":3705},{"type":17,"tag":70,"props":6500,"children":6501},{"style":987},[6502],{"type":22,"value":3710},{"type":17,"tag":70,"props":6504,"children":6505},{"style":1043},[6506],{"type":22,"value":1009},{"type":17,"tag":70,"props":6508,"children":6509},{"style":1049},[6510],{"type":22,"value":4290},{"type":17,"tag":70,"props":6512,"children":6513},{"style":1043},[6514],{"type":22,"value":1009},{"type":17,"tag":70,"props":6516,"children":6517},{"style":987},[6518],{"type":22,"value":5088},{"type":17,"tag":70,"props":6520,"children":6521},{"style":5751},[6522],{"type":22,"value":6523}," as",{"type":17,"tag":70,"props":6525,"children":6526},{"style":675},[6527],{"type":22,"value":3880},{"type":17,"tag":70,"props":6529,"children":6530},{"style":987},[6531],{"type":22,"value":5773},{"type":17,"tag":70,"props":6533,"children":6534},{"class":124,"line":723},[6535,6540,6544,6548,6552,6556,6560],{"type":17,"tag":70,"props":6536,"children":6537},{"style":3656},[6538],{"type":22,"value":6539},"  print",{"type":17,"tag":70,"props":6541,"children":6542},{"style":987},[6543],{"type":22,"value":3710},{"type":17,"tag":70,"props":6545,"children":6546},{"style":3908},[6547],{"type":22,"value":3768},{"type":17,"tag":70,"props":6549,"children":6550},{"style":987},[6551],{"type":22,"value":43},{"type":17,"tag":70,"props":6553,"children":6554},{"style":3810},[6555],{"type":22,"value":3803},{"type":17,"tag":70,"props":6557,"children":6558},{"style":987},[6559],{"type":22,"value":4485},{"type":17,"tag":70,"props":6561,"children":6562},{"style":693},[6563],{"type":22,"value":6564}," # This line is indented, this indicates it belongs to the 'with' block\n",{"type":17,"tag":70,"props":6566,"children":6567},{"class":124,"line":747},[6568],{"type":17,"tag":70,"props":6569,"children":6570},{"emptyLinePlaceholder":4063},[6571],{"type":22,"value":4066},{"type":17,"tag":70,"props":6573,"children":6574},{"class":124,"line":1101},[6575,6579,6583,6587,6591,6595,6599],{"type":17,"tag":70,"props":6576,"children":6577},{"style":3656},[6578],{"type":22,"value":3901},{"type":17,"tag":70,"props":6580,"children":6581},{"style":987},[6582],{"type":22,"value":3710},{"type":17,"tag":70,"props":6584,"children":6585},{"style":1043},[6586],{"type":22,"value":1009},{"type":17,"tag":70,"props":6588,"children":6589},{"style":1049},[6590],{"type":22,"value":6459},{"type":17,"tag":70,"props":6592,"children":6593},{"style":1043},[6594],{"type":22,"value":1009},{"type":17,"tag":70,"props":6596,"children":6597},{"style":987},[6598],{"type":22,"value":5088},{"type":17,"tag":70,"props":6600,"children":6601},{"style":693},[6602],{"type":22,"value":6603}," # This line isn't indented, it does not belong to the 'with' block\n",{"type":17,"tag":18,"props":6605,"children":6606},{},[6607,6609,6616,6618,6630,6632,6639],{"type":22,"value":6608},"Su raktažodžiu ",{"type":17,"tag":64,"props":6610,"children":6611},{"className":3632,"language":3633,"style":67},[6612],{"type":17,"tag":70,"props":6613,"children":6614},{"style":5751},[6615],{"type":22,"value":6319},{"type":22,"value":6617}," mes sukuriame bloką, kuriame galima pasiekti failo kintamąjį, kurį aprašome su ",{"type":17,"tag":64,"props":6619,"children":6620},{"className":3632,"language":3633,"style":67},[6621,6626],{"type":17,"tag":70,"props":6622,"children":6623},{"style":5751},[6624],{"type":22,"value":6625},"as",{"type":17,"tag":70,"props":6627,"children":6628},{"style":675},[6629],{"type":22,"value":3880},{"type":22,"value":6631},". Kintamojo pavadinimą galima keisti, tai galite padaryti tiesiog pakeitus ",{"type":17,"tag":64,"props":6633,"children":6634},{"className":3632,"language":3633,"style":67},[6635],{"type":17,"tag":70,"props":6636,"children":6637},{"style":675},[6638],{"type":22,"value":3768},{"type":22,"value":6640}," į kažką kitą:",{"type":17,"tag":115,"props":6642,"children":6644},{"className":3632,"code":6643,"language":3633,"meta":67,"style":67},"with open(\"bigger_data.txt\") as song_lyrics_file:\n  print(song_lyrics_file.readline()) \n",[6645],{"type":17,"tag":64,"props":6646,"children":6647},{"__ignoreMap":67},[6648,6692],{"type":17,"tag":70,"props":6649,"children":6650},{"class":124,"line":125},[6651,6655,6659,6663,6667,6671,6675,6679,6683,6688],{"type":17,"tag":70,"props":6652,"children":6653},{"style":5751},[6654],{"type":22,"value":6319},{"type":17,"tag":70,"props":6656,"children":6657},{"style":3656},[6658],{"type":22,"value":3705},{"type":17,"tag":70,"props":6660,"children":6661},{"style":987},[6662],{"type":22,"value":3710},{"type":17,"tag":70,"props":6664,"children":6665},{"style":1043},[6666],{"type":22,"value":1009},{"type":17,"tag":70,"props":6668,"children":6669},{"style":1049},[6670],{"type":22,"value":4290},{"type":17,"tag":70,"props":6672,"children":6673},{"style":1043},[6674],{"type":22,"value":1009},{"type":17,"tag":70,"props":6676,"children":6677},{"style":987},[6678],{"type":22,"value":5088},{"type":17,"tag":70,"props":6680,"children":6681},{"style":5751},[6682],{"type":22,"value":6523},{"type":17,"tag":70,"props":6684,"children":6685},{"style":675},[6686],{"type":22,"value":6687}," song_lyrics_file",{"type":17,"tag":70,"props":6689,"children":6690},{"style":987},[6691],{"type":22,"value":5773},{"type":17,"tag":70,"props":6693,"children":6694},{"class":124,"line":699},[6695,6699,6703,6708,6712,6716],{"type":17,"tag":70,"props":6696,"children":6697},{"style":3656},[6698],{"type":22,"value":6539},{"type":17,"tag":70,"props":6700,"children":6701},{"style":987},[6702],{"type":22,"value":3710},{"type":17,"tag":70,"props":6704,"children":6705},{"style":3908},[6706],{"type":22,"value":6707},"song_lyrics_file",{"type":17,"tag":70,"props":6709,"children":6710},{"style":987},[6711],{"type":22,"value":43},{"type":17,"tag":70,"props":6713,"children":6714},{"style":3810},[6715],{"type":22,"value":3803},{"type":17,"tag":70,"props":6717,"children":6718},{"style":987},[6719],{"type":22,"value":5460},{"type":17,"tag":25,"props":6721,"children":6723},{"id":6722},"apdorojimas",[6724],{"type":22,"value":6725},"Apdorojimas",{"type":17,"tag":18,"props":6727,"children":6728},{},[6729,6731,6742],{"type":22,"value":6730},"Nuo čia ir toliau analizuosime, kaip apdoroti tik ",{"type":17,"tag":64,"props":6732,"children":6733},{"className":3632,"language":3633,"style":67},[6734,6738],{"type":17,"tag":70,"props":6735,"children":6736},{"style":987},[6737],{"type":22,"value":43},{"type":17,"tag":70,"props":6739,"children":6740},{"style":3641},[6741],{"type":22,"value":502},{"type":22,"value":6743}," failus. Tarkime turime klientų sąrašą (15 eilučių - 15 klientų), kuriame pateiktas vardas, pavardė, amžius, el. paštas, šalis, telefono numeris:",{"type":17,"tag":115,"props":6745,"children":6748},{"className":664,"code":6746,"filename":6747,"language":502,"meta":67,"style":67},"Renaud,Dispencer,46,rdispencer0@live.com,China,+86 474 126 7611\nMisty,Cuttler,54,mcuttler1@bing.com,China,+86 599 457 8677\nMerry,Mcettrick,70,mmcettrick2@woothemes.com,China,+86 306 934 3204\nRuby,Trulocke,33,rtrulocke3@acquirethisname.com,Poland,+48 186 302 8630\nAhmed,Dossett,26,adossett4@cdc.gov,Belarus,+375 170 210 1648\nTaryn,Eayrs,36,teayrs5@chicagotribune.com,China,+86 201 744 4817\nArmin,Starie,52,astarie6@com.com,United Arab Emirates,+971 135 992 7474\nArron,Beauvais,60,abeauvais7@networksolutions.com,Philippines,+63 245 245 6107\nUlrick,Ellsbury,67,uellsbury8@mayoclinic.com,France,+33 124 167 9435\nLouise,McGiff,52,lmcgiff9@naver.com,Sri Lanka,+94 752 778 0341\nLoise,Farris,56,lfarrisa@census.gov,Brazil,+55 124 687 2374\nConny,Aloshkin,70,caloshkinb@state.tx.us,China,+86 788 945 5235\nJedidiah,Pemberton,37,jpembertonc@blog.com,Japan,+81 266 348 0766\nWilldon,Deboy,25,wdeboyd@forbes.com,Indonesia,+62 155 660 7974\nCleopatra,McMaster,55,cmcmastere@nps.gov,Japan,+81 255 140 4796\n","customers.csv",[6749],{"type":17,"tag":64,"props":6750,"children":6751},{"__ignoreMap":67},[6752,6785,6817,6849,6882,6915,6947,6980,7013,7046,7078,7111,7142,7175,7208],{"type":17,"tag":70,"props":6753,"children":6754},{"class":124,"line":125},[6755,6760,6765,6770,6775,6780],{"type":17,"tag":70,"props":6756,"children":6757},{"style":675},[6758],{"type":22,"value":6759},"Renaud,",{"type":17,"tag":70,"props":6761,"children":6762},{"style":681},[6763],{"type":22,"value":6764},"Dispencer,",{"type":17,"tag":70,"props":6766,"children":6767},{"style":687},[6768],{"type":22,"value":6769},"46,",{"type":17,"tag":70,"props":6771,"children":6772},{"style":693},[6773],{"type":22,"value":6774},"rdispencer0@live.com,",{"type":17,"tag":70,"props":6776,"children":6777},{"style":1049},[6778],{"type":22,"value":6779},"China,",{"type":17,"tag":70,"props":6781,"children":6782},{"style":5072},[6783],{"type":22,"value":6784},"+86 474 126 7611\n",{"type":17,"tag":70,"props":6786,"children":6787},{"class":124,"line":699},[6788,6793,6798,6803,6808,6812],{"type":17,"tag":70,"props":6789,"children":6790},{"style":675},[6791],{"type":22,"value":6792},"Misty,",{"type":17,"tag":70,"props":6794,"children":6795},{"style":681},[6796],{"type":22,"value":6797},"Cuttler,",{"type":17,"tag":70,"props":6799,"children":6800},{"style":687},[6801],{"type":22,"value":6802},"54,",{"type":17,"tag":70,"props":6804,"children":6805},{"style":693},[6806],{"type":22,"value":6807},"mcuttler1@bing.com,",{"type":17,"tag":70,"props":6809,"children":6810},{"style":1049},[6811],{"type":22,"value":6779},{"type":17,"tag":70,"props":6813,"children":6814},{"style":5072},[6815],{"type":22,"value":6816},"+86 599 457 8677\n",{"type":17,"tag":70,"props":6818,"children":6819},{"class":124,"line":723},[6820,6825,6830,6835,6840,6844],{"type":17,"tag":70,"props":6821,"children":6822},{"style":675},[6823],{"type":22,"value":6824},"Merry,",{"type":17,"tag":70,"props":6826,"children":6827},{"style":681},[6828],{"type":22,"value":6829},"Mcettrick,",{"type":17,"tag":70,"props":6831,"children":6832},{"style":687},[6833],{"type":22,"value":6834},"70,",{"type":17,"tag":70,"props":6836,"children":6837},{"style":693},[6838],{"type":22,"value":6839},"mmcettrick2@woothemes.com,",{"type":17,"tag":70,"props":6841,"children":6842},{"style":1049},[6843],{"type":22,"value":6779},{"type":17,"tag":70,"props":6845,"children":6846},{"style":5072},[6847],{"type":22,"value":6848},"+86 306 934 3204\n",{"type":17,"tag":70,"props":6850,"children":6851},{"class":124,"line":747},[6852,6857,6862,6867,6872,6877],{"type":17,"tag":70,"props":6853,"children":6854},{"style":675},[6855],{"type":22,"value":6856},"Ruby,",{"type":17,"tag":70,"props":6858,"children":6859},{"style":681},[6860],{"type":22,"value":6861},"Trulocke,",{"type":17,"tag":70,"props":6863,"children":6864},{"style":687},[6865],{"type":22,"value":6866},"33,",{"type":17,"tag":70,"props":6868,"children":6869},{"style":693},[6870],{"type":22,"value":6871},"rtrulocke3@acquirethisname.com,",{"type":17,"tag":70,"props":6873,"children":6874},{"style":1049},[6875],{"type":22,"value":6876},"Poland,",{"type":17,"tag":70,"props":6878,"children":6879},{"style":5072},[6880],{"type":22,"value":6881},"+48 186 302 8630\n",{"type":17,"tag":70,"props":6883,"children":6884},{"class":124,"line":1101},[6885,6890,6895,6900,6905,6910],{"type":17,"tag":70,"props":6886,"children":6887},{"style":675},[6888],{"type":22,"value":6889},"Ahmed,",{"type":17,"tag":70,"props":6891,"children":6892},{"style":681},[6893],{"type":22,"value":6894},"Dossett,",{"type":17,"tag":70,"props":6896,"children":6897},{"style":687},[6898],{"type":22,"value":6899},"26,",{"type":17,"tag":70,"props":6901,"children":6902},{"style":693},[6903],{"type":22,"value":6904},"adossett4@cdc.gov,",{"type":17,"tag":70,"props":6906,"children":6907},{"style":1049},[6908],{"type":22,"value":6909},"Belarus,",{"type":17,"tag":70,"props":6911,"children":6912},{"style":5072},[6913],{"type":22,"value":6914},"+375 170 210 1648\n",{"type":17,"tag":70,"props":6916,"children":6917},{"class":124,"line":1139},[6918,6923,6928,6933,6938,6942],{"type":17,"tag":70,"props":6919,"children":6920},{"style":675},[6921],{"type":22,"value":6922},"Taryn,",{"type":17,"tag":70,"props":6924,"children":6925},{"style":681},[6926],{"type":22,"value":6927},"Eayrs,",{"type":17,"tag":70,"props":6929,"children":6930},{"style":687},[6931],{"type":22,"value":6932},"36,",{"type":17,"tag":70,"props":6934,"children":6935},{"style":693},[6936],{"type":22,"value":6937},"teayrs5@chicagotribune.com,",{"type":17,"tag":70,"props":6939,"children":6940},{"style":1049},[6941],{"type":22,"value":6779},{"type":17,"tag":70,"props":6943,"children":6944},{"style":5072},[6945],{"type":22,"value":6946},"+86 201 744 4817\n",{"type":17,"tag":70,"props":6948,"children":6949},{"class":124,"line":1177},[6950,6955,6960,6965,6970,6975],{"type":17,"tag":70,"props":6951,"children":6952},{"style":675},[6953],{"type":22,"value":6954},"Armin,",{"type":17,"tag":70,"props":6956,"children":6957},{"style":681},[6958],{"type":22,"value":6959},"Starie,",{"type":17,"tag":70,"props":6961,"children":6962},{"style":687},[6963],{"type":22,"value":6964},"52,",{"type":17,"tag":70,"props":6966,"children":6967},{"style":693},[6968],{"type":22,"value":6969},"astarie6@com.com,",{"type":17,"tag":70,"props":6971,"children":6972},{"style":1049},[6973],{"type":22,"value":6974},"United Arab Emirates,",{"type":17,"tag":70,"props":6976,"children":6977},{"style":5072},[6978],{"type":22,"value":6979},"+971 135 992 7474\n",{"type":17,"tag":70,"props":6981,"children":6982},{"class":124,"line":1215},[6983,6988,6993,6998,7003,7008],{"type":17,"tag":70,"props":6984,"children":6985},{"style":675},[6986],{"type":22,"value":6987},"Arron,",{"type":17,"tag":70,"props":6989,"children":6990},{"style":681},[6991],{"type":22,"value":6992},"Beauvais,",{"type":17,"tag":70,"props":6994,"children":6995},{"style":687},[6996],{"type":22,"value":6997},"60,",{"type":17,"tag":70,"props":6999,"children":7000},{"style":693},[7001],{"type":22,"value":7002},"abeauvais7@networksolutions.com,",{"type":17,"tag":70,"props":7004,"children":7005},{"style":1049},[7006],{"type":22,"value":7007},"Philippines,",{"type":17,"tag":70,"props":7009,"children":7010},{"style":5072},[7011],{"type":22,"value":7012},"+63 245 245 6107\n",{"type":17,"tag":70,"props":7014,"children":7015},{"class":124,"line":1240},[7016,7021,7026,7031,7036,7041],{"type":17,"tag":70,"props":7017,"children":7018},{"style":675},[7019],{"type":22,"value":7020},"Ulrick,",{"type":17,"tag":70,"props":7022,"children":7023},{"style":681},[7024],{"type":22,"value":7025},"Ellsbury,",{"type":17,"tag":70,"props":7027,"children":7028},{"style":687},[7029],{"type":22,"value":7030},"67,",{"type":17,"tag":70,"props":7032,"children":7033},{"style":693},[7034],{"type":22,"value":7035},"uellsbury8@mayoclinic.com,",{"type":17,"tag":70,"props":7037,"children":7038},{"style":1049},[7039],{"type":22,"value":7040},"France,",{"type":17,"tag":70,"props":7042,"children":7043},{"style":5072},[7044],{"type":22,"value":7045},"+33 124 167 9435\n",{"type":17,"tag":70,"props":7047,"children":7048},{"class":124,"line":1280},[7049,7054,7059,7063,7068,7073],{"type":17,"tag":70,"props":7050,"children":7051},{"style":675},[7052],{"type":22,"value":7053},"Louise,",{"type":17,"tag":70,"props":7055,"children":7056},{"style":681},[7057],{"type":22,"value":7058},"McGiff,",{"type":17,"tag":70,"props":7060,"children":7061},{"style":687},[7062],{"type":22,"value":6964},{"type":17,"tag":70,"props":7064,"children":7065},{"style":693},[7066],{"type":22,"value":7067},"lmcgiff9@naver.com,",{"type":17,"tag":70,"props":7069,"children":7070},{"style":1049},[7071],{"type":22,"value":7072},"Sri Lanka,",{"type":17,"tag":70,"props":7074,"children":7075},{"style":5072},[7076],{"type":22,"value":7077},"+94 752 778 0341\n",{"type":17,"tag":70,"props":7079,"children":7080},{"class":124,"line":1318},[7081,7086,7091,7096,7101,7106],{"type":17,"tag":70,"props":7082,"children":7083},{"style":675},[7084],{"type":22,"value":7085},"Loise,",{"type":17,"tag":70,"props":7087,"children":7088},{"style":681},[7089],{"type":22,"value":7090},"Farris,",{"type":17,"tag":70,"props":7092,"children":7093},{"style":687},[7094],{"type":22,"value":7095},"56,",{"type":17,"tag":70,"props":7097,"children":7098},{"style":693},[7099],{"type":22,"value":7100},"lfarrisa@census.gov,",{"type":17,"tag":70,"props":7102,"children":7103},{"style":1049},[7104],{"type":22,"value":7105},"Brazil,",{"type":17,"tag":70,"props":7107,"children":7108},{"style":5072},[7109],{"type":22,"value":7110},"+55 124 687 2374\n",{"type":17,"tag":70,"props":7112,"children":7113},{"class":124,"line":1356},[7114,7119,7124,7128,7133,7137],{"type":17,"tag":70,"props":7115,"children":7116},{"style":675},[7117],{"type":22,"value":7118},"Conny,",{"type":17,"tag":70,"props":7120,"children":7121},{"style":681},[7122],{"type":22,"value":7123},"Aloshkin,",{"type":17,"tag":70,"props":7125,"children":7126},{"style":687},[7127],{"type":22,"value":6834},{"type":17,"tag":70,"props":7129,"children":7130},{"style":693},[7131],{"type":22,"value":7132},"caloshkinb@state.tx.us,",{"type":17,"tag":70,"props":7134,"children":7135},{"style":1049},[7136],{"type":22,"value":6779},{"type":17,"tag":70,"props":7138,"children":7139},{"style":5072},[7140],{"type":22,"value":7141},"+86 788 945 5235\n",{"type":17,"tag":70,"props":7143,"children":7144},{"class":124,"line":1391},[7145,7150,7155,7160,7165,7170],{"type":17,"tag":70,"props":7146,"children":7147},{"style":675},[7148],{"type":22,"value":7149},"Jedidiah,",{"type":17,"tag":70,"props":7151,"children":7152},{"style":681},[7153],{"type":22,"value":7154},"Pemberton,",{"type":17,"tag":70,"props":7156,"children":7157},{"style":687},[7158],{"type":22,"value":7159},"37,",{"type":17,"tag":70,"props":7161,"children":7162},{"style":693},[7163],{"type":22,"value":7164},"jpembertonc@blog.com,",{"type":17,"tag":70,"props":7166,"children":7167},{"style":1049},[7168],{"type":22,"value":7169},"Japan,",{"type":17,"tag":70,"props":7171,"children":7172},{"style":5072},[7173],{"type":22,"value":7174},"+81 266 348 0766\n",{"type":17,"tag":70,"props":7176,"children":7177},{"class":124,"line":1400},[7178,7183,7188,7193,7198,7203],{"type":17,"tag":70,"props":7179,"children":7180},{"style":675},[7181],{"type":22,"value":7182},"Willdon,",{"type":17,"tag":70,"props":7184,"children":7185},{"style":681},[7186],{"type":22,"value":7187},"Deboy,",{"type":17,"tag":70,"props":7189,"children":7190},{"style":687},[7191],{"type":22,"value":7192},"25,",{"type":17,"tag":70,"props":7194,"children":7195},{"style":693},[7196],{"type":22,"value":7197},"wdeboyd@forbes.com,",{"type":17,"tag":70,"props":7199,"children":7200},{"style":1049},[7201],{"type":22,"value":7202},"Indonesia,",{"type":17,"tag":70,"props":7204,"children":7205},{"style":5072},[7206],{"type":22,"value":7207},"+62 155 660 7974\n",{"type":17,"tag":70,"props":7209,"children":7210},{"class":124,"line":1425},[7211,7216,7221,7226,7231,7235],{"type":17,"tag":70,"props":7212,"children":7213},{"style":675},[7214],{"type":22,"value":7215},"Cleopatra,",{"type":17,"tag":70,"props":7217,"children":7218},{"style":681},[7219],{"type":22,"value":7220},"McMaster,",{"type":17,"tag":70,"props":7222,"children":7223},{"style":687},[7224],{"type":22,"value":7225},"55,",{"type":17,"tag":70,"props":7227,"children":7228},{"style":693},[7229],{"type":22,"value":7230},"cmcmastere@nps.gov,",{"type":17,"tag":70,"props":7232,"children":7233},{"style":1049},[7234],{"type":22,"value":7169},{"type":17,"tag":70,"props":7236,"children":7237},{"style":5072},[7238],{"type":22,"value":7239},"+81 255 140 4796\n",{"type":17,"tag":18,"props":7241,"children":7242},{},[7243],{"type":22,"value":7244},"Tekstinius duomenis turėtume mokėti perskaityti:",{"type":17,"tag":115,"props":7246,"children":7248},{"className":3632,"code":7247,"language":3633,"meta":67,"style":67},"f = open(\"customers.csv\")\nraw_data = f.readlines()\nf.close()\n",[7249],{"type":17,"tag":64,"props":7250,"children":7251},{"__ignoreMap":67},[7252,7287,7315],{"type":17,"tag":70,"props":7253,"children":7254},{"class":124,"line":125},[7255,7259,7263,7267,7271,7275,7279,7283],{"type":17,"tag":70,"props":7256,"children":7257},{"style":675},[7258],{"type":22,"value":3696},{"type":17,"tag":70,"props":7260,"children":7261},{"style":2441},[7262],{"type":22,"value":2478},{"type":17,"tag":70,"props":7264,"children":7265},{"style":3656},[7266],{"type":22,"value":3705},{"type":17,"tag":70,"props":7268,"children":7269},{"style":987},[7270],{"type":22,"value":3710},{"type":17,"tag":70,"props":7272,"children":7273},{"style":1043},[7274],{"type":22,"value":1009},{"type":17,"tag":70,"props":7276,"children":7277},{"style":1049},[7278],{"type":22,"value":6747},{"type":17,"tag":70,"props":7280,"children":7281},{"style":1043},[7282],{"type":22,"value":1009},{"type":17,"tag":70,"props":7284,"children":7285},{"style":987},[7286],{"type":22,"value":3727},{"type":17,"tag":70,"props":7288,"children":7289},{"class":124,"line":699},[7290,7295,7299,7303,7307,7311],{"type":17,"tag":70,"props":7291,"children":7292},{"style":675},[7293],{"type":22,"value":7294},"raw_data ",{"type":17,"tag":70,"props":7296,"children":7297},{"style":2441},[7298],{"type":22,"value":2478},{"type":17,"tag":70,"props":7300,"children":7301},{"style":675},[7302],{"type":22,"value":3880},{"type":17,"tag":70,"props":7304,"children":7305},{"style":987},[7306],{"type":22,"value":43},{"type":17,"tag":70,"props":7308,"children":7309},{"style":3810},[7310],{"type":22,"value":5365},{"type":17,"tag":70,"props":7312,"children":7313},{"style":987},[7314],{"type":22,"value":3893},{"type":17,"tag":70,"props":7316,"children":7317},{"class":124,"line":723},[7318,7322,7326,7330],{"type":17,"tag":70,"props":7319,"children":7320},{"style":675},[7321],{"type":22,"value":3768},{"type":17,"tag":70,"props":7323,"children":7324},{"style":987},[7325],{"type":22,"value":43},{"type":17,"tag":70,"props":7327,"children":7328},{"style":3810},[7329],{"type":22,"value":5925},{"type":17,"tag":70,"props":7331,"children":7332},{"style":987},[7333],{"type":22,"value":3893},{"type":17,"tag":45,"props":7335,"children":7337},{"id":7336},"pradinis-sutvarkymas",[7338],{"type":22,"value":7339},"Pradinis sutvarkymas",{"type":17,"tag":18,"props":7341,"children":7342},{},[7343,7345,7353,7355,7362],{"type":22,"value":7344},"Kadangi mūsų ",{"type":17,"tag":64,"props":7346,"children":7347},{"className":3632,"language":3633,"style":67},[7348],{"type":17,"tag":70,"props":7349,"children":7350},{"style":675},[7351],{"type":22,"value":7352},"raw_data",{"type":22,"value":7354}," turi nereikalingų naujos eilutės simbolių ",{"type":17,"tag":64,"props":7356,"children":7357},{"className":66,"language":22,"style":67},[7358],{"type":17,"tag":70,"props":7359,"children":7360},{},[7361],{"type":22,"value":4765},{"type":22,"value":7363},", jį pašalinkime:",{"type":17,"tag":115,"props":7365,"children":7367},{"className":3632,"code":7366,"language":3633,"meta":67,"style":67},"f = open(\"customers.csv\")\nraw_data = f.readlines()\nf.close()\n\nfor i in range(len(raw_data)):\n    raw_data[i] = raw_data[i].replace(\"\\n\", \"\")\n\nprint(raw_data)\n",[7368],{"type":17,"tag":64,"props":7369,"children":7370},{"__ignoreMap":67},[7371,7406,7433,7452,7459,7502,7581,7588],{"type":17,"tag":70,"props":7372,"children":7373},{"class":124,"line":125},[7374,7378,7382,7386,7390,7394,7398,7402],{"type":17,"tag":70,"props":7375,"children":7376},{"style":675},[7377],{"type":22,"value":3696},{"type":17,"tag":70,"props":7379,"children":7380},{"style":2441},[7381],{"type":22,"value":2478},{"type":17,"tag":70,"props":7383,"children":7384},{"style":3656},[7385],{"type":22,"value":3705},{"type":17,"tag":70,"props":7387,"children":7388},{"style":987},[7389],{"type":22,"value":3710},{"type":17,"tag":70,"props":7391,"children":7392},{"style":1043},[7393],{"type":22,"value":1009},{"type":17,"tag":70,"props":7395,"children":7396},{"style":1049},[7397],{"type":22,"value":6747},{"type":17,"tag":70,"props":7399,"children":7400},{"style":1043},[7401],{"type":22,"value":1009},{"type":17,"tag":70,"props":7403,"children":7404},{"style":987},[7405],{"type":22,"value":3727},{"type":17,"tag":70,"props":7407,"children":7408},{"class":124,"line":699},[7409,7413,7417,7421,7425,7429],{"type":17,"tag":70,"props":7410,"children":7411},{"style":675},[7412],{"type":22,"value":7294},{"type":17,"tag":70,"props":7414,"children":7415},{"style":2441},[7416],{"type":22,"value":2478},{"type":17,"tag":70,"props":7418,"children":7419},{"style":675},[7420],{"type":22,"value":3880},{"type":17,"tag":70,"props":7422,"children":7423},{"style":987},[7424],{"type":22,"value":43},{"type":17,"tag":70,"props":7426,"children":7427},{"style":3810},[7428],{"type":22,"value":5365},{"type":17,"tag":70,"props":7430,"children":7431},{"style":987},[7432],{"type":22,"value":3893},{"type":17,"tag":70,"props":7434,"children":7435},{"class":124,"line":723},[7436,7440,7444,7448],{"type":17,"tag":70,"props":7437,"children":7438},{"style":675},[7439],{"type":22,"value":3768},{"type":17,"tag":70,"props":7441,"children":7442},{"style":987},[7443],{"type":22,"value":43},{"type":17,"tag":70,"props":7445,"children":7446},{"style":3810},[7447],{"type":22,"value":5925},{"type":17,"tag":70,"props":7449,"children":7450},{"style":987},[7451],{"type":22,"value":3893},{"type":17,"tag":70,"props":7453,"children":7454},{"class":124,"line":747},[7455],{"type":17,"tag":70,"props":7456,"children":7457},{"emptyLinePlaceholder":4063},[7458],{"type":22,"value":4066},{"type":17,"tag":70,"props":7460,"children":7461},{"class":124,"line":1101},[7462,7466,7471,7475,7480,7484,7489,7493,7497],{"type":17,"tag":70,"props":7463,"children":7464},{"style":5751},[7465],{"type":22,"value":5754},{"type":17,"tag":70,"props":7467,"children":7468},{"style":675},[7469],{"type":22,"value":7470}," i ",{"type":17,"tag":70,"props":7472,"children":7473},{"style":5751},[7474],{"type":22,"value":5764},{"type":17,"tag":70,"props":7476,"children":7477},{"style":3656},[7478],{"type":22,"value":7479}," range",{"type":17,"tag":70,"props":7481,"children":7482},{"style":987},[7483],{"type":22,"value":3710},{"type":17,"tag":70,"props":7485,"children":7486},{"style":3656},[7487],{"type":22,"value":7488},"len",{"type":17,"tag":70,"props":7490,"children":7491},{"style":987},[7492],{"type":22,"value":3710},{"type":17,"tag":70,"props":7494,"children":7495},{"style":3908},[7496],{"type":22,"value":7352},{"type":17,"tag":70,"props":7498,"children":7499},{"style":987},[7500],{"type":22,"value":7501},")):\n",{"type":17,"tag":70,"props":7503,"children":7504},{"class":124,"line":1139},[7505,7511,7516,7521,7526,7531,7536,7540,7544,7549,7553,7557,7561,7565,7569,7573,7577],{"type":17,"tag":70,"props":7506,"children":7508},{"style":7507},"--shiki-default:#E64553;--shiki-dark:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark-font-style:inherit",[7509],{"type":22,"value":7510},"    raw_data",{"type":17,"tag":70,"props":7512,"children":7513},{"style":987},[7514],{"type":22,"value":7515},"[",{"type":17,"tag":70,"props":7517,"children":7518},{"style":7507},[7519],{"type":22,"value":7520},"i",{"type":17,"tag":70,"props":7522,"children":7523},{"style":987},[7524],{"type":22,"value":7525},"]",{"type":17,"tag":70,"props":7527,"children":7528},{"style":2441},[7529],{"type":22,"value":7530}," =",{"type":17,"tag":70,"props":7532,"children":7533},{"style":7507},[7534],{"type":22,"value":7535}," raw_data",{"type":17,"tag":70,"props":7537,"children":7538},{"style":987},[7539],{"type":22,"value":7515},{"type":17,"tag":70,"props":7541,"children":7542},{"style":7507},[7543],{"type":22,"value":7520},{"type":17,"tag":70,"props":7545,"children":7546},{"style":987},[7547],{"type":22,"value":7548},"].",{"type":17,"tag":70,"props":7550,"children":7551},{"style":3810},[7552],{"type":22,"value":4877},{"type":17,"tag":70,"props":7554,"children":7555},{"style":987},[7556],{"type":22,"value":3710},{"type":17,"tag":70,"props":7558,"children":7559},{"style":1043},[7560],{"type":22,"value":1009},{"type":17,"tag":70,"props":7562,"children":7563},{"style":4888},[7564],{"type":22,"value":4765},{"type":17,"tag":70,"props":7566,"children":7567},{"style":1043},[7568],{"type":22,"value":1009},{"type":17,"tag":70,"props":7570,"children":7571},{"style":987},[7572],{"type":22,"value":2139},{"type":17,"tag":70,"props":7574,"children":7575},{"style":1043},[7576],{"type":22,"value":4903},{"type":17,"tag":70,"props":7578,"children":7579},{"style":987},[7580],{"type":22,"value":3727},{"type":17,"tag":70,"props":7582,"children":7583},{"class":124,"line":1177},[7584],{"type":17,"tag":70,"props":7585,"children":7586},{"emptyLinePlaceholder":4063},[7587],{"type":22,"value":4066},{"type":17,"tag":70,"props":7589,"children":7590},{"class":124,"line":1215},[7591,7595,7599,7603],{"type":17,"tag":70,"props":7592,"children":7593},{"style":3656},[7594],{"type":22,"value":3901},{"type":17,"tag":70,"props":7596,"children":7597},{"style":987},[7598],{"type":22,"value":3710},{"type":17,"tag":70,"props":7600,"children":7601},{"style":3908},[7602],{"type":22,"value":7352},{"type":17,"tag":70,"props":7604,"children":7605},{"style":987},[7606],{"type":22,"value":3727},{"type":17,"tag":18,"props":7608,"children":7609},{},[7610],{"type":22,"value":7611},"Gauname švaresnias eilutes:",{"type":17,"tag":115,"props":7613,"children":7615},{"className":3773,"code":7614,"language":3775,"meta":67,"style":67},"['Renaud,Dispencer,46,rdispencer0@live.com,China,+86 474 126 7611', 'Misty,Cuttler,54,mcuttler1@bing.com,China,+86 599 457 8677', 'Merry,Mcettrick,70,mmcettrick2@woothemes.com,China,+86 306 934 3204', 'Ruby,Trulocke,33,rtrulocke3@acquirethisname.com,Poland,+48 186 302 8630', 'Ahmed,Dossett,26,adossett4@cdc.gov,Belarus,+375 170 210 1648', 'Taryn,Eayrs,36,teayrs5@chicagotribune.com,China,+86 201 744 4817', 'Armin,Starie,52,astarie6@com.com,United Arab Emirates,+971 135 992 7474', 'Arron,Beauvais,60,abeauvais7@networksolutions.com,Philippines,+63 245 245 6107', 'Ulrick,Ellsbury,67,uellsbury8@mayoclinic.com,France,+33 124 167 9435', 'Louise,McGiff,52,lmcgiff9@naver.com,Sri Lanka,+94 752 778 0341', 'Loise,Farris,56,lfarrisa@census.gov,Brazil,+55 124 687 2374', 'Conny,Aloshkin,70,caloshkinb@state.tx.us,China,+86 788 945 5235', 'Jedidiah,Pemberton,37,jpembertonc@blog.com,Japan,+81 266 348 0766', 'Willdon,Deboy,25,wdeboyd@forbes.com,Indonesia,+62 155 660 7974', 'Cleopatra,McMaster,55,cmcmastere@nps.gov,Japan,+81 255 140 4796']\n",[7616],{"type":17,"tag":64,"props":7617,"children":7618},{"__ignoreMap":67},[7619],{"type":17,"tag":70,"props":7620,"children":7621},{"class":124,"line":125},[7622],{"type":17,"tag":70,"props":7623,"children":7624},{"style":675},[7625],{"type":22,"value":7614},{"type":17,"tag":18,"props":7627,"children":7628},{},[7629],{"type":22,"value":7630},"Dabar galima atskirti eilutėse kableliais atskirtus duomenis.",{"type":17,"tag":115,"props":7632,"children":7634},{"className":3632,"code":7633,"language":3633,"meta":67,"style":67},"f = open(\"customers.csv\")\nraw_data = f.readlines()\nf.close()\n\ndata=[]\n\nfor i in range(len(raw_data)):\n    line_data = raw_data[i].replace(\"\\n\", \"\").split(\",\")\n    data.append(line_data) \n    print(line_data)\n",[7635],{"type":17,"tag":64,"props":7636,"children":7637},{"__ignoreMap":67},[7638,7673,7700,7719,7726,7743,7750,7789,7875,7910],{"type":17,"tag":70,"props":7639,"children":7640},{"class":124,"line":125},[7641,7645,7649,7653,7657,7661,7665,7669],{"type":17,"tag":70,"props":7642,"children":7643},{"style":675},[7644],{"type":22,"value":3696},{"type":17,"tag":70,"props":7646,"children":7647},{"style":2441},[7648],{"type":22,"value":2478},{"type":17,"tag":70,"props":7650,"children":7651},{"style":3656},[7652],{"type":22,"value":3705},{"type":17,"tag":70,"props":7654,"children":7655},{"style":987},[7656],{"type":22,"value":3710},{"type":17,"tag":70,"props":7658,"children":7659},{"style":1043},[7660],{"type":22,"value":1009},{"type":17,"tag":70,"props":7662,"children":7663},{"style":1049},[7664],{"type":22,"value":6747},{"type":17,"tag":70,"props":7666,"children":7667},{"style":1043},[7668],{"type":22,"value":1009},{"type":17,"tag":70,"props":7670,"children":7671},{"style":987},[7672],{"type":22,"value":3727},{"type":17,"tag":70,"props":7674,"children":7675},{"class":124,"line":699},[7676,7680,7684,7688,7692,7696],{"type":17,"tag":70,"props":7677,"children":7678},{"style":675},[7679],{"type":22,"value":7294},{"type":17,"tag":70,"props":7681,"children":7682},{"style":2441},[7683],{"type":22,"value":2478},{"type":17,"tag":70,"props":7685,"children":7686},{"style":675},[7687],{"type":22,"value":3880},{"type":17,"tag":70,"props":7689,"children":7690},{"style":987},[7691],{"type":22,"value":43},{"type":17,"tag":70,"props":7693,"children":7694},{"style":3810},[7695],{"type":22,"value":5365},{"type":17,"tag":70,"props":7697,"children":7698},{"style":987},[7699],{"type":22,"value":3893},{"type":17,"tag":70,"props":7701,"children":7702},{"class":124,"line":723},[7703,7707,7711,7715],{"type":17,"tag":70,"props":7704,"children":7705},{"style":675},[7706],{"type":22,"value":3768},{"type":17,"tag":70,"props":7708,"children":7709},{"style":987},[7710],{"type":22,"value":43},{"type":17,"tag":70,"props":7712,"children":7713},{"style":3810},[7714],{"type":22,"value":5925},{"type":17,"tag":70,"props":7716,"children":7717},{"style":987},[7718],{"type":22,"value":3893},{"type":17,"tag":70,"props":7720,"children":7721},{"class":124,"line":747},[7722],{"type":17,"tag":70,"props":7723,"children":7724},{"emptyLinePlaceholder":4063},[7725],{"type":22,"value":4066},{"type":17,"tag":70,"props":7727,"children":7728},{"class":124,"line":1101},[7729,7734,7738],{"type":17,"tag":70,"props":7730,"children":7731},{"style":675},[7732],{"type":22,"value":7733},"data",{"type":17,"tag":70,"props":7735,"children":7736},{"style":2441},[7737],{"type":22,"value":2478},{"type":17,"tag":70,"props":7739,"children":7740},{"style":987},[7741],{"type":22,"value":7742},"[]\n",{"type":17,"tag":70,"props":7744,"children":7745},{"class":124,"line":1139},[7746],{"type":17,"tag":70,"props":7747,"children":7748},{"emptyLinePlaceholder":4063},[7749],{"type":22,"value":4066},{"type":17,"tag":70,"props":7751,"children":7752},{"class":124,"line":1177},[7753,7757,7761,7765,7769,7773,7777,7781,7785],{"type":17,"tag":70,"props":7754,"children":7755},{"style":5751},[7756],{"type":22,"value":5754},{"type":17,"tag":70,"props":7758,"children":7759},{"style":675},[7760],{"type":22,"value":7470},{"type":17,"tag":70,"props":7762,"children":7763},{"style":5751},[7764],{"type":22,"value":5764},{"type":17,"tag":70,"props":7766,"children":7767},{"style":3656},[7768],{"type":22,"value":7479},{"type":17,"tag":70,"props":7770,"children":7771},{"style":987},[7772],{"type":22,"value":3710},{"type":17,"tag":70,"props":7774,"children":7775},{"style":3656},[7776],{"type":22,"value":7488},{"type":17,"tag":70,"props":7778,"children":7779},{"style":987},[7780],{"type":22,"value":3710},{"type":17,"tag":70,"props":7782,"children":7783},{"style":3908},[7784],{"type":22,"value":7352},{"type":17,"tag":70,"props":7786,"children":7787},{"style":987},[7788],{"type":22,"value":7501},{"type":17,"tag":70,"props":7790,"children":7791},{"class":124,"line":1215},[7792,7797,7801,7805,7809,7813,7817,7821,7825,7829,7833,7837,7841,7845,7850,7855,7859,7863,7867,7871],{"type":17,"tag":70,"props":7793,"children":7794},{"style":675},[7795],{"type":22,"value":7796},"    line_data ",{"type":17,"tag":70,"props":7798,"children":7799},{"style":2441},[7800],{"type":22,"value":2478},{"type":17,"tag":70,"props":7802,"children":7803},{"style":7507},[7804],{"type":22,"value":7535},{"type":17,"tag":70,"props":7806,"children":7807},{"style":987},[7808],{"type":22,"value":7515},{"type":17,"tag":70,"props":7810,"children":7811},{"style":7507},[7812],{"type":22,"value":7520},{"type":17,"tag":70,"props":7814,"children":7815},{"style":987},[7816],{"type":22,"value":7548},{"type":17,"tag":70,"props":7818,"children":7819},{"style":3810},[7820],{"type":22,"value":4877},{"type":17,"tag":70,"props":7822,"children":7823},{"style":987},[7824],{"type":22,"value":3710},{"type":17,"tag":70,"props":7826,"children":7827},{"style":1043},[7828],{"type":22,"value":1009},{"type":17,"tag":70,"props":7830,"children":7831},{"style":4888},[7832],{"type":22,"value":4765},{"type":17,"tag":70,"props":7834,"children":7835},{"style":1043},[7836],{"type":22,"value":1009},{"type":17,"tag":70,"props":7838,"children":7839},{"style":987},[7840],{"type":22,"value":2139},{"type":17,"tag":70,"props":7842,"children":7843},{"style":1043},[7844],{"type":22,"value":4903},{"type":17,"tag":70,"props":7846,"children":7847},{"style":987},[7848],{"type":22,"value":7849},").",{"type":17,"tag":70,"props":7851,"children":7852},{"style":3810},[7853],{"type":22,"value":7854},"split",{"type":17,"tag":70,"props":7856,"children":7857},{"style":987},[7858],{"type":22,"value":3710},{"type":17,"tag":70,"props":7860,"children":7861},{"style":1043},[7862],{"type":22,"value":1009},{"type":17,"tag":70,"props":7864,"children":7865},{"style":1049},[7866],{"type":22,"value":2139},{"type":17,"tag":70,"props":7868,"children":7869},{"style":1043},[7870],{"type":22,"value":1009},{"type":17,"tag":70,"props":7872,"children":7873},{"style":987},[7874],{"type":22,"value":3727},{"type":17,"tag":70,"props":7876,"children":7877},{"class":124,"line":1240},[7878,7883,7887,7892,7896,7901,7905],{"type":17,"tag":70,"props":7879,"children":7880},{"style":675},[7881],{"type":22,"value":7882},"    data",{"type":17,"tag":70,"props":7884,"children":7885},{"style":987},[7886],{"type":22,"value":43},{"type":17,"tag":70,"props":7888,"children":7889},{"style":3810},[7890],{"type":22,"value":7891},"append",{"type":17,"tag":70,"props":7893,"children":7894},{"style":987},[7895],{"type":22,"value":3710},{"type":17,"tag":70,"props":7897,"children":7898},{"style":3908},[7899],{"type":22,"value":7900},"line_data",{"type":17,"tag":70,"props":7902,"children":7903},{"style":987},[7904],{"type":22,"value":5088},{"type":17,"tag":70,"props":7906,"children":7907},{"style":675},[7908],{"type":22,"value":7909}," \n",{"type":17,"tag":70,"props":7911,"children":7912},{"class":124,"line":1280},[7913,7917,7921,7925],{"type":17,"tag":70,"props":7914,"children":7915},{"style":3656},[7916],{"type":22,"value":5781},{"type":17,"tag":70,"props":7918,"children":7919},{"style":987},[7920],{"type":22,"value":3710},{"type":17,"tag":70,"props":7922,"children":7923},{"style":3908},[7924],{"type":22,"value":7900},{"type":17,"tag":70,"props":7926,"children":7927},{"style":987},[7928],{"type":22,"value":3727},{"type":17,"tag":18,"props":7930,"children":7931},{},[7932],{"type":22,"value":7933},"Sukūrime sąrašus sąraše ir todėl galima pasiekti kiekvieną atskirą duomenų laukelį:",{"type":17,"tag":115,"props":7935,"children":7937},{"className":3773,"code":7936,"language":3775,"meta":67,"style":67},"['Renaud', 'Dispencer', '46', 'rdispencer0@live.com', 'China', '+86 474 126 7611']\n['Misty', 'Cuttler', '54', 'mcuttler1@bing.com', 'China', '+86 599 457 8677']\n['Merry', 'Mcettrick', '70', 'mmcettrick2@woothemes.com', 'China', '+86 306 934 3204']\n['Ruby', 'Trulocke', '33', 'rtrulocke3@acquirethisname.com', 'Poland', '+48 186 302 8630']\n['Ahmed', 'Dossett', '26', 'adossett4@cdc.gov', 'Belarus', '+375 170 210 1648']\n['Taryn', 'Eayrs', '36', 'teayrs5@chicagotribune.com', 'China', '+86 201 744 4817']\n['Armin', 'Starie', '52', 'astarie6@com.com', 'United Arab Emirates', '+971 135 992 7474']\n['Arron', 'Beauvais', '60', 'abeauvais7@networksolutions.com', 'Philippines', '+63 245 245 6107']\n['Ulrick', 'Ellsbury', '67', 'uellsbury8@mayoclinic.com', 'France', '+33 124 167 9435']\n['Louise', 'McGiff', '52', 'lmcgiff9@naver.com', 'Sri Lanka', '+94 752 778 0341']\n['Loise', 'Farris', '56', 'lfarrisa@census.gov', 'Brazil', '+55 124 687 2374']\n['Conny', 'Aloshkin', '70', 'caloshkinb@state.tx.us', 'China', '+86 788 945 5235']\n['Jedidiah', 'Pemberton', '37', 'jpembertonc@blog.com', 'Japan', '+81 266 348 0766']\n['Willdon', 'Deboy', '25', 'wdeboyd@forbes.com', 'Indonesia', '+62 155 660 7974']\n['Cleopatra', 'McMaster', '55', 'cmcmastere@nps.gov', 'Japan', '+81 255 140 4796']\n",[7938],{"type":17,"tag":64,"props":7939,"children":7940},{"__ignoreMap":67},[7941,7949,7957,7965,7973,7981,7989,7997,8005,8013,8021,8029,8037,8045,8053],{"type":17,"tag":70,"props":7942,"children":7943},{"class":124,"line":125},[7944],{"type":17,"tag":70,"props":7945,"children":7946},{"style":675},[7947],{"type":22,"value":7948},"['Renaud', 'Dispencer', '46', 'rdispencer0@live.com', 'China', '+86 474 126 7611']\n",{"type":17,"tag":70,"props":7950,"children":7951},{"class":124,"line":699},[7952],{"type":17,"tag":70,"props":7953,"children":7954},{"style":675},[7955],{"type":22,"value":7956},"['Misty', 'Cuttler', '54', 'mcuttler1@bing.com', 'China', '+86 599 457 8677']\n",{"type":17,"tag":70,"props":7958,"children":7959},{"class":124,"line":723},[7960],{"type":17,"tag":70,"props":7961,"children":7962},{"style":675},[7963],{"type":22,"value":7964},"['Merry', 'Mcettrick', '70', 'mmcettrick2@woothemes.com', 'China', '+86 306 934 3204']\n",{"type":17,"tag":70,"props":7966,"children":7967},{"class":124,"line":747},[7968],{"type":17,"tag":70,"props":7969,"children":7970},{"style":675},[7971],{"type":22,"value":7972},"['Ruby', 'Trulocke', '33', 'rtrulocke3@acquirethisname.com', 'Poland', '+48 186 302 8630']\n",{"type":17,"tag":70,"props":7974,"children":7975},{"class":124,"line":1101},[7976],{"type":17,"tag":70,"props":7977,"children":7978},{"style":675},[7979],{"type":22,"value":7980},"['Ahmed', 'Dossett', '26', 'adossett4@cdc.gov', 'Belarus', '+375 170 210 1648']\n",{"type":17,"tag":70,"props":7982,"children":7983},{"class":124,"line":1139},[7984],{"type":17,"tag":70,"props":7985,"children":7986},{"style":675},[7987],{"type":22,"value":7988},"['Taryn', 'Eayrs', '36', 'teayrs5@chicagotribune.com', 'China', '+86 201 744 4817']\n",{"type":17,"tag":70,"props":7990,"children":7991},{"class":124,"line":1177},[7992],{"type":17,"tag":70,"props":7993,"children":7994},{"style":675},[7995],{"type":22,"value":7996},"['Armin', 'Starie', '52', 'astarie6@com.com', 'United Arab Emirates', '+971 135 992 7474']\n",{"type":17,"tag":70,"props":7998,"children":7999},{"class":124,"line":1215},[8000],{"type":17,"tag":70,"props":8001,"children":8002},{"style":675},[8003],{"type":22,"value":8004},"['Arron', 'Beauvais', '60', 'abeauvais7@networksolutions.com', 'Philippines', '+63 245 245 6107']\n",{"type":17,"tag":70,"props":8006,"children":8007},{"class":124,"line":1240},[8008],{"type":17,"tag":70,"props":8009,"children":8010},{"style":675},[8011],{"type":22,"value":8012},"['Ulrick', 'Ellsbury', '67', 'uellsbury8@mayoclinic.com', 'France', '+33 124 167 9435']\n",{"type":17,"tag":70,"props":8014,"children":8015},{"class":124,"line":1280},[8016],{"type":17,"tag":70,"props":8017,"children":8018},{"style":675},[8019],{"type":22,"value":8020},"['Louise', 'McGiff', '52', 'lmcgiff9@naver.com', 'Sri Lanka', '+94 752 778 0341']\n",{"type":17,"tag":70,"props":8022,"children":8023},{"class":124,"line":1318},[8024],{"type":17,"tag":70,"props":8025,"children":8026},{"style":675},[8027],{"type":22,"value":8028},"['Loise', 'Farris', '56', 'lfarrisa@census.gov', 'Brazil', '+55 124 687 2374']\n",{"type":17,"tag":70,"props":8030,"children":8031},{"class":124,"line":1356},[8032],{"type":17,"tag":70,"props":8033,"children":8034},{"style":675},[8035],{"type":22,"value":8036},"['Conny', 'Aloshkin', '70', 'caloshkinb@state.tx.us', 'China', '+86 788 945 5235']\n",{"type":17,"tag":70,"props":8038,"children":8039},{"class":124,"line":1391},[8040],{"type":17,"tag":70,"props":8041,"children":8042},{"style":675},[8043],{"type":22,"value":8044},"['Jedidiah', 'Pemberton', '37', 'jpembertonc@blog.com', 'Japan', '+81 266 348 0766']\n",{"type":17,"tag":70,"props":8046,"children":8047},{"class":124,"line":1400},[8048],{"type":17,"tag":70,"props":8049,"children":8050},{"style":675},[8051],{"type":22,"value":8052},"['Willdon', 'Deboy', '25', 'wdeboyd@forbes.com', 'Indonesia', '+62 155 660 7974']\n",{"type":17,"tag":70,"props":8054,"children":8055},{"class":124,"line":1425},[8056],{"type":17,"tag":70,"props":8057,"children":8058},{"style":675},[8059],{"type":22,"value":8060},"['Cleopatra', 'McMaster', '55', 'cmcmastere@nps.gov', 'Japan', '+81 255 140 4796']\n",{"type":17,"tag":18,"props":8062,"children":8063},{},[8064],{"type":22,"value":8065},"Toliau galima naudodami ciklą cikle skaičiuoti įverčius, apdoroti duomenis.",{"type":17,"tag":45,"props":8067,"children":8069},{"id":8068},"atvaizdavimas-lentele",[8070],{"type":22,"value":8071},"Atvaizdavimas lentele",{"type":17,"tag":18,"props":8073,"children":8074},{},[8075,8077,8094],{"type":22,"value":8076},"Naudojantis ",{"type":17,"tag":64,"props":8078,"children":8079},{"className":3632,"language":3633,"style":67},[8080,8084,8089],{"type":17,"tag":70,"props":8081,"children":8082},{"style":675},[8083],{"type":22,"value":3768},{"type":17,"tag":70,"props":8085,"children":8086},{"style":2441},[8087],{"type":22,"value":8088},"-",{"type":17,"tag":70,"props":8090,"children":8091},{"style":675},[8092],{"type":22,"value":8093},"strings",{"type":22,"value":8095}," tokius duomenis galima pateikti lentele:",{"type":17,"tag":115,"props":8097,"children":8100},{"className":3632,"code":8098,"filename":8099,"language":3633,"meta":67,"style":67},"f = open(\"customers.csv\")\nraw_data = f.readlines()\nf.close()\n\ndata = []\n\n# Data clean\nfor i in range(len(raw_data)):\n    line_data = raw_data[i].replace(\"\\n\", \"\").split(\",\")\n    data.append(line_data)\n\n# Formatting lines\nformatted_lines = []\nheader = [\"Name\", \"Surname\", \"Age\", \"Email\", \"Country\", \"Tel. Number\"]\ndata.insert(0, header)\nfor line in data:\n    f_line = f\"| {line[0]:10} | {line[1]:10} | {line[2]:>3} | {line[3]:>32} | {line[4]:>20} | {line[5]:>18} |\"\n    formatted_lines.append(f_line)\n\n# Printing\nseperator_line = \"-\"*len(formatted_lines[0])\nprint(seperator_line)\nfor i, line in enumerate(formatted_lines):\n    print(line)\n    if(i == 0):\n        print(seperator_line)\nprint(seperator_line)\n","pretty_table.py",[8101],{"type":17,"tag":64,"props":8102,"children":8103},{"__ignoreMap":67},[8104,8139,8166,8185,8192,8209,8216,8224,8263,8346,8373,8380,8388,8404,8522,8560,8584,8815,8844,8851,8859,8915,8935,8977,8996,9027,9047],{"type":17,"tag":70,"props":8105,"children":8106},{"class":124,"line":125},[8107,8111,8115,8119,8123,8127,8131,8135],{"type":17,"tag":70,"props":8108,"children":8109},{"style":675},[8110],{"type":22,"value":3696},{"type":17,"tag":70,"props":8112,"children":8113},{"style":2441},[8114],{"type":22,"value":2478},{"type":17,"tag":70,"props":8116,"children":8117},{"style":3656},[8118],{"type":22,"value":3705},{"type":17,"tag":70,"props":8120,"children":8121},{"style":987},[8122],{"type":22,"value":3710},{"type":17,"tag":70,"props":8124,"children":8125},{"style":1043},[8126],{"type":22,"value":1009},{"type":17,"tag":70,"props":8128,"children":8129},{"style":1049},[8130],{"type":22,"value":6747},{"type":17,"tag":70,"props":8132,"children":8133},{"style":1043},[8134],{"type":22,"value":1009},{"type":17,"tag":70,"props":8136,"children":8137},{"style":987},[8138],{"type":22,"value":3727},{"type":17,"tag":70,"props":8140,"children":8141},{"class":124,"line":699},[8142,8146,8150,8154,8158,8162],{"type":17,"tag":70,"props":8143,"children":8144},{"style":675},[8145],{"type":22,"value":7294},{"type":17,"tag":70,"props":8147,"children":8148},{"style":2441},[8149],{"type":22,"value":2478},{"type":17,"tag":70,"props":8151,"children":8152},{"style":675},[8153],{"type":22,"value":3880},{"type":17,"tag":70,"props":8155,"children":8156},{"style":987},[8157],{"type":22,"value":43},{"type":17,"tag":70,"props":8159,"children":8160},{"style":3810},[8161],{"type":22,"value":5365},{"type":17,"tag":70,"props":8163,"children":8164},{"style":987},[8165],{"type":22,"value":3893},{"type":17,"tag":70,"props":8167,"children":8168},{"class":124,"line":723},[8169,8173,8177,8181],{"type":17,"tag":70,"props":8170,"children":8171},{"style":675},[8172],{"type":22,"value":3768},{"type":17,"tag":70,"props":8174,"children":8175},{"style":987},[8176],{"type":22,"value":43},{"type":17,"tag":70,"props":8178,"children":8179},{"style":3810},[8180],{"type":22,"value":5925},{"type":17,"tag":70,"props":8182,"children":8183},{"style":987},[8184],{"type":22,"value":3893},{"type":17,"tag":70,"props":8186,"children":8187},{"class":124,"line":747},[8188],{"type":17,"tag":70,"props":8189,"children":8190},{"emptyLinePlaceholder":4063},[8191],{"type":22,"value":4066},{"type":17,"tag":70,"props":8193,"children":8194},{"class":124,"line":1101},[8195,8200,8204],{"type":17,"tag":70,"props":8196,"children":8197},{"style":675},[8198],{"type":22,"value":8199},"data ",{"type":17,"tag":70,"props":8201,"children":8202},{"style":2441},[8203],{"type":22,"value":2478},{"type":17,"tag":70,"props":8205,"children":8206},{"style":987},[8207],{"type":22,"value":8208}," []\n",{"type":17,"tag":70,"props":8210,"children":8211},{"class":124,"line":1139},[8212],{"type":17,"tag":70,"props":8213,"children":8214},{"emptyLinePlaceholder":4063},[8215],{"type":22,"value":4066},{"type":17,"tag":70,"props":8217,"children":8218},{"class":124,"line":1177},[8219],{"type":17,"tag":70,"props":8220,"children":8221},{"style":693},[8222],{"type":22,"value":8223},"# Data clean\n",{"type":17,"tag":70,"props":8225,"children":8226},{"class":124,"line":1215},[8227,8231,8235,8239,8243,8247,8251,8255,8259],{"type":17,"tag":70,"props":8228,"children":8229},{"style":5751},[8230],{"type":22,"value":5754},{"type":17,"tag":70,"props":8232,"children":8233},{"style":675},[8234],{"type":22,"value":7470},{"type":17,"tag":70,"props":8236,"children":8237},{"style":5751},[8238],{"type":22,"value":5764},{"type":17,"tag":70,"props":8240,"children":8241},{"style":3656},[8242],{"type":22,"value":7479},{"type":17,"tag":70,"props":8244,"children":8245},{"style":987},[8246],{"type":22,"value":3710},{"type":17,"tag":70,"props":8248,"children":8249},{"style":3656},[8250],{"type":22,"value":7488},{"type":17,"tag":70,"props":8252,"children":8253},{"style":987},[8254],{"type":22,"value":3710},{"type":17,"tag":70,"props":8256,"children":8257},{"style":3908},[8258],{"type":22,"value":7352},{"type":17,"tag":70,"props":8260,"children":8261},{"style":987},[8262],{"type":22,"value":7501},{"type":17,"tag":70,"props":8264,"children":8265},{"class":124,"line":1240},[8266,8270,8274,8278,8282,8286,8290,8294,8298,8302,8306,8310,8314,8318,8322,8326,8330,8334,8338,8342],{"type":17,"tag":70,"props":8267,"children":8268},{"style":675},[8269],{"type":22,"value":7796},{"type":17,"tag":70,"props":8271,"children":8272},{"style":2441},[8273],{"type":22,"value":2478},{"type":17,"tag":70,"props":8275,"children":8276},{"style":7507},[8277],{"type":22,"value":7535},{"type":17,"tag":70,"props":8279,"children":8280},{"style":987},[8281],{"type":22,"value":7515},{"type":17,"tag":70,"props":8283,"children":8284},{"style":7507},[8285],{"type":22,"value":7520},{"type":17,"tag":70,"props":8287,"children":8288},{"style":987},[8289],{"type":22,"value":7548},{"type":17,"tag":70,"props":8291,"children":8292},{"style":3810},[8293],{"type":22,"value":4877},{"type":17,"tag":70,"props":8295,"children":8296},{"style":987},[8297],{"type":22,"value":3710},{"type":17,"tag":70,"props":8299,"children":8300},{"style":1043},[8301],{"type":22,"value":1009},{"type":17,"tag":70,"props":8303,"children":8304},{"style":4888},[8305],{"type":22,"value":4765},{"type":17,"tag":70,"props":8307,"children":8308},{"style":1043},[8309],{"type":22,"value":1009},{"type":17,"tag":70,"props":8311,"children":8312},{"style":987},[8313],{"type":22,"value":2139},{"type":17,"tag":70,"props":8315,"children":8316},{"style":1043},[8317],{"type":22,"value":4903},{"type":17,"tag":70,"props":8319,"children":8320},{"style":987},[8321],{"type":22,"value":7849},{"type":17,"tag":70,"props":8323,"children":8324},{"style":3810},[8325],{"type":22,"value":7854},{"type":17,"tag":70,"props":8327,"children":8328},{"style":987},[8329],{"type":22,"value":3710},{"type":17,"tag":70,"props":8331,"children":8332},{"style":1043},[8333],{"type":22,"value":1009},{"type":17,"tag":70,"props":8335,"children":8336},{"style":1049},[8337],{"type":22,"value":2139},{"type":17,"tag":70,"props":8339,"children":8340},{"style":1043},[8341],{"type":22,"value":1009},{"type":17,"tag":70,"props":8343,"children":8344},{"style":987},[8345],{"type":22,"value":3727},{"type":17,"tag":70,"props":8347,"children":8348},{"class":124,"line":1280},[8349,8353,8357,8361,8365,8369],{"type":17,"tag":70,"props":8350,"children":8351},{"style":675},[8352],{"type":22,"value":7882},{"type":17,"tag":70,"props":8354,"children":8355},{"style":987},[8356],{"type":22,"value":43},{"type":17,"tag":70,"props":8358,"children":8359},{"style":3810},[8360],{"type":22,"value":7891},{"type":17,"tag":70,"props":8362,"children":8363},{"style":987},[8364],{"type":22,"value":3710},{"type":17,"tag":70,"props":8366,"children":8367},{"style":3908},[8368],{"type":22,"value":7900},{"type":17,"tag":70,"props":8370,"children":8371},{"style":987},[8372],{"type":22,"value":3727},{"type":17,"tag":70,"props":8374,"children":8375},{"class":124,"line":1318},[8376],{"type":17,"tag":70,"props":8377,"children":8378},{"emptyLinePlaceholder":4063},[8379],{"type":22,"value":4066},{"type":17,"tag":70,"props":8381,"children":8382},{"class":124,"line":1356},[8383],{"type":17,"tag":70,"props":8384,"children":8385},{"style":693},[8386],{"type":22,"value":8387},"# Formatting lines\n",{"type":17,"tag":70,"props":8389,"children":8390},{"class":124,"line":1391},[8391,8396,8400],{"type":17,"tag":70,"props":8392,"children":8393},{"style":675},[8394],{"type":22,"value":8395},"formatted_lines ",{"type":17,"tag":70,"props":8397,"children":8398},{"style":2441},[8399],{"type":22,"value":2478},{"type":17,"tag":70,"props":8401,"children":8402},{"style":987},[8403],{"type":22,"value":8208},{"type":17,"tag":70,"props":8405,"children":8406},{"class":124,"line":1400},[8407,8412,8416,8420,8424,8429,8433,8437,8441,8446,8450,8454,8458,8463,8467,8471,8475,8480,8484,8488,8492,8497,8501,8505,8509,8514,8518],{"type":17,"tag":70,"props":8408,"children":8409},{"style":675},[8410],{"type":22,"value":8411},"header ",{"type":17,"tag":70,"props":8413,"children":8414},{"style":2441},[8415],{"type":22,"value":2478},{"type":17,"tag":70,"props":8417,"children":8418},{"style":987},[8419],{"type":22,"value":2121},{"type":17,"tag":70,"props":8421,"children":8422},{"style":1043},[8423],{"type":22,"value":1009},{"type":17,"tag":70,"props":8425,"children":8426},{"style":1049},[8427],{"type":22,"value":8428},"Name",{"type":17,"tag":70,"props":8430,"children":8431},{"style":1043},[8432],{"type":22,"value":1009},{"type":17,"tag":70,"props":8434,"children":8435},{"style":987},[8436],{"type":22,"value":2139},{"type":17,"tag":70,"props":8438,"children":8439},{"style":1043},[8440],{"type":22,"value":1046},{"type":17,"tag":70,"props":8442,"children":8443},{"style":1049},[8444],{"type":22,"value":8445},"Surname",{"type":17,"tag":70,"props":8447,"children":8448},{"style":1043},[8449],{"type":22,"value":1009},{"type":17,"tag":70,"props":8451,"children":8452},{"style":987},[8453],{"type":22,"value":2139},{"type":17,"tag":70,"props":8455,"children":8456},{"style":1043},[8457],{"type":22,"value":1046},{"type":17,"tag":70,"props":8459,"children":8460},{"style":1049},[8461],{"type":22,"value":8462},"Age",{"type":17,"tag":70,"props":8464,"children":8465},{"style":1043},[8466],{"type":22,"value":1009},{"type":17,"tag":70,"props":8468,"children":8469},{"style":987},[8470],{"type":22,"value":2139},{"type":17,"tag":70,"props":8472,"children":8473},{"style":1043},[8474],{"type":22,"value":1046},{"type":17,"tag":70,"props":8476,"children":8477},{"style":1049},[8478],{"type":22,"value":8479},"Email",{"type":17,"tag":70,"props":8481,"children":8482},{"style":1043},[8483],{"type":22,"value":1009},{"type":17,"tag":70,"props":8485,"children":8486},{"style":987},[8487],{"type":22,"value":2139},{"type":17,"tag":70,"props":8489,"children":8490},{"style":1043},[8491],{"type":22,"value":1046},{"type":17,"tag":70,"props":8493,"children":8494},{"style":1049},[8495],{"type":22,"value":8496},"Country",{"type":17,"tag":70,"props":8498,"children":8499},{"style":1043},[8500],{"type":22,"value":1009},{"type":17,"tag":70,"props":8502,"children":8503},{"style":987},[8504],{"type":22,"value":2139},{"type":17,"tag":70,"props":8506,"children":8507},{"style":1043},[8508],{"type":22,"value":1046},{"type":17,"tag":70,"props":8510,"children":8511},{"style":1049},[8512],{"type":22,"value":8513},"Tel. Number",{"type":17,"tag":70,"props":8515,"children":8516},{"style":1043},[8517],{"type":22,"value":1009},{"type":17,"tag":70,"props":8519,"children":8520},{"style":987},[8521],{"type":22,"value":2174},{"type":17,"tag":70,"props":8523,"children":8524},{"class":124,"line":1425},[8525,8529,8533,8538,8542,8547,8551,8556],{"type":17,"tag":70,"props":8526,"children":8527},{"style":675},[8528],{"type":22,"value":7733},{"type":17,"tag":70,"props":8530,"children":8531},{"style":987},[8532],{"type":22,"value":43},{"type":17,"tag":70,"props":8534,"children":8535},{"style":3810},[8536],{"type":22,"value":8537},"insert",{"type":17,"tag":70,"props":8539,"children":8540},{"style":987},[8541],{"type":22,"value":3710},{"type":17,"tag":70,"props":8543,"children":8544},{"style":1657},[8545],{"type":22,"value":8546},"0",{"type":17,"tag":70,"props":8548,"children":8549},{"style":987},[8550],{"type":22,"value":2139},{"type":17,"tag":70,"props":8552,"children":8553},{"style":3908},[8554],{"type":22,"value":8555}," header",{"type":17,"tag":70,"props":8557,"children":8558},{"style":987},[8559],{"type":22,"value":3727},{"type":17,"tag":70,"props":8561,"children":8562},{"class":124,"line":1463},[8563,8567,8571,8575,8580],{"type":17,"tag":70,"props":8564,"children":8565},{"style":5751},[8566],{"type":22,"value":5754},{"type":17,"tag":70,"props":8568,"children":8569},{"style":675},[8570],{"type":22,"value":5759},{"type":17,"tag":70,"props":8572,"children":8573},{"style":5751},[8574],{"type":22,"value":5764},{"type":17,"tag":70,"props":8576,"children":8577},{"style":675},[8578],{"type":22,"value":8579}," data",{"type":17,"tag":70,"props":8581,"children":8582},{"style":987},[8583],{"type":22,"value":5773},{"type":17,"tag":70,"props":8585,"children":8586},{"class":124,"line":1488},[8587,8592,8596,8601,8606,8612,8616,8620,8625,8629,8635,8640,8645,8649,8653,8657,8662,8666,8670,8674,8678,8682,8686,8690,8695,8699,8704,8708,8712,8716,8720,8724,8729,8733,8738,8742,8746,8750,8754,8758,8763,8767,8772,8776,8780,8784,8788,8792,8797,8801,8806,8810],{"type":17,"tag":70,"props":8588,"children":8589},{"style":675},[8590],{"type":22,"value":8591},"    f_line ",{"type":17,"tag":70,"props":8593,"children":8594},{"style":2441},[8595],{"type":22,"value":2478},{"type":17,"tag":70,"props":8597,"children":8599},{"style":8598},"--shiki-default:#40A02B;--shiki-dark:#C792EA;--shiki-default-font-style:italic;--shiki-dark-font-style:inherit",[8600],{"type":22,"value":3880},{"type":17,"tag":70,"props":8602,"children":8603},{"style":1049},[8604],{"type":22,"value":8605},"\"| ",{"type":17,"tag":70,"props":8607,"children":8609},{"style":8608},"--shiki-default:#EA76CB;--shiki-dark:#F78C6C",[8610],{"type":22,"value":8611},"{",{"type":17,"tag":70,"props":8613,"children":8614},{"style":7507},[8615],{"type":22,"value":124},{"type":17,"tag":70,"props":8617,"children":8618},{"style":987},[8619],{"type":22,"value":7515},{"type":17,"tag":70,"props":8621,"children":8623},{"style":8622},"--shiki-default:#FE640B;--shiki-dark:#F78C6C;--shiki-default-font-style:italic;--shiki-dark-font-style:inherit",[8624],{"type":22,"value":8546},{"type":17,"tag":70,"props":8626,"children":8627},{"style":987},[8628],{"type":22,"value":7525},{"type":17,"tag":70,"props":8630,"children":8632},{"style":8631},"--shiki-default:#8839EF;--shiki-dark:#C792EA",[8633],{"type":22,"value":8634},":10",{"type":17,"tag":70,"props":8636,"children":8637},{"style":8608},[8638],{"type":22,"value":8639},"}",{"type":17,"tag":70,"props":8641,"children":8642},{"style":1049},[8643],{"type":22,"value":8644}," | ",{"type":17,"tag":70,"props":8646,"children":8647},{"style":8608},[8648],{"type":22,"value":8611},{"type":17,"tag":70,"props":8650,"children":8651},{"style":7507},[8652],{"type":22,"value":124},{"type":17,"tag":70,"props":8654,"children":8655},{"style":987},[8656],{"type":22,"value":7515},{"type":17,"tag":70,"props":8658,"children":8659},{"style":8622},[8660],{"type":22,"value":8661},"1",{"type":17,"tag":70,"props":8663,"children":8664},{"style":987},[8665],{"type":22,"value":7525},{"type":17,"tag":70,"props":8667,"children":8668},{"style":8631},[8669],{"type":22,"value":8634},{"type":17,"tag":70,"props":8671,"children":8672},{"style":8608},[8673],{"type":22,"value":8639},{"type":17,"tag":70,"props":8675,"children":8676},{"style":1049},[8677],{"type":22,"value":8644},{"type":17,"tag":70,"props":8679,"children":8680},{"style":8608},[8681],{"type":22,"value":8611},{"type":17,"tag":70,"props":8683,"children":8684},{"style":7507},[8685],{"type":22,"value":124},{"type":17,"tag":70,"props":8687,"children":8688},{"style":987},[8689],{"type":22,"value":7515},{"type":17,"tag":70,"props":8691,"children":8692},{"style":8622},[8693],{"type":22,"value":8694},"2",{"type":17,"tag":70,"props":8696,"children":8697},{"style":987},[8698],{"type":22,"value":7525},{"type":17,"tag":70,"props":8700,"children":8701},{"style":8631},[8702],{"type":22,"value":8703},":>3",{"type":17,"tag":70,"props":8705,"children":8706},{"style":8608},[8707],{"type":22,"value":8639},{"type":17,"tag":70,"props":8709,"children":8710},{"style":1049},[8711],{"type":22,"value":8644},{"type":17,"tag":70,"props":8713,"children":8714},{"style":8608},[8715],{"type":22,"value":8611},{"type":17,"tag":70,"props":8717,"children":8718},{"style":7507},[8719],{"type":22,"value":124},{"type":17,"tag":70,"props":8721,"children":8722},{"style":987},[8723],{"type":22,"value":7515},{"type":17,"tag":70,"props":8725,"children":8726},{"style":8622},[8727],{"type":22,"value":8728},"3",{"type":17,"tag":70,"props":8730,"children":8731},{"style":987},[8732],{"type":22,"value":7525},{"type":17,"tag":70,"props":8734,"children":8735},{"style":8631},[8736],{"type":22,"value":8737},":>32",{"type":17,"tag":70,"props":8739,"children":8740},{"style":8608},[8741],{"type":22,"value":8639},{"type":17,"tag":70,"props":8743,"children":8744},{"style":1049},[8745],{"type":22,"value":8644},{"type":17,"tag":70,"props":8747,"children":8748},{"style":8608},[8749],{"type":22,"value":8611},{"type":17,"tag":70,"props":8751,"children":8752},{"style":7507},[8753],{"type":22,"value":124},{"type":17,"tag":70,"props":8755,"children":8756},{"style":987},[8757],{"type":22,"value":7515},{"type":17,"tag":70,"props":8759,"children":8760},{"style":8622},[8761],{"type":22,"value":8762},"4",{"type":17,"tag":70,"props":8764,"children":8765},{"style":987},[8766],{"type":22,"value":7525},{"type":17,"tag":70,"props":8768,"children":8769},{"style":8631},[8770],{"type":22,"value":8771},":>20",{"type":17,"tag":70,"props":8773,"children":8774},{"style":8608},[8775],{"type":22,"value":8639},{"type":17,"tag":70,"props":8777,"children":8778},{"style":1049},[8779],{"type":22,"value":8644},{"type":17,"tag":70,"props":8781,"children":8782},{"style":8608},[8783],{"type":22,"value":8611},{"type":17,"tag":70,"props":8785,"children":8786},{"style":7507},[8787],{"type":22,"value":124},{"type":17,"tag":70,"props":8789,"children":8790},{"style":987},[8791],{"type":22,"value":7515},{"type":17,"tag":70,"props":8793,"children":8794},{"style":8622},[8795],{"type":22,"value":8796},"5",{"type":17,"tag":70,"props":8798,"children":8799},{"style":987},[8800],{"type":22,"value":7525},{"type":17,"tag":70,"props":8802,"children":8803},{"style":8631},[8804],{"type":22,"value":8805},":>18",{"type":17,"tag":70,"props":8807,"children":8808},{"style":8608},[8809],{"type":22,"value":8639},{"type":17,"tag":70,"props":8811,"children":8812},{"style":1049},[8813],{"type":22,"value":8814}," |\"\n",{"type":17,"tag":70,"props":8816,"children":8817},{"class":124,"line":1520},[8818,8823,8827,8831,8835,8840],{"type":17,"tag":70,"props":8819,"children":8820},{"style":675},[8821],{"type":22,"value":8822},"    formatted_lines",{"type":17,"tag":70,"props":8824,"children":8825},{"style":987},[8826],{"type":22,"value":43},{"type":17,"tag":70,"props":8828,"children":8829},{"style":3810},[8830],{"type":22,"value":7891},{"type":17,"tag":70,"props":8832,"children":8833},{"style":987},[8834],{"type":22,"value":3710},{"type":17,"tag":70,"props":8836,"children":8837},{"style":3908},[8838],{"type":22,"value":8839},"f_line",{"type":17,"tag":70,"props":8841,"children":8842},{"style":987},[8843],{"type":22,"value":3727},{"type":17,"tag":70,"props":8845,"children":8846},{"class":124,"line":1546},[8847],{"type":17,"tag":70,"props":8848,"children":8849},{"emptyLinePlaceholder":4063},[8850],{"type":22,"value":4066},{"type":17,"tag":70,"props":8852,"children":8853},{"class":124,"line":1555},[8854],{"type":17,"tag":70,"props":8855,"children":8856},{"style":693},[8857],{"type":22,"value":8858},"# Printing\n",{"type":17,"tag":70,"props":8860,"children":8861},{"class":124,"line":1563},[8862,8867,8871,8875,8879,8883,8888,8892,8896,8902,8906,8910],{"type":17,"tag":70,"props":8863,"children":8864},{"style":675},[8865],{"type":22,"value":8866},"seperator_line ",{"type":17,"tag":70,"props":8868,"children":8869},{"style":2441},[8870],{"type":22,"value":2478},{"type":17,"tag":70,"props":8872,"children":8873},{"style":1043},[8874],{"type":22,"value":1046},{"type":17,"tag":70,"props":8876,"children":8877},{"style":1049},[8878],{"type":22,"value":8088},{"type":17,"tag":70,"props":8880,"children":8881},{"style":1043},[8882],{"type":22,"value":1009},{"type":17,"tag":70,"props":8884,"children":8885},{"style":2441},[8886],{"type":22,"value":8887},"*",{"type":17,"tag":70,"props":8889,"children":8890},{"style":3656},[8891],{"type":22,"value":7488},{"type":17,"tag":70,"props":8893,"children":8894},{"style":987},[8895],{"type":22,"value":3710},{"type":17,"tag":70,"props":8897,"children":8899},{"style":8898},"--shiki-default:#E64553;--shiki-dark:#82AAFF;--shiki-default-font-style:italic;--shiki-dark-font-style:inherit",[8900],{"type":22,"value":8901},"formatted_lines",{"type":17,"tag":70,"props":8903,"children":8904},{"style":987},[8905],{"type":22,"value":7515},{"type":17,"tag":70,"props":8907,"children":8908},{"style":8622},[8909],{"type":22,"value":8546},{"type":17,"tag":70,"props":8911,"children":8912},{"style":987},[8913],{"type":22,"value":8914},"])\n",{"type":17,"tag":70,"props":8916,"children":8917},{"class":124,"line":1589},[8918,8922,8926,8931],{"type":17,"tag":70,"props":8919,"children":8920},{"style":3656},[8921],{"type":22,"value":3901},{"type":17,"tag":70,"props":8923,"children":8924},{"style":987},[8925],{"type":22,"value":3710},{"type":17,"tag":70,"props":8927,"children":8928},{"style":3908},[8929],{"type":22,"value":8930},"seperator_line",{"type":17,"tag":70,"props":8932,"children":8933},{"style":987},[8934],{"type":22,"value":3727},{"type":17,"tag":70,"props":8936,"children":8937},{"class":124,"line":1598},[8938,8942,8947,8951,8955,8959,8964,8968,8972],{"type":17,"tag":70,"props":8939,"children":8940},{"style":5751},[8941],{"type":22,"value":5754},{"type":17,"tag":70,"props":8943,"children":8944},{"style":675},[8945],{"type":22,"value":8946}," i",{"type":17,"tag":70,"props":8948,"children":8949},{"style":987},[8950],{"type":22,"value":2139},{"type":17,"tag":70,"props":8952,"children":8953},{"style":675},[8954],{"type":22,"value":5759},{"type":17,"tag":70,"props":8956,"children":8957},{"style":5751},[8958],{"type":22,"value":5764},{"type":17,"tag":70,"props":8960,"children":8961},{"style":3656},[8962],{"type":22,"value":8963}," enumerate",{"type":17,"tag":70,"props":8965,"children":8966},{"style":987},[8967],{"type":22,"value":3710},{"type":17,"tag":70,"props":8969,"children":8970},{"style":3908},[8971],{"type":22,"value":8901},{"type":17,"tag":70,"props":8973,"children":8974},{"style":987},[8975],{"type":22,"value":8976},"):\n",{"type":17,"tag":70,"props":8978,"children":8979},{"class":124,"line":1636},[8980,8984,8988,8992],{"type":17,"tag":70,"props":8981,"children":8982},{"style":3656},[8983],{"type":22,"value":5781},{"type":17,"tag":70,"props":8985,"children":8986},{"style":987},[8987],{"type":22,"value":3710},{"type":17,"tag":70,"props":8989,"children":8990},{"style":3908},[8991],{"type":22,"value":124},{"type":17,"tag":70,"props":8993,"children":8994},{"style":987},[8995],{"type":22,"value":3727},{"type":17,"tag":70,"props":8997,"children":8998},{"class":124,"line":1667},[8999,9004,9008,9013,9018,9023],{"type":17,"tag":70,"props":9000,"children":9001},{"style":5751},[9002],{"type":22,"value":9003},"    if",{"type":17,"tag":70,"props":9005,"children":9006},{"style":987},[9007],{"type":22,"value":3710},{"type":17,"tag":70,"props":9009,"children":9010},{"style":675},[9011],{"type":22,"value":9012},"i ",{"type":17,"tag":70,"props":9014,"children":9015},{"style":2441},[9016],{"type":22,"value":9017},"==",{"type":17,"tag":70,"props":9019,"children":9020},{"style":1657},[9021],{"type":22,"value":9022}," 0",{"type":17,"tag":70,"props":9024,"children":9025},{"style":987},[9026],{"type":22,"value":8976},{"type":17,"tag":70,"props":9028,"children":9029},{"class":124,"line":1705},[9030,9035,9039,9043],{"type":17,"tag":70,"props":9031,"children":9032},{"style":3656},[9033],{"type":22,"value":9034},"        print",{"type":17,"tag":70,"props":9036,"children":9037},{"style":987},[9038],{"type":22,"value":3710},{"type":17,"tag":70,"props":9040,"children":9041},{"style":3908},[9042],{"type":22,"value":8930},{"type":17,"tag":70,"props":9044,"children":9045},{"style":987},[9046],{"type":22,"value":3727},{"type":17,"tag":70,"props":9048,"children":9049},{"class":124,"line":1739},[9050,9054,9058,9062],{"type":17,"tag":70,"props":9051,"children":9052},{"style":3656},[9053],{"type":22,"value":3901},{"type":17,"tag":70,"props":9055,"children":9056},{"style":987},[9057],{"type":22,"value":3710},{"type":17,"tag":70,"props":9059,"children":9060},{"style":3908},[9061],{"type":22,"value":8930},{"type":17,"tag":70,"props":9063,"children":9064},{"style":987},[9065],{"type":22,"value":3727},{"type":17,"tag":115,"props":9067,"children":9069},{"className":3773,"code":9068,"language":3775,"meta":67,"style":67},"----------------------------------------------------------------------------------------------------------------\n| Name       | Surname    | Age |                            Email |              Country |        Tel. Number |\n----------------------------------------------------------------------------------------------------------------\n| Renaud     | Dispencer  |  46 |             rdispencer0@live.com |                China |   +86 474 126 7611 |\n| Misty      | Cuttler    |  54 |               mcuttler1@bing.com |                China |   +86 599 457 8677 |\n| Merry      | Mcettrick  |  70 |        mmcettrick2@woothemes.com |                China |   +86 306 934 3204 |\n| Ruby       | Trulocke   |  33 |   rtrulocke3@acquirethisname.com |               Poland |   +48 186 302 8630 |\n| Ahmed      | Dossett    |  26 |                adossett4@cdc.gov |              Belarus |  +375 170 210 1648 |\n| Taryn      | Eayrs      |  36 |       teayrs5@chicagotribune.com |                China |   +86 201 744 4817 |\n| Armin      | Starie     |  52 |                 astarie6@com.com | United Arab Emirates |  +971 135 992 7474 |\n| Arron      | Beauvais   |  60 |  abeauvais7@networksolutions.com |          Philippines |   +63 245 245 6107 |\n| Ulrick     | Ellsbury   |  67 |        uellsbury8@mayoclinic.com |               France |   +33 124 167 9435 |\n| Louise     | McGiff     |  52 |               lmcgiff9@naver.com |            Sri Lanka |   +94 752 778 0341 |\n| Loise      | Farris     |  56 |              lfarrisa@census.gov |               Brazil |   +55 124 687 2374 |\n| Conny      | Aloshkin   |  70 |           caloshkinb@state.tx.us |                China |   +86 788 945 5235 |\n| Jedidiah   | Pemberton  |  37 |             jpembertonc@blog.com |                Japan |   +81 266 348 0766 |\n| Willdon    | Deboy      |  25 |               wdeboyd@forbes.com |            Indonesia |   +62 155 660 7974 |\n| Cleopatra  | McMaster   |  55 |               cmcmastere@nps.gov |                Japan |   +81 255 140 4796 |\n----------------------------------------------------------------------------------------------------------------\n",[9070],{"type":17,"tag":64,"props":9071,"children":9072},{"__ignoreMap":67},[9073,9081,9089,9096,9104,9112,9120,9128,9136,9144,9152,9160,9168,9176,9184,9192,9200,9208,9216],{"type":17,"tag":70,"props":9074,"children":9075},{"class":124,"line":125},[9076],{"type":17,"tag":70,"props":9077,"children":9078},{"style":675},[9079],{"type":22,"value":9080},"----------------------------------------------------------------------------------------------------------------\n",{"type":17,"tag":70,"props":9082,"children":9083},{"class":124,"line":699},[9084],{"type":17,"tag":70,"props":9085,"children":9086},{"style":675},[9087],{"type":22,"value":9088},"| Name       | Surname    | Age |                            Email |              Country |        Tel. Number |\n",{"type":17,"tag":70,"props":9090,"children":9091},{"class":124,"line":723},[9092],{"type":17,"tag":70,"props":9093,"children":9094},{"style":675},[9095],{"type":22,"value":9080},{"type":17,"tag":70,"props":9097,"children":9098},{"class":124,"line":747},[9099],{"type":17,"tag":70,"props":9100,"children":9101},{"style":675},[9102],{"type":22,"value":9103},"| Renaud     | Dispencer  |  46 |             rdispencer0@live.com |                China |   +86 474 126 7611 |\n",{"type":17,"tag":70,"props":9105,"children":9106},{"class":124,"line":1101},[9107],{"type":17,"tag":70,"props":9108,"children":9109},{"style":675},[9110],{"type":22,"value":9111},"| Misty      | Cuttler    |  54 |               mcuttler1@bing.com |                China |   +86 599 457 8677 |\n",{"type":17,"tag":70,"props":9113,"children":9114},{"class":124,"line":1139},[9115],{"type":17,"tag":70,"props":9116,"children":9117},{"style":675},[9118],{"type":22,"value":9119},"| Merry      | Mcettrick  |  70 |        mmcettrick2@woothemes.com |                China |   +86 306 934 3204 |\n",{"type":17,"tag":70,"props":9121,"children":9122},{"class":124,"line":1177},[9123],{"type":17,"tag":70,"props":9124,"children":9125},{"style":675},[9126],{"type":22,"value":9127},"| Ruby       | Trulocke   |  33 |   rtrulocke3@acquirethisname.com |               Poland |   +48 186 302 8630 |\n",{"type":17,"tag":70,"props":9129,"children":9130},{"class":124,"line":1215},[9131],{"type":17,"tag":70,"props":9132,"children":9133},{"style":675},[9134],{"type":22,"value":9135},"| Ahmed      | Dossett    |  26 |                adossett4@cdc.gov |              Belarus |  +375 170 210 1648 |\n",{"type":17,"tag":70,"props":9137,"children":9138},{"class":124,"line":1240},[9139],{"type":17,"tag":70,"props":9140,"children":9141},{"style":675},[9142],{"type":22,"value":9143},"| Taryn      | Eayrs      |  36 |       teayrs5@chicagotribune.com |                China |   +86 201 744 4817 |\n",{"type":17,"tag":70,"props":9145,"children":9146},{"class":124,"line":1280},[9147],{"type":17,"tag":70,"props":9148,"children":9149},{"style":675},[9150],{"type":22,"value":9151},"| Armin      | Starie     |  52 |                 astarie6@com.com | United Arab Emirates |  +971 135 992 7474 |\n",{"type":17,"tag":70,"props":9153,"children":9154},{"class":124,"line":1318},[9155],{"type":17,"tag":70,"props":9156,"children":9157},{"style":675},[9158],{"type":22,"value":9159},"| Arron      | Beauvais   |  60 |  abeauvais7@networksolutions.com |          Philippines |   +63 245 245 6107 |\n",{"type":17,"tag":70,"props":9161,"children":9162},{"class":124,"line":1356},[9163],{"type":17,"tag":70,"props":9164,"children":9165},{"style":675},[9166],{"type":22,"value":9167},"| Ulrick     | Ellsbury   |  67 |        uellsbury8@mayoclinic.com |               France |   +33 124 167 9435 |\n",{"type":17,"tag":70,"props":9169,"children":9170},{"class":124,"line":1391},[9171],{"type":17,"tag":70,"props":9172,"children":9173},{"style":675},[9174],{"type":22,"value":9175},"| Louise     | McGiff     |  52 |               lmcgiff9@naver.com |            Sri Lanka |   +94 752 778 0341 |\n",{"type":17,"tag":70,"props":9177,"children":9178},{"class":124,"line":1400},[9179],{"type":17,"tag":70,"props":9180,"children":9181},{"style":675},[9182],{"type":22,"value":9183},"| Loise      | Farris     |  56 |              lfarrisa@census.gov |               Brazil |   +55 124 687 2374 |\n",{"type":17,"tag":70,"props":9185,"children":9186},{"class":124,"line":1425},[9187],{"type":17,"tag":70,"props":9188,"children":9189},{"style":675},[9190],{"type":22,"value":9191},"| Conny      | Aloshkin   |  70 |           caloshkinb@state.tx.us |                China |   +86 788 945 5235 |\n",{"type":17,"tag":70,"props":9193,"children":9194},{"class":124,"line":1463},[9195],{"type":17,"tag":70,"props":9196,"children":9197},{"style":675},[9198],{"type":22,"value":9199},"| Jedidiah   | Pemberton  |  37 |             jpembertonc@blog.com |                Japan |   +81 266 348 0766 |\n",{"type":17,"tag":70,"props":9201,"children":9202},{"class":124,"line":1488},[9203],{"type":17,"tag":70,"props":9204,"children":9205},{"style":675},[9206],{"type":22,"value":9207},"| Willdon    | Deboy      |  25 |               wdeboyd@forbes.com |            Indonesia |   +62 155 660 7974 |\n",{"type":17,"tag":70,"props":9209,"children":9210},{"class":124,"line":1520},[9211],{"type":17,"tag":70,"props":9212,"children":9213},{"style":675},[9214],{"type":22,"value":9215},"| Cleopatra  | McMaster   |  55 |               cmcmastere@nps.gov |                Japan |   +81 255 140 4796 |\n",{"type":17,"tag":70,"props":9217,"children":9218},{"class":124,"line":1546},[9219],{"type":17,"tag":70,"props":9220,"children":9221},{"style":675},[9222],{"type":22,"value":9080},{"type":17,"tag":45,"props":9224,"children":9226},{"id":9225},"vidurkio-skaičiavimas",[9227],{"type":22,"value":9228},"Vidurkio skaičiavimas",{"type":17,"tag":18,"props":9230,"children":9231},{},[9232],{"type":22,"value":9233},"Kai jau turime sutvarkytus duomenis sąraše, juos galima pasiekti ir apskaičiuoti mums rūpimus įverčius. Apskaičiuokime klientų amžiaus vidurkį:",{"type":17,"tag":115,"props":9235,"children":9237},{"className":3632,"code":9236,"language":3633,"meta":67,"style":67},"f = open(\"customers.csv\")\nraw_data = f.readlines()\nf.close()\n\ndata = []\n\n# Clean the data\nfor i in range(len(raw_data)):\n    line_data = raw_data[i].strip().split(\",\")\n    data.append(line_data)\n\n# Calculate the average age\nage_sum = 0\nfor customer in data:\n    # The third field (index=2) contains age information\n    age_sum += int(customer[2])\n\nprint(f\"Average age of customers: {age_sum / len(data):.1f}\")\n",[9238],{"type":17,"tag":64,"props":9239,"children":9240},{"__ignoreMap":67},[9241,9276,9303,9322,9329,9344,9351,9359,9398,9458,9485,9492,9500,9517,9541,9549,9589,9596],{"type":17,"tag":70,"props":9242,"children":9243},{"class":124,"line":125},[9244,9248,9252,9256,9260,9264,9268,9272],{"type":17,"tag":70,"props":9245,"children":9246},{"style":675},[9247],{"type":22,"value":3696},{"type":17,"tag":70,"props":9249,"children":9250},{"style":2441},[9251],{"type":22,"value":2478},{"type":17,"tag":70,"props":9253,"children":9254},{"style":3656},[9255],{"type":22,"value":3705},{"type":17,"tag":70,"props":9257,"children":9258},{"style":987},[9259],{"type":22,"value":3710},{"type":17,"tag":70,"props":9261,"children":9262},{"style":1043},[9263],{"type":22,"value":1009},{"type":17,"tag":70,"props":9265,"children":9266},{"style":1049},[9267],{"type":22,"value":6747},{"type":17,"tag":70,"props":9269,"children":9270},{"style":1043},[9271],{"type":22,"value":1009},{"type":17,"tag":70,"props":9273,"children":9274},{"style":987},[9275],{"type":22,"value":3727},{"type":17,"tag":70,"props":9277,"children":9278},{"class":124,"line":699},[9279,9283,9287,9291,9295,9299],{"type":17,"tag":70,"props":9280,"children":9281},{"style":675},[9282],{"type":22,"value":7294},{"type":17,"tag":70,"props":9284,"children":9285},{"style":2441},[9286],{"type":22,"value":2478},{"type":17,"tag":70,"props":9288,"children":9289},{"style":675},[9290],{"type":22,"value":3880},{"type":17,"tag":70,"props":9292,"children":9293},{"style":987},[9294],{"type":22,"value":43},{"type":17,"tag":70,"props":9296,"children":9297},{"style":3810},[9298],{"type":22,"value":5365},{"type":17,"tag":70,"props":9300,"children":9301},{"style":987},[9302],{"type":22,"value":3893},{"type":17,"tag":70,"props":9304,"children":9305},{"class":124,"line":723},[9306,9310,9314,9318],{"type":17,"tag":70,"props":9307,"children":9308},{"style":675},[9309],{"type":22,"value":3768},{"type":17,"tag":70,"props":9311,"children":9312},{"style":987},[9313],{"type":22,"value":43},{"type":17,"tag":70,"props":9315,"children":9316},{"style":3810},[9317],{"type":22,"value":5925},{"type":17,"tag":70,"props":9319,"children":9320},{"style":987},[9321],{"type":22,"value":3893},{"type":17,"tag":70,"props":9323,"children":9324},{"class":124,"line":747},[9325],{"type":17,"tag":70,"props":9326,"children":9327},{"emptyLinePlaceholder":4063},[9328],{"type":22,"value":4066},{"type":17,"tag":70,"props":9330,"children":9331},{"class":124,"line":1101},[9332,9336,9340],{"type":17,"tag":70,"props":9333,"children":9334},{"style":675},[9335],{"type":22,"value":8199},{"type":17,"tag":70,"props":9337,"children":9338},{"style":2441},[9339],{"type":22,"value":2478},{"type":17,"tag":70,"props":9341,"children":9342},{"style":987},[9343],{"type":22,"value":8208},{"type":17,"tag":70,"props":9345,"children":9346},{"class":124,"line":1139},[9347],{"type":17,"tag":70,"props":9348,"children":9349},{"emptyLinePlaceholder":4063},[9350],{"type":22,"value":4066},{"type":17,"tag":70,"props":9352,"children":9353},{"class":124,"line":1177},[9354],{"type":17,"tag":70,"props":9355,"children":9356},{"style":693},[9357],{"type":22,"value":9358},"# Clean the data\n",{"type":17,"tag":70,"props":9360,"children":9361},{"class":124,"line":1215},[9362,9366,9370,9374,9378,9382,9386,9390,9394],{"type":17,"tag":70,"props":9363,"children":9364},{"style":5751},[9365],{"type":22,"value":5754},{"type":17,"tag":70,"props":9367,"children":9368},{"style":675},[9369],{"type":22,"value":7470},{"type":17,"tag":70,"props":9371,"children":9372},{"style":5751},[9373],{"type":22,"value":5764},{"type":17,"tag":70,"props":9375,"children":9376},{"style":3656},[9377],{"type":22,"value":7479},{"type":17,"tag":70,"props":9379,"children":9380},{"style":987},[9381],{"type":22,"value":3710},{"type":17,"tag":70,"props":9383,"children":9384},{"style":3656},[9385],{"type":22,"value":7488},{"type":17,"tag":70,"props":9387,"children":9388},{"style":987},[9389],{"type":22,"value":3710},{"type":17,"tag":70,"props":9391,"children":9392},{"style":3908},[9393],{"type":22,"value":7352},{"type":17,"tag":70,"props":9395,"children":9396},{"style":987},[9397],{"type":22,"value":7501},{"type":17,"tag":70,"props":9399,"children":9400},{"class":124,"line":1240},[9401,9405,9409,9413,9417,9421,9425,9430,9434,9438,9442,9446,9450,9454],{"type":17,"tag":70,"props":9402,"children":9403},{"style":675},[9404],{"type":22,"value":7796},{"type":17,"tag":70,"props":9406,"children":9407},{"style":2441},[9408],{"type":22,"value":2478},{"type":17,"tag":70,"props":9410,"children":9411},{"style":7507},[9412],{"type":22,"value":7535},{"type":17,"tag":70,"props":9414,"children":9415},{"style":987},[9416],{"type":22,"value":7515},{"type":17,"tag":70,"props":9418,"children":9419},{"style":7507},[9420],{"type":22,"value":7520},{"type":17,"tag":70,"props":9422,"children":9423},{"style":987},[9424],{"type":22,"value":7548},{"type":17,"tag":70,"props":9426,"children":9427},{"style":3810},[9428],{"type":22,"value":9429},"strip",{"type":17,"tag":70,"props":9431,"children":9432},{"style":987},[9433],{"type":22,"value":4872},{"type":17,"tag":70,"props":9435,"children":9436},{"style":3810},[9437],{"type":22,"value":7854},{"type":17,"tag":70,"props":9439,"children":9440},{"style":987},[9441],{"type":22,"value":3710},{"type":17,"tag":70,"props":9443,"children":9444},{"style":1043},[9445],{"type":22,"value":1009},{"type":17,"tag":70,"props":9447,"children":9448},{"style":1049},[9449],{"type":22,"value":2139},{"type":17,"tag":70,"props":9451,"children":9452},{"style":1043},[9453],{"type":22,"value":1009},{"type":17,"tag":70,"props":9455,"children":9456},{"style":987},[9457],{"type":22,"value":3727},{"type":17,"tag":70,"props":9459,"children":9460},{"class":124,"line":1280},[9461,9465,9469,9473,9477,9481],{"type":17,"tag":70,"props":9462,"children":9463},{"style":675},[9464],{"type":22,"value":7882},{"type":17,"tag":70,"props":9466,"children":9467},{"style":987},[9468],{"type":22,"value":43},{"type":17,"tag":70,"props":9470,"children":9471},{"style":3810},[9472],{"type":22,"value":7891},{"type":17,"tag":70,"props":9474,"children":9475},{"style":987},[9476],{"type":22,"value":3710},{"type":17,"tag":70,"props":9478,"children":9479},{"style":3908},[9480],{"type":22,"value":7900},{"type":17,"tag":70,"props":9482,"children":9483},{"style":987},[9484],{"type":22,"value":3727},{"type":17,"tag":70,"props":9486,"children":9487},{"class":124,"line":1318},[9488],{"type":17,"tag":70,"props":9489,"children":9490},{"emptyLinePlaceholder":4063},[9491],{"type":22,"value":4066},{"type":17,"tag":70,"props":9493,"children":9494},{"class":124,"line":1356},[9495],{"type":17,"tag":70,"props":9496,"children":9497},{"style":693},[9498],{"type":22,"value":9499},"# Calculate the average age\n",{"type":17,"tag":70,"props":9501,"children":9502},{"class":124,"line":1391},[9503,9508,9512],{"type":17,"tag":70,"props":9504,"children":9505},{"style":675},[9506],{"type":22,"value":9507},"age_sum ",{"type":17,"tag":70,"props":9509,"children":9510},{"style":2441},[9511],{"type":22,"value":2478},{"type":17,"tag":70,"props":9513,"children":9514},{"style":1657},[9515],{"type":22,"value":9516}," 0\n",{"type":17,"tag":70,"props":9518,"children":9519},{"class":124,"line":1400},[9520,9524,9529,9533,9537],{"type":17,"tag":70,"props":9521,"children":9522},{"style":5751},[9523],{"type":22,"value":5754},{"type":17,"tag":70,"props":9525,"children":9526},{"style":675},[9527],{"type":22,"value":9528}," customer ",{"type":17,"tag":70,"props":9530,"children":9531},{"style":5751},[9532],{"type":22,"value":5764},{"type":17,"tag":70,"props":9534,"children":9535},{"style":675},[9536],{"type":22,"value":8579},{"type":17,"tag":70,"props":9538,"children":9539},{"style":987},[9540],{"type":22,"value":5773},{"type":17,"tag":70,"props":9542,"children":9543},{"class":124,"line":1425},[9544],{"type":17,"tag":70,"props":9545,"children":9546},{"style":693},[9547],{"type":22,"value":9548},"    # The third field (index=2) contains age information\n",{"type":17,"tag":70,"props":9550,"children":9551},{"class":124,"line":1463},[9552,9557,9562,9568,9572,9577,9581,9585],{"type":17,"tag":70,"props":9553,"children":9554},{"style":675},[9555],{"type":22,"value":9556},"    age_sum ",{"type":17,"tag":70,"props":9558,"children":9559},{"style":2441},[9560],{"type":22,"value":9561},"+=",{"type":17,"tag":70,"props":9563,"children":9565},{"style":9564},"--shiki-default:#FE640B;--shiki-dark:#FFCB6B;--shiki-default-font-style:italic;--shiki-dark-font-style:inherit",[9566],{"type":22,"value":9567}," int",{"type":17,"tag":70,"props":9569,"children":9570},{"style":987},[9571],{"type":22,"value":3710},{"type":17,"tag":70,"props":9573,"children":9574},{"style":8898},[9575],{"type":22,"value":9576},"customer",{"type":17,"tag":70,"props":9578,"children":9579},{"style":987},[9580],{"type":22,"value":7515},{"type":17,"tag":70,"props":9582,"children":9583},{"style":8622},[9584],{"type":22,"value":8694},{"type":17,"tag":70,"props":9586,"children":9587},{"style":987},[9588],{"type":22,"value":8914},{"type":17,"tag":70,"props":9590,"children":9591},{"class":124,"line":1488},[9592],{"type":17,"tag":70,"props":9593,"children":9594},{"emptyLinePlaceholder":4063},[9595],{"type":22,"value":4066},{"type":17,"tag":70,"props":9597,"children":9598},{"class":124,"line":1520},[9599,9603,9607,9611,9616,9620,9624,9628,9633,9637,9641,9645,9650,9654,9658],{"type":17,"tag":70,"props":9600,"children":9601},{"style":3656},[9602],{"type":22,"value":3901},{"type":17,"tag":70,"props":9604,"children":9605},{"style":987},[9606],{"type":22,"value":3710},{"type":17,"tag":70,"props":9608,"children":9609},{"style":8598},[9610],{"type":22,"value":3768},{"type":17,"tag":70,"props":9612,"children":9613},{"style":1049},[9614],{"type":22,"value":9615},"\"Average age of customers: ",{"type":17,"tag":70,"props":9617,"children":9618},{"style":8608},[9619],{"type":22,"value":8611},{"type":17,"tag":70,"props":9621,"children":9622},{"style":3908},[9623],{"type":22,"value":9507},{"type":17,"tag":70,"props":9625,"children":9626},{"style":2441},[9627],{"type":22,"value":2425},{"type":17,"tag":70,"props":9629,"children":9630},{"style":3656},[9631],{"type":22,"value":9632}," len",{"type":17,"tag":70,"props":9634,"children":9635},{"style":987},[9636],{"type":22,"value":3710},{"type":17,"tag":70,"props":9638,"children":9639},{"style":3908},[9640],{"type":22,"value":7733},{"type":17,"tag":70,"props":9642,"children":9643},{"style":987},[9644],{"type":22,"value":5088},{"type":17,"tag":70,"props":9646,"children":9647},{"style":8631},[9648],{"type":22,"value":9649},":.1f",{"type":17,"tag":70,"props":9651,"children":9652},{"style":8608},[9653],{"type":22,"value":8639},{"type":17,"tag":70,"props":9655,"children":9656},{"style":1049},[9657],{"type":22,"value":1009},{"type":17,"tag":70,"props":9659,"children":9660},{"style":987},[9661],{"type":22,"value":3727},{"type":17,"tag":18,"props":9663,"children":9664},{},[9665],{"type":22,"value":9666},"Gauname, kad mūsų klientų amžiaus vidurkis yra:",{"type":17,"tag":115,"props":9668,"children":9670},{"className":3773,"code":9669,"language":3775,"meta":67,"style":67},"Average age of customers: 49.3\n",[9671],{"type":17,"tag":64,"props":9672,"children":9673},{"__ignoreMap":67},[9674],{"type":17,"tag":70,"props":9675,"children":9676},{"class":124,"line":125},[9677],{"type":17,"tag":70,"props":9678,"children":9679},{"style":675},[9680],{"type":22,"value":9669},{"type":17,"tag":25,"props":9682,"children":9684},{"id":9683},"metodo-open-mode-argumentas",[9685,9687,9692],{"type":22,"value":9686},"Metodo open() ",{"type":17,"tag":37,"props":9688,"children":9689},{},[9690],{"type":22,"value":9691},"mode",{"type":22,"value":9693}," argumentas",{"type":17,"tag":18,"props":9695,"children":9696},{},[9697,9699,9703],{"type":22,"value":9698},"Kai ",{"type":17,"tag":37,"props":9700,"children":9701},{},[9702],{"type":22,"value":60},{"type":22,"value":9704}," kalboje rašome",{"type":17,"tag":115,"props":9706,"children":9709},{"className":3632,"code":9707,"language":3633,"meta":9708,"style":67},"f = open(\"customers.csv\")\n","line-numbers=false",[9710],{"type":17,"tag":64,"props":9711,"children":9712},{"__ignoreMap":67},[9713],{"type":17,"tag":70,"props":9714,"children":9715},{"class":124,"line":125},[9716,9720,9724,9728,9732,9736,9740,9744],{"type":17,"tag":70,"props":9717,"children":9718},{"style":675},[9719],{"type":22,"value":3696},{"type":17,"tag":70,"props":9721,"children":9722},{"style":2441},[9723],{"type":22,"value":2478},{"type":17,"tag":70,"props":9725,"children":9726},{"style":3656},[9727],{"type":22,"value":3705},{"type":17,"tag":70,"props":9729,"children":9730},{"style":987},[9731],{"type":22,"value":3710},{"type":17,"tag":70,"props":9733,"children":9734},{"style":1043},[9735],{"type":22,"value":1009},{"type":17,"tag":70,"props":9737,"children":9738},{"style":1049},[9739],{"type":22,"value":6747},{"type":17,"tag":70,"props":9741,"children":9742},{"style":1043},[9743],{"type":22,"value":1009},{"type":17,"tag":70,"props":9745,"children":9746},{"style":987},[9747],{"type":22,"value":3727},{"type":17,"tag":18,"props":9749,"children":9750},{},[9751],{"type":22,"value":9752},"iš tikro yra įvykdomas metodas",{"type":17,"tag":115,"props":9754,"children":9756},{"className":3632,"code":9755,"language":3633,"meta":9708,"style":67},"f = open(\"customers.csv\", \"r\")\n",[9757],{"type":17,"tag":64,"props":9758,"children":9759},{"__ignoreMap":67},[9760],{"type":17,"tag":70,"props":9761,"children":9762},{"class":124,"line":125},[9763,9767,9771,9775,9779,9783,9787,9791,9795,9799,9804,9808],{"type":17,"tag":70,"props":9764,"children":9765},{"style":675},[9766],{"type":22,"value":3696},{"type":17,"tag":70,"props":9768,"children":9769},{"style":2441},[9770],{"type":22,"value":2478},{"type":17,"tag":70,"props":9772,"children":9773},{"style":3656},[9774],{"type":22,"value":3705},{"type":17,"tag":70,"props":9776,"children":9777},{"style":987},[9778],{"type":22,"value":3710},{"type":17,"tag":70,"props":9780,"children":9781},{"style":1043},[9782],{"type":22,"value":1009},{"type":17,"tag":70,"props":9784,"children":9785},{"style":1049},[9786],{"type":22,"value":6747},{"type":17,"tag":70,"props":9788,"children":9789},{"style":1043},[9790],{"type":22,"value":1009},{"type":17,"tag":70,"props":9792,"children":9793},{"style":987},[9794],{"type":22,"value":2139},{"type":17,"tag":70,"props":9796,"children":9797},{"style":1043},[9798],{"type":22,"value":1046},{"type":17,"tag":70,"props":9800,"children":9801},{"style":1049},[9802],{"type":22,"value":9803},"r",{"type":17,"tag":70,"props":9805,"children":9806},{"style":1043},[9807],{"type":22,"value":1009},{"type":17,"tag":70,"props":9809,"children":9810},{"style":987},[9811],{"type":22,"value":3727},{"type":17,"tag":18,"props":9813,"children":9814},{},[9815,9817,9822,9824,9829],{"type":22,"value":9816},"Ši argumento reikšmė yra numatytoji (",{"type":17,"tag":37,"props":9818,"children":9819},{},[9820],{"type":22,"value":9821},"angl. default",{"type":22,"value":9823},") ir jeigu nenurodoma kita, su tokia reikšme metodas yra įvykdomas. Antrasis argumentas yra įvardijamas, kaip būdas (",{"type":17,"tag":37,"props":9825,"children":9826},{},[9827],{"type":22,"value":9828},"angl. mode",{"type":22,"value":9830},"), kuris nurodo, kaip failas bus naudojamas.",{"type":17,"tag":18,"props":9832,"children":9833},{},[9834,9836,9852],{"type":22,"value":9835},"Reikšmė ",{"type":17,"tag":64,"props":9837,"children":9838},{"className":3632,"language":3633,"style":67},[9839,9843,9848],{"type":17,"tag":70,"props":9840,"children":9841},{"style":4199},[9842],{"type":22,"value":1009},{"type":17,"tag":70,"props":9844,"children":9846},{"style":9845},"--shiki-default:#40A02B;--shiki-dark:#545454;--shiki-default-font-style:inherit;--shiki-dark-font-style:italic",[9847],{"type":22,"value":9803},{"type":17,"tag":70,"props":9849,"children":9850},{"style":4199},[9851],{"type":22,"value":1009},{"type":22,"value":9853}," nurodo, kad failas bus atidaromas skaitymui.",{"type":17,"tag":551,"props":9855,"children":9856},{},[9857,9874],{"type":17,"tag":555,"props":9858,"children":9859},{},[9860],{"type":17,"tag":559,"props":9861,"children":9862},{},[9863,9869],{"type":17,"tag":563,"props":9864,"children":9866},{"align":9865},"left",[9867],{"type":22,"value":9868},"Item",{"type":17,"tag":563,"props":9870,"children":9871},{"align":9865},[9872],{"type":22,"value":9873},"Paaiškinimas",{"type":17,"tag":584,"props":9875,"children":9876},{},[9877,9903,9930,9962,9993,10024],{"type":17,"tag":559,"props":9878,"children":9879},{},[9880,9898],{"type":17,"tag":591,"props":9881,"children":9882},{"align":9865},[9883],{"type":17,"tag":64,"props":9884,"children":9885},{"className":3632,"language":3633,"style":67},[9886,9890,9894],{"type":17,"tag":70,"props":9887,"children":9888},{"style":4199},[9889],{"type":22,"value":1009},{"type":17,"tag":70,"props":9891,"children":9892},{"style":9845},[9893],{"type":22,"value":9803},{"type":17,"tag":70,"props":9895,"children":9896},{"style":4199},[9897],{"type":22,"value":1009},{"type":17,"tag":591,"props":9899,"children":9900},{"align":9865},[9901],{"type":22,"value":9902},"Failas atidaromas skaitymui",{"type":17,"tag":559,"props":9904,"children":9905},{},[9906,9925],{"type":17,"tag":591,"props":9907,"children":9908},{"align":9865},[9909],{"type":17,"tag":64,"props":9910,"children":9911},{"className":3632,"language":3633,"style":67},[9912,9916,9921],{"type":17,"tag":70,"props":9913,"children":9914},{"style":4199},[9915],{"type":22,"value":1009},{"type":17,"tag":70,"props":9917,"children":9918},{"style":9845},[9919],{"type":22,"value":9920},"r+",{"type":17,"tag":70,"props":9922,"children":9923},{"style":4199},[9924],{"type":22,"value":1009},{"type":17,"tag":591,"props":9926,"children":9927},{"align":9865},[9928],{"type":22,"value":9929},"Failas atidaromas skaitymui ir rašymui. Rašymas vykdomas failo pradžioje",{"type":17,"tag":559,"props":9931,"children":9932},{},[9933,9952],{"type":17,"tag":591,"props":9934,"children":9935},{"align":9865},[9936],{"type":17,"tag":64,"props":9937,"children":9938},{"className":3632,"language":3633,"style":67},[9939,9943,9948],{"type":17,"tag":70,"props":9940,"children":9941},{"style":4199},[9942],{"type":22,"value":1009},{"type":17,"tag":70,"props":9944,"children":9945},{"style":9845},[9946],{"type":22,"value":9947},"w",{"type":17,"tag":70,"props":9949,"children":9950},{"style":4199},[9951],{"type":22,"value":1009},{"type":17,"tag":591,"props":9953,"children":9954},{"align":9865},[9955,9957],{"type":22,"value":9956},"Failas atidaromas rašymui. Ištrinami visi failo duomenys arba failas sukuriamas, jeigu jis neegzistuoja. Rašymas vykdomas failo ",{"type":17,"tag":78,"props":9958,"children":9959},{},[9960],{"type":22,"value":9961},"pradžioje",{"type":17,"tag":559,"props":9963,"children":9964},{},[9965,9984],{"type":17,"tag":591,"props":9966,"children":9967},{"align":9865},[9968],{"type":17,"tag":64,"props":9969,"children":9970},{"className":3632,"language":3633,"style":67},[9971,9975,9980],{"type":17,"tag":70,"props":9972,"children":9973},{"style":4199},[9974],{"type":22,"value":1009},{"type":17,"tag":70,"props":9976,"children":9977},{"style":9845},[9978],{"type":22,"value":9979},"w+",{"type":17,"tag":70,"props":9981,"children":9982},{"style":4199},[9983],{"type":22,"value":1009},{"type":17,"tag":591,"props":9985,"children":9986},{"align":9865},[9987,9989],{"type":22,"value":9988},"Failas atidaromas skaitymui ir rašymui. Ištrinami visi failo duomenys arba failas sukuriamas, jeigu jis neegzistuoja.  Rašymas vykdomas failo ",{"type":17,"tag":78,"props":9990,"children":9991},{},[9992],{"type":22,"value":9961},{"type":17,"tag":559,"props":9994,"children":9995},{},[9996,10014],{"type":17,"tag":591,"props":9997,"children":9998},{"align":9865},[9999],{"type":17,"tag":64,"props":10000,"children":10001},{"className":3632,"language":3633,"style":67},[10002,10006,10010],{"type":17,"tag":70,"props":10003,"children":10004},{"style":4199},[10005],{"type":22,"value":1009},{"type":17,"tag":70,"props":10007,"children":10008},{"style":9845},[10009],{"type":22,"value":6275},{"type":17,"tag":70,"props":10011,"children":10012},{"style":4199},[10013],{"type":22,"value":1009},{"type":17,"tag":591,"props":10015,"children":10016},{"align":9865},[10017,10019],{"type":22,"value":10018},"Failas atidaromas rašymui. Failas sukuriamas, jeigu jis neegzistuoja. Rašymas vykdomas failo ",{"type":17,"tag":78,"props":10020,"children":10021},{},[10022],{"type":22,"value":10023},"pabaigoje",{"type":17,"tag":559,"props":10025,"children":10026},{},[10027,10046],{"type":17,"tag":591,"props":10028,"children":10029},{"align":9865},[10030],{"type":17,"tag":64,"props":10031,"children":10032},{"className":3632,"language":3633,"style":67},[10033,10037,10042],{"type":17,"tag":70,"props":10034,"children":10035},{"style":4199},[10036],{"type":22,"value":1009},{"type":17,"tag":70,"props":10038,"children":10039},{"style":9845},[10040],{"type":22,"value":10041},"a+",{"type":17,"tag":70,"props":10043,"children":10044},{"style":4199},[10045],{"type":22,"value":1009},{"type":17,"tag":591,"props":10047,"children":10048},{"align":9865},[10049,10051],{"type":22,"value":10050},"Failas atidaromas skaitymui ir rašymui. Failas sukuriamas, jeigu jis neegzistuoja.  Rašymas vykdomas failo ",{"type":17,"tag":78,"props":10052,"children":10053},{},[10054],{"type":22,"value":10023},{"type":17,"tag":18,"props":10056,"children":10057},{},[10058],{"type":22,"value":10059},"Iš šios lentelės galima išskirti pagrindinius taisykles:",{"type":17,"tag":166,"props":10061,"children":10062},{},[10063,10083,10109,10129],{"type":17,"tag":170,"props":10064,"children":10065},{},[10066,10081],{"type":17,"tag":64,"props":10067,"children":10068},{"className":3632,"language":3633,"style":67},[10069,10073,10077],{"type":17,"tag":70,"props":10070,"children":10071},{"style":4199},[10072],{"type":22,"value":1009},{"type":17,"tag":70,"props":10074,"children":10075},{"style":9845},[10076],{"type":22,"value":9803},{"type":17,"tag":70,"props":10078,"children":10079},{"style":4199},[10080],{"type":22,"value":1009},{"type":22,"value":10082}," niekada nesukuria faila ir neištrina inforamcijos;",{"type":17,"tag":170,"props":10084,"children":10085},{},[10086,10101,10103,10108],{"type":17,"tag":64,"props":10087,"children":10088},{"className":3632,"language":3633,"style":67},[10089,10093,10097],{"type":17,"tag":70,"props":10090,"children":10091},{"style":4199},[10092],{"type":22,"value":1009},{"type":17,"tag":70,"props":10094,"children":10095},{"style":9845},[10096],{"type":22,"value":9947},{"type":17,"tag":70,"props":10098,"children":10099},{"style":4199},[10100],{"type":22,"value":1009},{"type":22,"value":10102}," visada ištrina esamą informaciją faile ir įrašymas pradedamas nuo ",{"type":17,"tag":37,"props":10104,"children":10105},{},[10106],{"type":22,"value":10107},"tuščio lapo",{"type":22,"value":2312},{"type":17,"tag":170,"props":10110,"children":10111},{},[10112,10127],{"type":17,"tag":64,"props":10113,"children":10114},{"className":3632,"language":3633,"style":67},[10115,10119,10123],{"type":17,"tag":70,"props":10116,"children":10117},{"style":4199},[10118],{"type":22,"value":1009},{"type":17,"tag":70,"props":10120,"children":10121},{"style":9845},[10122],{"type":22,"value":6275},{"type":17,"tag":70,"props":10124,"children":10125},{"style":4199},[10126],{"type":22,"value":1009},{"type":22,"value":10128}," atidaromas failas informacijos rašymui pridedant prie jau informacijos faile esamos;",{"type":17,"tag":170,"props":10130,"children":10131},{},[10132,10148],{"type":17,"tag":64,"props":10133,"children":10134},{"className":3632,"language":3633,"style":67},[10135,10139,10144],{"type":17,"tag":70,"props":10136,"children":10137},{"style":4199},[10138],{"type":22,"value":1009},{"type":17,"tag":70,"props":10140,"children":10141},{"style":9845},[10142],{"type":22,"value":10143},"+",{"type":17,"tag":70,"props":10145,"children":10146},{"style":4199},[10147],{"type":22,"value":1009},{"type":22,"value":10149}," nurodo, kad failas bus atidaromas ir skaitymui, ir rašymui.",{"type":17,"tag":18,"props":10151,"children":10152},{},[10153],{"type":22,"value":10154},"Kad lengviau įsimintumėte, reikia suprasti, kad šios raidės yra žodžių trumpiniai:",{"type":17,"tag":166,"props":10156,"children":10157},{},[10158,10183,10208],{"type":17,"tag":170,"props":10159,"children":10160},{},[10161,10176,10178,10182],{"type":17,"tag":64,"props":10162,"children":10163},{"className":3632,"language":3633,"style":67},[10164,10168,10172],{"type":17,"tag":70,"props":10165,"children":10166},{"style":4199},[10167],{"type":22,"value":1009},{"type":17,"tag":70,"props":10169,"children":10170},{"style":9845},[10171],{"type":22,"value":9803},{"type":17,"tag":70,"props":10173,"children":10174},{"style":4199},[10175],{"type":22,"value":1009},{"type":22,"value":10177}," ",{"type":17,"tag":37,"props":10179,"children":10180},{},[10181],{"type":22,"value":5496},{"type":22,"value":2312},{"type":17,"tag":170,"props":10184,"children":10185},{},[10186,10201,10202,10207],{"type":17,"tag":64,"props":10187,"children":10188},{"className":3632,"language":3633,"style":67},[10189,10193,10197],{"type":17,"tag":70,"props":10190,"children":10191},{"style":4199},[10192],{"type":22,"value":1009},{"type":17,"tag":70,"props":10194,"children":10195},{"style":9845},[10196],{"type":22,"value":9947},{"type":17,"tag":70,"props":10198,"children":10199},{"style":4199},[10200],{"type":22,"value":1009},{"type":22,"value":10177},{"type":17,"tag":37,"props":10203,"children":10204},{},[10205],{"type":22,"value":10206},"write",{"type":22,"value":2312},{"type":17,"tag":170,"props":10209,"children":10210},{},[10211,10226,10227,10231],{"type":17,"tag":64,"props":10212,"children":10213},{"className":3632,"language":3633,"style":67},[10214,10218,10222],{"type":17,"tag":70,"props":10215,"children":10216},{"style":4199},[10217],{"type":22,"value":1009},{"type":17,"tag":70,"props":10219,"children":10220},{"style":9845},[10221],{"type":22,"value":10041},{"type":17,"tag":70,"props":10223,"children":10224},{"style":4199},[10225],{"type":22,"value":1009},{"type":22,"value":10177},{"type":17,"tag":37,"props":10228,"children":10229},{},[10230],{"type":22,"value":7891},{"type":22,"value":43},{"type":17,"tag":18,"props":10233,"children":10234},{},[10235],{"type":22,"value":10236},"Galite savarankiškai paekspermentuoti su skirtingais argumentais ir išbandyti nuskaityti ir įrašinėti duomenis iš failų. Kadangi dar nežinome, kad įrašyti duomenis į failą, einame į kitą skyrių.",{"type":17,"tag":25,"props":10238,"children":10240},{"id":10239},"rašymas-į-failą",[10241],{"type":22,"value":10242},"Rašymas į failą",{"type":17,"tag":18,"props":10244,"children":10245},{},[10246,10248,10259,10261,10276],{"type":22,"value":10247},"Kaip galima skaityti iš failo, taip galima ir įrašyti. Tam naudosime metodą ",{"type":17,"tag":64,"props":10249,"children":10250},{"className":3632,"language":3633,"style":67},[10251,10255],{"type":17,"tag":70,"props":10252,"children":10253},{"style":3810},[10254],{"type":22,"value":10206},{"type":17,"tag":70,"props":10256,"children":10257},{"style":987},[10258],{"type":22,"value":3664},{"type":22,"value":10260}," ir  ",{"type":17,"tag":64,"props":10262,"children":10263},{"className":3632,"language":3633,"style":67},[10264,10268,10272],{"type":17,"tag":70,"props":10265,"children":10266},{"style":4199},[10267],{"type":22,"value":1009},{"type":17,"tag":70,"props":10269,"children":10270},{"style":9845},[10271],{"type":22,"value":9947},{"type":17,"tag":70,"props":10273,"children":10274},{"style":4199},[10275],{"type":22,"value":1009},{"type":22,"value":10277}," argumentą atidarant failą.",{"type":17,"tag":18,"props":10279,"children":10280},{},[10281,10283,10291],{"type":22,"value":10282},"Paimkime anksčiau sukurtą kodą, kuris ",{"type":17,"tag":64,"props":10284,"children":10285},{"className":66,"language":22,"style":67},[10286],{"type":17,"tag":70,"props":10287,"children":10288},{},[10289],{"type":22,"value":10290},".csv",{"type":22,"value":10292}," duomenis atvaizduoja lentele. Tik šį kartą rezultatus pateiksime faile:",{"type":17,"tag":115,"props":10294,"children":10297},{"className":3632,"code":10295,"filename":8099,"highlights":10296,"language":3633,"meta":67,"style":67},"f = open(\"customers.csv\")\nraw_data = f.readlines()\nf.close()\n\ndata = []\n\n# Cleaning data\nfor i in range(len(raw_data)):\n    line_data = raw_data[i].replace(\"\\n\", \"\").split(\",\")\n    data.append(line_data)\n\n# Formatting lines\nformatted_lines = []\nheader = [\"Name\", \"Surname\", \"Age\", \"Email\", \"Country\", \"Tel. Number\"]\ndata.insert(0, header)\nfor line in data:\n    f_line = f\"| {line[0]:10} | {line[1]:10} | {line[2]:>3} | {line[3]:>32} | {line[4]:>20} | {line[5]:>18} |\"\n    formatted_lines.append(f_line)\n\n# Writing to the file\nf_results = open(\"results.txt\", \"w\")  # Opening the file for writing. It will create the file automatically if it does not exist\n\nseparator_line = \"-\" * len(formatted_lines[0]) + \"\\n\"\nf_results.write(separator_line)\nfor i, line in enumerate(formatted_lines):\n    f_results.write(line + '\\n')\n    if i == 0:\n        f_results.write(separator_line)\nf_results.write(separator_line)\nf_results.close()\n",[1555,1563,1589,1598,1636,1705,1748,1756,1793],[10298],{"type":17,"tag":64,"props":10299,"children":10300},{"__ignoreMap":67},[10301,10336,10363,10382,10389,10404,10411,10419,10458,10541,10568,10575,10582,10597,10708,10743,10766,10977,11004,11011,11020,11079,11087,11159,11189,11228,11275,11298,11327,11355],{"type":17,"tag":70,"props":10302,"children":10303},{"class":124,"line":125},[10304,10308,10312,10316,10320,10324,10328,10332],{"type":17,"tag":70,"props":10305,"children":10306},{"style":675},[10307],{"type":22,"value":3696},{"type":17,"tag":70,"props":10309,"children":10310},{"style":2441},[10311],{"type":22,"value":2478},{"type":17,"tag":70,"props":10313,"children":10314},{"style":3656},[10315],{"type":22,"value":3705},{"type":17,"tag":70,"props":10317,"children":10318},{"style":987},[10319],{"type":22,"value":3710},{"type":17,"tag":70,"props":10321,"children":10322},{"style":1043},[10323],{"type":22,"value":1009},{"type":17,"tag":70,"props":10325,"children":10326},{"style":1049},[10327],{"type":22,"value":6747},{"type":17,"tag":70,"props":10329,"children":10330},{"style":1043},[10331],{"type":22,"value":1009},{"type":17,"tag":70,"props":10333,"children":10334},{"style":987},[10335],{"type":22,"value":3727},{"type":17,"tag":70,"props":10337,"children":10338},{"class":124,"line":699},[10339,10343,10347,10351,10355,10359],{"type":17,"tag":70,"props":10340,"children":10341},{"style":675},[10342],{"type":22,"value":7294},{"type":17,"tag":70,"props":10344,"children":10345},{"style":2441},[10346],{"type":22,"value":2478},{"type":17,"tag":70,"props":10348,"children":10349},{"style":675},[10350],{"type":22,"value":3880},{"type":17,"tag":70,"props":10352,"children":10353},{"style":987},[10354],{"type":22,"value":43},{"type":17,"tag":70,"props":10356,"children":10357},{"style":3810},[10358],{"type":22,"value":5365},{"type":17,"tag":70,"props":10360,"children":10361},{"style":987},[10362],{"type":22,"value":3893},{"type":17,"tag":70,"props":10364,"children":10365},{"class":124,"line":723},[10366,10370,10374,10378],{"type":17,"tag":70,"props":10367,"children":10368},{"style":675},[10369],{"type":22,"value":3768},{"type":17,"tag":70,"props":10371,"children":10372},{"style":987},[10373],{"type":22,"value":43},{"type":17,"tag":70,"props":10375,"children":10376},{"style":3810},[10377],{"type":22,"value":5925},{"type":17,"tag":70,"props":10379,"children":10380},{"style":987},[10381],{"type":22,"value":3893},{"type":17,"tag":70,"props":10383,"children":10384},{"class":124,"line":747},[10385],{"type":17,"tag":70,"props":10386,"children":10387},{"emptyLinePlaceholder":4063},[10388],{"type":22,"value":4066},{"type":17,"tag":70,"props":10390,"children":10391},{"class":124,"line":1101},[10392,10396,10400],{"type":17,"tag":70,"props":10393,"children":10394},{"style":675},[10395],{"type":22,"value":8199},{"type":17,"tag":70,"props":10397,"children":10398},{"style":2441},[10399],{"type":22,"value":2478},{"type":17,"tag":70,"props":10401,"children":10402},{"style":987},[10403],{"type":22,"value":8208},{"type":17,"tag":70,"props":10405,"children":10406},{"class":124,"line":1139},[10407],{"type":17,"tag":70,"props":10408,"children":10409},{"emptyLinePlaceholder":4063},[10410],{"type":22,"value":4066},{"type":17,"tag":70,"props":10412,"children":10413},{"class":124,"line":1177},[10414],{"type":17,"tag":70,"props":10415,"children":10416},{"style":693},[10417],{"type":22,"value":10418},"# Cleaning data\n",{"type":17,"tag":70,"props":10420,"children":10421},{"class":124,"line":1215},[10422,10426,10430,10434,10438,10442,10446,10450,10454],{"type":17,"tag":70,"props":10423,"children":10424},{"style":5751},[10425],{"type":22,"value":5754},{"type":17,"tag":70,"props":10427,"children":10428},{"style":675},[10429],{"type":22,"value":7470},{"type":17,"tag":70,"props":10431,"children":10432},{"style":5751},[10433],{"type":22,"value":5764},{"type":17,"tag":70,"props":10435,"children":10436},{"style":3656},[10437],{"type":22,"value":7479},{"type":17,"tag":70,"props":10439,"children":10440},{"style":987},[10441],{"type":22,"value":3710},{"type":17,"tag":70,"props":10443,"children":10444},{"style":3656},[10445],{"type":22,"value":7488},{"type":17,"tag":70,"props":10447,"children":10448},{"style":987},[10449],{"type":22,"value":3710},{"type":17,"tag":70,"props":10451,"children":10452},{"style":3908},[10453],{"type":22,"value":7352},{"type":17,"tag":70,"props":10455,"children":10456},{"style":987},[10457],{"type":22,"value":7501},{"type":17,"tag":70,"props":10459,"children":10460},{"class":124,"line":1240},[10461,10465,10469,10473,10477,10481,10485,10489,10493,10497,10501,10505,10509,10513,10517,10521,10525,10529,10533,10537],{"type":17,"tag":70,"props":10462,"children":10463},{"style":675},[10464],{"type":22,"value":7796},{"type":17,"tag":70,"props":10466,"children":10467},{"style":2441},[10468],{"type":22,"value":2478},{"type":17,"tag":70,"props":10470,"children":10471},{"style":7507},[10472],{"type":22,"value":7535},{"type":17,"tag":70,"props":10474,"children":10475},{"style":987},[10476],{"type":22,"value":7515},{"type":17,"tag":70,"props":10478,"children":10479},{"style":7507},[10480],{"type":22,"value":7520},{"type":17,"tag":70,"props":10482,"children":10483},{"style":987},[10484],{"type":22,"value":7548},{"type":17,"tag":70,"props":10486,"children":10487},{"style":3810},[10488],{"type":22,"value":4877},{"type":17,"tag":70,"props":10490,"children":10491},{"style":987},[10492],{"type":22,"value":3710},{"type":17,"tag":70,"props":10494,"children":10495},{"style":1043},[10496],{"type":22,"value":1009},{"type":17,"tag":70,"props":10498,"children":10499},{"style":4888},[10500],{"type":22,"value":4765},{"type":17,"tag":70,"props":10502,"children":10503},{"style":1043},[10504],{"type":22,"value":1009},{"type":17,"tag":70,"props":10506,"children":10507},{"style":987},[10508],{"type":22,"value":2139},{"type":17,"tag":70,"props":10510,"children":10511},{"style":1043},[10512],{"type":22,"value":4903},{"type":17,"tag":70,"props":10514,"children":10515},{"style":987},[10516],{"type":22,"value":7849},{"type":17,"tag":70,"props":10518,"children":10519},{"style":3810},[10520],{"type":22,"value":7854},{"type":17,"tag":70,"props":10522,"children":10523},{"style":987},[10524],{"type":22,"value":3710},{"type":17,"tag":70,"props":10526,"children":10527},{"style":1043},[10528],{"type":22,"value":1009},{"type":17,"tag":70,"props":10530,"children":10531},{"style":1049},[10532],{"type":22,"value":2139},{"type":17,"tag":70,"props":10534,"children":10535},{"style":1043},[10536],{"type":22,"value":1009},{"type":17,"tag":70,"props":10538,"children":10539},{"style":987},[10540],{"type":22,"value":3727},{"type":17,"tag":70,"props":10542,"children":10543},{"class":124,"line":1280},[10544,10548,10552,10556,10560,10564],{"type":17,"tag":70,"props":10545,"children":10546},{"style":675},[10547],{"type":22,"value":7882},{"type":17,"tag":70,"props":10549,"children":10550},{"style":987},[10551],{"type":22,"value":43},{"type":17,"tag":70,"props":10553,"children":10554},{"style":3810},[10555],{"type":22,"value":7891},{"type":17,"tag":70,"props":10557,"children":10558},{"style":987},[10559],{"type":22,"value":3710},{"type":17,"tag":70,"props":10561,"children":10562},{"style":3908},[10563],{"type":22,"value":7900},{"type":17,"tag":70,"props":10565,"children":10566},{"style":987},[10567],{"type":22,"value":3727},{"type":17,"tag":70,"props":10569,"children":10570},{"class":124,"line":1318},[10571],{"type":17,"tag":70,"props":10572,"children":10573},{"emptyLinePlaceholder":4063},[10574],{"type":22,"value":4066},{"type":17,"tag":70,"props":10576,"children":10577},{"class":124,"line":1356},[10578],{"type":17,"tag":70,"props":10579,"children":10580},{"style":693},[10581],{"type":22,"value":8387},{"type":17,"tag":70,"props":10583,"children":10584},{"class":124,"line":1391},[10585,10589,10593],{"type":17,"tag":70,"props":10586,"children":10587},{"style":675},[10588],{"type":22,"value":8395},{"type":17,"tag":70,"props":10590,"children":10591},{"style":2441},[10592],{"type":22,"value":2478},{"type":17,"tag":70,"props":10594,"children":10595},{"style":987},[10596],{"type":22,"value":8208},{"type":17,"tag":70,"props":10598,"children":10599},{"class":124,"line":1400},[10600,10604,10608,10612,10616,10620,10624,10628,10632,10636,10640,10644,10648,10652,10656,10660,10664,10668,10672,10676,10680,10684,10688,10692,10696,10700,10704],{"type":17,"tag":70,"props":10601,"children":10602},{"style":675},[10603],{"type":22,"value":8411},{"type":17,"tag":70,"props":10605,"children":10606},{"style":2441},[10607],{"type":22,"value":2478},{"type":17,"tag":70,"props":10609,"children":10610},{"style":987},[10611],{"type":22,"value":2121},{"type":17,"tag":70,"props":10613,"children":10614},{"style":1043},[10615],{"type":22,"value":1009},{"type":17,"tag":70,"props":10617,"children":10618},{"style":1049},[10619],{"type":22,"value":8428},{"type":17,"tag":70,"props":10621,"children":10622},{"style":1043},[10623],{"type":22,"value":1009},{"type":17,"tag":70,"props":10625,"children":10626},{"style":987},[10627],{"type":22,"value":2139},{"type":17,"tag":70,"props":10629,"children":10630},{"style":1043},[10631],{"type":22,"value":1046},{"type":17,"tag":70,"props":10633,"children":10634},{"style":1049},[10635],{"type":22,"value":8445},{"type":17,"tag":70,"props":10637,"children":10638},{"style":1043},[10639],{"type":22,"value":1009},{"type":17,"tag":70,"props":10641,"children":10642},{"style":987},[10643],{"type":22,"value":2139},{"type":17,"tag":70,"props":10645,"children":10646},{"style":1043},[10647],{"type":22,"value":1046},{"type":17,"tag":70,"props":10649,"children":10650},{"style":1049},[10651],{"type":22,"value":8462},{"type":17,"tag":70,"props":10653,"children":10654},{"style":1043},[10655],{"type":22,"value":1009},{"type":17,"tag":70,"props":10657,"children":10658},{"style":987},[10659],{"type":22,"value":2139},{"type":17,"tag":70,"props":10661,"children":10662},{"style":1043},[10663],{"type":22,"value":1046},{"type":17,"tag":70,"props":10665,"children":10666},{"style":1049},[10667],{"type":22,"value":8479},{"type":17,"tag":70,"props":10669,"children":10670},{"style":1043},[10671],{"type":22,"value":1009},{"type":17,"tag":70,"props":10673,"children":10674},{"style":987},[10675],{"type":22,"value":2139},{"type":17,"tag":70,"props":10677,"children":10678},{"style":1043},[10679],{"type":22,"value":1046},{"type":17,"tag":70,"props":10681,"children":10682},{"style":1049},[10683],{"type":22,"value":8496},{"type":17,"tag":70,"props":10685,"children":10686},{"style":1043},[10687],{"type":22,"value":1009},{"type":17,"tag":70,"props":10689,"children":10690},{"style":987},[10691],{"type":22,"value":2139},{"type":17,"tag":70,"props":10693,"children":10694},{"style":1043},[10695],{"type":22,"value":1046},{"type":17,"tag":70,"props":10697,"children":10698},{"style":1049},[10699],{"type":22,"value":8513},{"type":17,"tag":70,"props":10701,"children":10702},{"style":1043},[10703],{"type":22,"value":1009},{"type":17,"tag":70,"props":10705,"children":10706},{"style":987},[10707],{"type":22,"value":2174},{"type":17,"tag":70,"props":10709,"children":10710},{"class":124,"line":1425},[10711,10715,10719,10723,10727,10731,10735,10739],{"type":17,"tag":70,"props":10712,"children":10713},{"style":675},[10714],{"type":22,"value":7733},{"type":17,"tag":70,"props":10716,"children":10717},{"style":987},[10718],{"type":22,"value":43},{"type":17,"tag":70,"props":10720,"children":10721},{"style":3810},[10722],{"type":22,"value":8537},{"type":17,"tag":70,"props":10724,"children":10725},{"style":987},[10726],{"type":22,"value":3710},{"type":17,"tag":70,"props":10728,"children":10729},{"style":1657},[10730],{"type":22,"value":8546},{"type":17,"tag":70,"props":10732,"children":10733},{"style":987},[10734],{"type":22,"value":2139},{"type":17,"tag":70,"props":10736,"children":10737},{"style":3908},[10738],{"type":22,"value":8555},{"type":17,"tag":70,"props":10740,"children":10741},{"style":987},[10742],{"type":22,"value":3727},{"type":17,"tag":70,"props":10744,"children":10745},{"class":124,"line":1463},[10746,10750,10754,10758,10762],{"type":17,"tag":70,"props":10747,"children":10748},{"style":5751},[10749],{"type":22,"value":5754},{"type":17,"tag":70,"props":10751,"children":10752},{"style":675},[10753],{"type":22,"value":5759},{"type":17,"tag":70,"props":10755,"children":10756},{"style":5751},[10757],{"type":22,"value":5764},{"type":17,"tag":70,"props":10759,"children":10760},{"style":675},[10761],{"type":22,"value":8579},{"type":17,"tag":70,"props":10763,"children":10764},{"style":987},[10765],{"type":22,"value":5773},{"type":17,"tag":70,"props":10767,"children":10768},{"class":124,"line":1488},[10769,10773,10777,10781,10785,10789,10793,10797,10801,10805,10809,10813,10817,10821,10825,10829,10833,10837,10841,10845,10849,10853,10857,10861,10865,10869,10873,10877,10881,10885,10889,10893,10897,10901,10905,10909,10913,10917,10921,10925,10929,10933,10937,10941,10945,10949,10953,10957,10961,10965,10969,10973],{"type":17,"tag":70,"props":10770,"children":10771},{"style":675},[10772],{"type":22,"value":8591},{"type":17,"tag":70,"props":10774,"children":10775},{"style":2441},[10776],{"type":22,"value":2478},{"type":17,"tag":70,"props":10778,"children":10779},{"style":8598},[10780],{"type":22,"value":3880},{"type":17,"tag":70,"props":10782,"children":10783},{"style":1049},[10784],{"type":22,"value":8605},{"type":17,"tag":70,"props":10786,"children":10787},{"style":8608},[10788],{"type":22,"value":8611},{"type":17,"tag":70,"props":10790,"children":10791},{"style":7507},[10792],{"type":22,"value":124},{"type":17,"tag":70,"props":10794,"children":10795},{"style":987},[10796],{"type":22,"value":7515},{"type":17,"tag":70,"props":10798,"children":10799},{"style":8622},[10800],{"type":22,"value":8546},{"type":17,"tag":70,"props":10802,"children":10803},{"style":987},[10804],{"type":22,"value":7525},{"type":17,"tag":70,"props":10806,"children":10807},{"style":8631},[10808],{"type":22,"value":8634},{"type":17,"tag":70,"props":10810,"children":10811},{"style":8608},[10812],{"type":22,"value":8639},{"type":17,"tag":70,"props":10814,"children":10815},{"style":1049},[10816],{"type":22,"value":8644},{"type":17,"tag":70,"props":10818,"children":10819},{"style":8608},[10820],{"type":22,"value":8611},{"type":17,"tag":70,"props":10822,"children":10823},{"style":7507},[10824],{"type":22,"value":124},{"type":17,"tag":70,"props":10826,"children":10827},{"style":987},[10828],{"type":22,"value":7515},{"type":17,"tag":70,"props":10830,"children":10831},{"style":8622},[10832],{"type":22,"value":8661},{"type":17,"tag":70,"props":10834,"children":10835},{"style":987},[10836],{"type":22,"value":7525},{"type":17,"tag":70,"props":10838,"children":10839},{"style":8631},[10840],{"type":22,"value":8634},{"type":17,"tag":70,"props":10842,"children":10843},{"style":8608},[10844],{"type":22,"value":8639},{"type":17,"tag":70,"props":10846,"children":10847},{"style":1049},[10848],{"type":22,"value":8644},{"type":17,"tag":70,"props":10850,"children":10851},{"style":8608},[10852],{"type":22,"value":8611},{"type":17,"tag":70,"props":10854,"children":10855},{"style":7507},[10856],{"type":22,"value":124},{"type":17,"tag":70,"props":10858,"children":10859},{"style":987},[10860],{"type":22,"value":7515},{"type":17,"tag":70,"props":10862,"children":10863},{"style":8622},[10864],{"type":22,"value":8694},{"type":17,"tag":70,"props":10866,"children":10867},{"style":987},[10868],{"type":22,"value":7525},{"type":17,"tag":70,"props":10870,"children":10871},{"style":8631},[10872],{"type":22,"value":8703},{"type":17,"tag":70,"props":10874,"children":10875},{"style":8608},[10876],{"type":22,"value":8639},{"type":17,"tag":70,"props":10878,"children":10879},{"style":1049},[10880],{"type":22,"value":8644},{"type":17,"tag":70,"props":10882,"children":10883},{"style":8608},[10884],{"type":22,"value":8611},{"type":17,"tag":70,"props":10886,"children":10887},{"style":7507},[10888],{"type":22,"value":124},{"type":17,"tag":70,"props":10890,"children":10891},{"style":987},[10892],{"type":22,"value":7515},{"type":17,"tag":70,"props":10894,"children":10895},{"style":8622},[10896],{"type":22,"value":8728},{"type":17,"tag":70,"props":10898,"children":10899},{"style":987},[10900],{"type":22,"value":7525},{"type":17,"tag":70,"props":10902,"children":10903},{"style":8631},[10904],{"type":22,"value":8737},{"type":17,"tag":70,"props":10906,"children":10907},{"style":8608},[10908],{"type":22,"value":8639},{"type":17,"tag":70,"props":10910,"children":10911},{"style":1049},[10912],{"type":22,"value":8644},{"type":17,"tag":70,"props":10914,"children":10915},{"style":8608},[10916],{"type":22,"value":8611},{"type":17,"tag":70,"props":10918,"children":10919},{"style":7507},[10920],{"type":22,"value":124},{"type":17,"tag":70,"props":10922,"children":10923},{"style":987},[10924],{"type":22,"value":7515},{"type":17,"tag":70,"props":10926,"children":10927},{"style":8622},[10928],{"type":22,"value":8762},{"type":17,"tag":70,"props":10930,"children":10931},{"style":987},[10932],{"type":22,"value":7525},{"type":17,"tag":70,"props":10934,"children":10935},{"style":8631},[10936],{"type":22,"value":8771},{"type":17,"tag":70,"props":10938,"children":10939},{"style":8608},[10940],{"type":22,"value":8639},{"type":17,"tag":70,"props":10942,"children":10943},{"style":1049},[10944],{"type":22,"value":8644},{"type":17,"tag":70,"props":10946,"children":10947},{"style":8608},[10948],{"type":22,"value":8611},{"type":17,"tag":70,"props":10950,"children":10951},{"style":7507},[10952],{"type":22,"value":124},{"type":17,"tag":70,"props":10954,"children":10955},{"style":987},[10956],{"type":22,"value":7515},{"type":17,"tag":70,"props":10958,"children":10959},{"style":8622},[10960],{"type":22,"value":8796},{"type":17,"tag":70,"props":10962,"children":10963},{"style":987},[10964],{"type":22,"value":7525},{"type":17,"tag":70,"props":10966,"children":10967},{"style":8631},[10968],{"type":22,"value":8805},{"type":17,"tag":70,"props":10970,"children":10971},{"style":8608},[10972],{"type":22,"value":8639},{"type":17,"tag":70,"props":10974,"children":10975},{"style":1049},[10976],{"type":22,"value":8814},{"type":17,"tag":70,"props":10978,"children":10979},{"class":124,"line":1520},[10980,10984,10988,10992,10996,11000],{"type":17,"tag":70,"props":10981,"children":10982},{"style":675},[10983],{"type":22,"value":8822},{"type":17,"tag":70,"props":10985,"children":10986},{"style":987},[10987],{"type":22,"value":43},{"type":17,"tag":70,"props":10989,"children":10990},{"style":3810},[10991],{"type":22,"value":7891},{"type":17,"tag":70,"props":10993,"children":10994},{"style":987},[10995],{"type":22,"value":3710},{"type":17,"tag":70,"props":10997,"children":10998},{"style":3908},[10999],{"type":22,"value":8839},{"type":17,"tag":70,"props":11001,"children":11002},{"style":987},[11003],{"type":22,"value":3727},{"type":17,"tag":70,"props":11005,"children":11006},{"class":124,"line":1546},[11007],{"type":17,"tag":70,"props":11008,"children":11009},{"emptyLinePlaceholder":4063},[11010],{"type":22,"value":4066},{"type":17,"tag":70,"props":11012,"children":11014},{"class":11013,"line":1555},[124,6029],[11015],{"type":17,"tag":70,"props":11016,"children":11017},{"style":693},[11018],{"type":22,"value":11019},"# Writing to the file\n",{"type":17,"tag":70,"props":11021,"children":11023},{"class":11022,"line":1563},[124,6029],[11024,11029,11033,11037,11041,11045,11050,11054,11058,11062,11066,11070,11074],{"type":17,"tag":70,"props":11025,"children":11026},{"style":675},[11027],{"type":22,"value":11028},"f_results ",{"type":17,"tag":70,"props":11030,"children":11031},{"style":2441},[11032],{"type":22,"value":2478},{"type":17,"tag":70,"props":11034,"children":11035},{"style":3656},[11036],{"type":22,"value":3705},{"type":17,"tag":70,"props":11038,"children":11039},{"style":987},[11040],{"type":22,"value":3710},{"type":17,"tag":70,"props":11042,"children":11043},{"style":1043},[11044],{"type":22,"value":1009},{"type":17,"tag":70,"props":11046,"children":11047},{"style":1049},[11048],{"type":22,"value":11049},"results.txt",{"type":17,"tag":70,"props":11051,"children":11052},{"style":1043},[11053],{"type":22,"value":1009},{"type":17,"tag":70,"props":11055,"children":11056},{"style":987},[11057],{"type":22,"value":2139},{"type":17,"tag":70,"props":11059,"children":11060},{"style":1043},[11061],{"type":22,"value":1046},{"type":17,"tag":70,"props":11063,"children":11064},{"style":1049},[11065],{"type":22,"value":9947},{"type":17,"tag":70,"props":11067,"children":11068},{"style":1043},[11069],{"type":22,"value":1009},{"type":17,"tag":70,"props":11071,"children":11072},{"style":987},[11073],{"type":22,"value":5088},{"type":17,"tag":70,"props":11075,"children":11076},{"style":693},[11077],{"type":22,"value":11078},"  # Opening the file for writing. It will create the file automatically if it does not exist\n",{"type":17,"tag":70,"props":11080,"children":11082},{"class":11081,"line":1589},[124,6029],[11083],{"type":17,"tag":70,"props":11084,"children":11085},{"emptyLinePlaceholder":4063},[11086],{"type":22,"value":4066},{"type":17,"tag":70,"props":11088,"children":11090},{"class":11089,"line":1598},[124,6029],[11091,11096,11100,11104,11108,11112,11117,11121,11125,11129,11133,11137,11142,11147,11151,11155],{"type":17,"tag":70,"props":11092,"children":11093},{"style":675},[11094],{"type":22,"value":11095},"separator_line ",{"type":17,"tag":70,"props":11097,"children":11098},{"style":2441},[11099],{"type":22,"value":2478},{"type":17,"tag":70,"props":11101,"children":11102},{"style":1043},[11103],{"type":22,"value":1046},{"type":17,"tag":70,"props":11105,"children":11106},{"style":1049},[11107],{"type":22,"value":8088},{"type":17,"tag":70,"props":11109,"children":11110},{"style":1043},[11111],{"type":22,"value":1009},{"type":17,"tag":70,"props":11113,"children":11114},{"style":2441},[11115],{"type":22,"value":11116}," *",{"type":17,"tag":70,"props":11118,"children":11119},{"style":3656},[11120],{"type":22,"value":9632},{"type":17,"tag":70,"props":11122,"children":11123},{"style":987},[11124],{"type":22,"value":3710},{"type":17,"tag":70,"props":11126,"children":11127},{"style":8898},[11128],{"type":22,"value":8901},{"type":17,"tag":70,"props":11130,"children":11131},{"style":987},[11132],{"type":22,"value":7515},{"type":17,"tag":70,"props":11134,"children":11135},{"style":8622},[11136],{"type":22,"value":8546},{"type":17,"tag":70,"props":11138,"children":11139},{"style":987},[11140],{"type":22,"value":11141},"])",{"type":17,"tag":70,"props":11143,"children":11144},{"style":2441},[11145],{"type":22,"value":11146}," +",{"type":17,"tag":70,"props":11148,"children":11149},{"style":1043},[11150],{"type":22,"value":1046},{"type":17,"tag":70,"props":11152,"children":11153},{"style":4888},[11154],{"type":22,"value":4765},{"type":17,"tag":70,"props":11156,"children":11157},{"style":1043},[11158],{"type":22,"value":1388},{"type":17,"tag":70,"props":11160,"children":11162},{"class":11161,"line":1636},[124,6029],[11163,11168,11172,11176,11180,11185],{"type":17,"tag":70,"props":11164,"children":11165},{"style":675},[11166],{"type":22,"value":11167},"f_results",{"type":17,"tag":70,"props":11169,"children":11170},{"style":987},[11171],{"type":22,"value":43},{"type":17,"tag":70,"props":11173,"children":11174},{"style":3810},[11175],{"type":22,"value":10206},{"type":17,"tag":70,"props":11177,"children":11178},{"style":987},[11179],{"type":22,"value":3710},{"type":17,"tag":70,"props":11181,"children":11182},{"style":3908},[11183],{"type":22,"value":11184},"separator_line",{"type":17,"tag":70,"props":11186,"children":11187},{"style":987},[11188],{"type":22,"value":3727},{"type":17,"tag":70,"props":11190,"children":11191},{"class":124,"line":1667},[11192,11196,11200,11204,11208,11212,11216,11220,11224],{"type":17,"tag":70,"props":11193,"children":11194},{"style":5751},[11195],{"type":22,"value":5754},{"type":17,"tag":70,"props":11197,"children":11198},{"style":675},[11199],{"type":22,"value":8946},{"type":17,"tag":70,"props":11201,"children":11202},{"style":987},[11203],{"type":22,"value":2139},{"type":17,"tag":70,"props":11205,"children":11206},{"style":675},[11207],{"type":22,"value":5759},{"type":17,"tag":70,"props":11209,"children":11210},{"style":5751},[11211],{"type":22,"value":5764},{"type":17,"tag":70,"props":11213,"children":11214},{"style":3656},[11215],{"type":22,"value":8963},{"type":17,"tag":70,"props":11217,"children":11218},{"style":987},[11219],{"type":22,"value":3710},{"type":17,"tag":70,"props":11221,"children":11222},{"style":3908},[11223],{"type":22,"value":8901},{"type":17,"tag":70,"props":11225,"children":11226},{"style":987},[11227],{"type":22,"value":8976},{"type":17,"tag":70,"props":11229,"children":11231},{"class":11230,"line":1705},[124,6029],[11232,11237,11241,11245,11249,11253,11257,11262,11266,11271],{"type":17,"tag":70,"props":11233,"children":11234},{"style":675},[11235],{"type":22,"value":11236},"    f_results",{"type":17,"tag":70,"props":11238,"children":11239},{"style":987},[11240],{"type":22,"value":43},{"type":17,"tag":70,"props":11242,"children":11243},{"style":3810},[11244],{"type":22,"value":10206},{"type":17,"tag":70,"props":11246,"children":11247},{"style":987},[11248],{"type":22,"value":3710},{"type":17,"tag":70,"props":11250,"children":11251},{"style":3908},[11252],{"type":22,"value":3871},{"type":17,"tag":70,"props":11254,"children":11255},{"style":2441},[11256],{"type":22,"value":10143},{"type":17,"tag":70,"props":11258,"children":11259},{"style":1043},[11260],{"type":22,"value":11261}," '",{"type":17,"tag":70,"props":11263,"children":11264},{"style":4888},[11265],{"type":22,"value":4765},{"type":17,"tag":70,"props":11267,"children":11268},{"style":1043},[11269],{"type":22,"value":11270},"'",{"type":17,"tag":70,"props":11272,"children":11273},{"style":987},[11274],{"type":22,"value":3727},{"type":17,"tag":70,"props":11276,"children":11277},{"class":124,"line":1739},[11278,11282,11286,11290,11294],{"type":17,"tag":70,"props":11279,"children":11280},{"style":5751},[11281],{"type":22,"value":9003},{"type":17,"tag":70,"props":11283,"children":11284},{"style":675},[11285],{"type":22,"value":7470},{"type":17,"tag":70,"props":11287,"children":11288},{"style":2441},[11289],{"type":22,"value":9017},{"type":17,"tag":70,"props":11291,"children":11292},{"style":1657},[11293],{"type":22,"value":9022},{"type":17,"tag":70,"props":11295,"children":11296},{"style":987},[11297],{"type":22,"value":5773},{"type":17,"tag":70,"props":11299,"children":11301},{"class":11300,"line":1748},[124,6029],[11302,11307,11311,11315,11319,11323],{"type":17,"tag":70,"props":11303,"children":11304},{"style":675},[11305],{"type":22,"value":11306},"        f_results",{"type":17,"tag":70,"props":11308,"children":11309},{"style":987},[11310],{"type":22,"value":43},{"type":17,"tag":70,"props":11312,"children":11313},{"style":3810},[11314],{"type":22,"value":10206},{"type":17,"tag":70,"props":11316,"children":11317},{"style":987},[11318],{"type":22,"value":3710},{"type":17,"tag":70,"props":11320,"children":11321},{"style":3908},[11322],{"type":22,"value":11184},{"type":17,"tag":70,"props":11324,"children":11325},{"style":987},[11326],{"type":22,"value":3727},{"type":17,"tag":70,"props":11328,"children":11330},{"class":11329,"line":1756},[124,6029],[11331,11335,11339,11343,11347,11351],{"type":17,"tag":70,"props":11332,"children":11333},{"style":675},[11334],{"type":22,"value":11167},{"type":17,"tag":70,"props":11336,"children":11337},{"style":987},[11338],{"type":22,"value":43},{"type":17,"tag":70,"props":11340,"children":11341},{"style":3810},[11342],{"type":22,"value":10206},{"type":17,"tag":70,"props":11344,"children":11345},{"style":987},[11346],{"type":22,"value":3710},{"type":17,"tag":70,"props":11348,"children":11349},{"style":3908},[11350],{"type":22,"value":11184},{"type":17,"tag":70,"props":11352,"children":11353},{"style":987},[11354],{"type":22,"value":3727},{"type":17,"tag":70,"props":11356,"children":11358},{"class":11357,"line":1793},[124,6029],[11359,11363,11367,11371],{"type":17,"tag":70,"props":11360,"children":11361},{"style":675},[11362],{"type":22,"value":11167},{"type":17,"tag":70,"props":11364,"children":11365},{"style":987},[11366],{"type":22,"value":43},{"type":17,"tag":70,"props":11368,"children":11369},{"style":3810},[11370],{"type":22,"value":5925},{"type":17,"tag":70,"props":11372,"children":11373},{"style":987},[11374],{"type":22,"value":3893},{"type":17,"tag":18,"props":11376,"children":11377},{},[11378,11380,11387],{"type":22,"value":11379},"Paleidus programą, turėtumėte pamatyti naujai atsiradusį failą ",{"type":17,"tag":64,"props":11381,"children":11382},{"className":66,"language":22,"style":67},[11383],{"type":17,"tag":70,"props":11384,"children":11385},{},[11386],{"type":22,"value":11049},{"type":22,"value":113},{"type":17,"tag":115,"props":11389,"children":11390},{"className":66,"code":9068,"filename":11049,"language":22,"meta":67,"style":67},[11391],{"type":17,"tag":64,"props":11392,"children":11393},{"__ignoreMap":67},[11394,11401,11408,11415,11422,11429,11436,11443,11450,11457,11464,11471,11478,11485,11492,11499,11506,11513,11520],{"type":17,"tag":70,"props":11395,"children":11396},{"class":124,"line":125},[11397],{"type":17,"tag":70,"props":11398,"children":11399},{},[11400],{"type":22,"value":9080},{"type":17,"tag":70,"props":11402,"children":11403},{"class":124,"line":699},[11404],{"type":17,"tag":70,"props":11405,"children":11406},{},[11407],{"type":22,"value":9088},{"type":17,"tag":70,"props":11409,"children":11410},{"class":124,"line":723},[11411],{"type":17,"tag":70,"props":11412,"children":11413},{},[11414],{"type":22,"value":9080},{"type":17,"tag":70,"props":11416,"children":11417},{"class":124,"line":747},[11418],{"type":17,"tag":70,"props":11419,"children":11420},{},[11421],{"type":22,"value":9103},{"type":17,"tag":70,"props":11423,"children":11424},{"class":124,"line":1101},[11425],{"type":17,"tag":70,"props":11426,"children":11427},{},[11428],{"type":22,"value":9111},{"type":17,"tag":70,"props":11430,"children":11431},{"class":124,"line":1139},[11432],{"type":17,"tag":70,"props":11433,"children":11434},{},[11435],{"type":22,"value":9119},{"type":17,"tag":70,"props":11437,"children":11438},{"class":124,"line":1177},[11439],{"type":17,"tag":70,"props":11440,"children":11441},{},[11442],{"type":22,"value":9127},{"type":17,"tag":70,"props":11444,"children":11445},{"class":124,"line":1215},[11446],{"type":17,"tag":70,"props":11447,"children":11448},{},[11449],{"type":22,"value":9135},{"type":17,"tag":70,"props":11451,"children":11452},{"class":124,"line":1240},[11453],{"type":17,"tag":70,"props":11454,"children":11455},{},[11456],{"type":22,"value":9143},{"type":17,"tag":70,"props":11458,"children":11459},{"class":124,"line":1280},[11460],{"type":17,"tag":70,"props":11461,"children":11462},{},[11463],{"type":22,"value":9151},{"type":17,"tag":70,"props":11465,"children":11466},{"class":124,"line":1318},[11467],{"type":17,"tag":70,"props":11468,"children":11469},{},[11470],{"type":22,"value":9159},{"type":17,"tag":70,"props":11472,"children":11473},{"class":124,"line":1356},[11474],{"type":17,"tag":70,"props":11475,"children":11476},{},[11477],{"type":22,"value":9167},{"type":17,"tag":70,"props":11479,"children":11480},{"class":124,"line":1391},[11481],{"type":17,"tag":70,"props":11482,"children":11483},{},[11484],{"type":22,"value":9175},{"type":17,"tag":70,"props":11486,"children":11487},{"class":124,"line":1400},[11488],{"type":17,"tag":70,"props":11489,"children":11490},{},[11491],{"type":22,"value":9183},{"type":17,"tag":70,"props":11493,"children":11494},{"class":124,"line":1425},[11495],{"type":17,"tag":70,"props":11496,"children":11497},{},[11498],{"type":22,"value":9191},{"type":17,"tag":70,"props":11500,"children":11501},{"class":124,"line":1463},[11502],{"type":17,"tag":70,"props":11503,"children":11504},{},[11505],{"type":22,"value":9199},{"type":17,"tag":70,"props":11507,"children":11508},{"class":124,"line":1488},[11509],{"type":17,"tag":70,"props":11510,"children":11511},{},[11512],{"type":22,"value":9207},{"type":17,"tag":70,"props":11514,"children":11515},{"class":124,"line":1520},[11516],{"type":17,"tag":70,"props":11517,"children":11518},{},[11519],{"type":22,"value":9215},{"type":17,"tag":70,"props":11521,"children":11522},{"class":124,"line":1546},[11523],{"type":17,"tag":70,"props":11524,"children":11525},{},[11526],{"type":22,"value":9080},{"type":17,"tag":18,"props":11528,"children":11529},{},[11530],{"type":22,"value":11531},"Programoje atlikome keletą modifikacijų:",{"type":17,"tag":6235,"props":11533,"children":11534},{},[11535,11557,11562,11602,11616,11655],{"type":17,"tag":170,"props":11536,"children":11537},{"index":6240},[11538,11540,11555],{"type":22,"value":11539},"Atidarėme rezultatų failą su ",{"type":17,"tag":64,"props":11541,"children":11542},{"className":3632,"language":3633,"style":67},[11543,11547,11551],{"type":17,"tag":70,"props":11544,"children":11545},{"style":4199},[11546],{"type":22,"value":1009},{"type":17,"tag":70,"props":11548,"children":11549},{"style":9845},[11550],{"type":22,"value":9947},{"type":17,"tag":70,"props":11552,"children":11553},{"style":4199},[11554],{"type":22,"value":1009},{"type":22,"value":11556}," (20 eil.);",{"type":17,"tag":170,"props":11558,"children":11559},{"index":125},[11560],{"type":22,"value":11561},"Jam neegzistuojant, programa pati jį sukūrė (20 eil.);",{"type":17,"tag":170,"props":11563,"children":11564},{"index":699},[11565,11567,11578,11580,11587,11589,11600],{"type":22,"value":11566},"Anksčiau ",{"type":17,"tag":64,"props":11568,"children":11569},{"className":3632,"language":3633,"style":67},[11570,11574],{"type":17,"tag":70,"props":11571,"children":11572},{"style":3656},[11573],{"type":22,"value":3901},{"type":17,"tag":70,"props":11575,"children":11576},{"style":987},[11577],{"type":22,"value":3664},{"type":22,"value":11579}," funkcija automatiškai sudėdavo ",{"type":17,"tag":64,"props":11581,"children":11582},{"className":66,"language":22,"style":67},[11583],{"type":17,"tag":70,"props":11584,"children":11585},{},[11586],{"type":22,"value":4765},{"type":22,"value":11588}," simbolius, o ",{"type":17,"tag":64,"props":11590,"children":11591},{"className":3632,"language":3633,"style":67},[11592,11596],{"type":17,"tag":70,"props":11593,"children":11594},{"style":3810},[11595],{"type":22,"value":10206},{"type":17,"tag":70,"props":11597,"children":11598},{"style":987},[11599],{"type":22,"value":3664},{"type":22,"value":11601}," metodas to nedaro, todėl įrašomoms eilutėms turėjom tą pridėti (23 ir 26 eil.);",{"type":17,"tag":170,"props":11603,"children":11604},{"index":723},[11605,11607,11614],{"type":22,"value":11606},"* 26 eilutėje ",{"type":17,"tag":64,"props":11608,"children":11609},{"className":66,"language":22,"style":67},[11610],{"type":17,"tag":70,"props":11611,"children":11612},{},[11613],{"type":22,"value":4765},{"type":22,"value":11615}," simbolio pridėjimą galėtume iškelti į 17 eilutę.;",{"type":17,"tag":170,"props":11617,"children":11618},{"index":747},[11619,11621,11632,11634,11653],{"type":22,"value":11620},"Funkcijas ",{"type":17,"tag":64,"props":11622,"children":11623},{"className":3632,"language":3633,"style":67},[11624,11628],{"type":17,"tag":70,"props":11625,"children":11626},{"style":3656},[11627],{"type":22,"value":3901},{"type":17,"tag":70,"props":11629,"children":11630},{"style":987},[11631],{"type":22,"value":3664},{"type":22,"value":11633}," pakeitėme į ",{"type":17,"tag":64,"props":11635,"children":11636},{"className":3632,"language":3633,"style":67},[11637,11641,11645,11649],{"type":17,"tag":70,"props":11638,"children":11639},{"style":675},[11640],{"type":22,"value":11167},{"type":17,"tag":70,"props":11642,"children":11643},{"style":987},[11644],{"type":22,"value":43},{"type":17,"tag":70,"props":11646,"children":11647},{"style":3810},[11648],{"type":22,"value":10206},{"type":17,"tag":70,"props":11650,"children":11651},{"style":987},[11652],{"type":22,"value":3664},{"type":22,"value":11654}," (24, 26, 28, 29 eil.).",{"type":17,"tag":170,"props":11656,"children":11657},{"index":1101},[11658,11663],{"type":17,"tag":78,"props":11659,"children":11660},{},[11661],{"type":22,"value":11662},"Uždarėme failą!",{"type":22,"value":11664}," (30 eil.)",{"type":17,"tag":18,"props":11666,"children":11667},{},[11668],{"type":22,"value":11669},"Reiktų pastebėti tai:",{"type":17,"tag":166,"props":11671,"children":11672},{},[11673,11678,11698],{"type":17,"tag":170,"props":11674,"children":11675},{},[11676],{"type":22,"value":11677},"modifikuojant išvesties tekstą ir paleidus programą, rezultatų failo turinys yra ištrinamas ir įrašomas naujas. Taip vyksta kiekviena kartą paleidus programą;",{"type":17,"tag":170,"props":11679,"children":11680},{},[11681,11683,11690,11692,11697],{"type":22,"value":11682},"netyčia užvadinus išvesties failą ",{"type":17,"tag":64,"props":11684,"children":11685},{"className":66,"language":22,"style":67},[11686],{"type":17,"tag":70,"props":11687,"children":11688},{},[11689],{"type":22,"value":6747},{"type":22,"value":11691}," jūsų duomenų failo informacija būtų ištrinta. ",{"type":17,"tag":78,"props":11693,"children":11694},{},[11695],{"type":22,"value":11696},"Atsargiai nurodykite failo pavadinimą!",{"type":22,"value":2312},{"type":17,"tag":170,"props":11699,"children":11700},{},[11701],{"type":22,"value":11702},"naujas eilutes reikia įvesti rankiniu būdu.",{"type":17,"tag":45,"props":11704,"children":11706},{"id":11705},"metodas-writelines",[11707,11708],{"type":22,"value":4180},{"type":17,"tag":64,"props":11709,"children":11710},{"className":3632,"language":3633,"style":67},[11711,11716],{"type":17,"tag":70,"props":11712,"children":11713},{"style":3810},[11714],{"type":22,"value":11715},"writeLines",{"type":17,"tag":70,"props":11717,"children":11718},{"style":987},[11719],{"type":22,"value":3664},{"type":17,"tag":18,"props":11721,"children":11722},{},[11723,11725,11736],{"type":22,"value":11724},"Jeigu turime sąrašą eilučių, kurias norime išvesti į išvestį, tą galime padaryti su ",{"type":17,"tag":64,"props":11726,"children":11727},{"className":3632,"language":3633,"style":67},[11728,11732],{"type":17,"tag":70,"props":11729,"children":11730},{"style":3810},[11731],{"type":22,"value":11715},{"type":17,"tag":70,"props":11733,"children":11734},{"style":987},[11735],{"type":22,"value":3664},{"type":22,"value":11737}," metodu. Vėl pakeiskime anksčiau analizuotą kodą ir pritaikykime jį tam, kad galėtume panaudoti anksčiau minėtą metodą:",{"type":17,"tag":115,"props":11739,"children":11742},{"className":3632,"code":11740,"highlights":11741,"language":3633,"meta":67,"style":67},"f = open(\"customers.csv\")\nraw_data = f.readlines()\nf.close()\n\ndata = []\n\n# Cleaning data\nfor i in range(len(raw_data)):\n    line_data = raw_data[i].replace(\"\\n\", \"\").split(\",\")\n    data.append(line_data)\n\n# Formatting lines for writing to the file\nformatted_lines = []\nheader = [\"Name\", \"Surname\", \"Age\", \"Email\", \"Country\", \"Tel. Number\"]\ndata.insert(0, header)\nfor i, line in enumerate(data):\n    f_line = f\"| {line[0]:10} | {line[1]:10} | {line[2]:>3} | {line[3]:>32} | {line[4]:>20} | {line[5]:>18} |\\n\"\n    formatted_lines.append(f_line)\n\nseparator_line = \"-\" * len(formatted_lines[0])\nformatted_lines.append(separator_line)  # Adding separator at the bottom of the table\nformatted_lines.insert(1, separator_line + '\\n')  # Adding separator after the header row\nformatted_lines.insert(0, separator_line + '\\n')  # Adding separator before the header row\n\n# Writing to the file\nwith open(\"results.txt\", \"w\") as f_results:\n    f_results.writelines(formatted_lines)\n",[1488,1555,1563,1589,1598,1667,1705,1739],[11743],{"type":17,"tag":64,"props":11744,"children":11745},{"__ignoreMap":67},[11746,11781,11808,11827,11834,11849,11856,11863,11902,11985,12012,12019,12027,12042,12153,12188,12227,12448,12475,12482,12534,12567,12625,12682,12689,12697,12758],{"type":17,"tag":70,"props":11747,"children":11748},{"class":124,"line":125},[11749,11753,11757,11761,11765,11769,11773,11777],{"type":17,"tag":70,"props":11750,"children":11751},{"style":675},[11752],{"type":22,"value":3696},{"type":17,"tag":70,"props":11754,"children":11755},{"style":2441},[11756],{"type":22,"value":2478},{"type":17,"tag":70,"props":11758,"children":11759},{"style":3656},[11760],{"type":22,"value":3705},{"type":17,"tag":70,"props":11762,"children":11763},{"style":987},[11764],{"type":22,"value":3710},{"type":17,"tag":70,"props":11766,"children":11767},{"style":1043},[11768],{"type":22,"value":1009},{"type":17,"tag":70,"props":11770,"children":11771},{"style":1049},[11772],{"type":22,"value":6747},{"type":17,"tag":70,"props":11774,"children":11775},{"style":1043},[11776],{"type":22,"value":1009},{"type":17,"tag":70,"props":11778,"children":11779},{"style":987},[11780],{"type":22,"value":3727},{"type":17,"tag":70,"props":11782,"children":11783},{"class":124,"line":699},[11784,11788,11792,11796,11800,11804],{"type":17,"tag":70,"props":11785,"children":11786},{"style":675},[11787],{"type":22,"value":7294},{"type":17,"tag":70,"props":11789,"children":11790},{"style":2441},[11791],{"type":22,"value":2478},{"type":17,"tag":70,"props":11793,"children":11794},{"style":675},[11795],{"type":22,"value":3880},{"type":17,"tag":70,"props":11797,"children":11798},{"style":987},[11799],{"type":22,"value":43},{"type":17,"tag":70,"props":11801,"children":11802},{"style":3810},[11803],{"type":22,"value":5365},{"type":17,"tag":70,"props":11805,"children":11806},{"style":987},[11807],{"type":22,"value":3893},{"type":17,"tag":70,"props":11809,"children":11810},{"class":124,"line":723},[11811,11815,11819,11823],{"type":17,"tag":70,"props":11812,"children":11813},{"style":675},[11814],{"type":22,"value":3768},{"type":17,"tag":70,"props":11816,"children":11817},{"style":987},[11818],{"type":22,"value":43},{"type":17,"tag":70,"props":11820,"children":11821},{"style":3810},[11822],{"type":22,"value":5925},{"type":17,"tag":70,"props":11824,"children":11825},{"style":987},[11826],{"type":22,"value":3893},{"type":17,"tag":70,"props":11828,"children":11829},{"class":124,"line":747},[11830],{"type":17,"tag":70,"props":11831,"children":11832},{"emptyLinePlaceholder":4063},[11833],{"type":22,"value":4066},{"type":17,"tag":70,"props":11835,"children":11836},{"class":124,"line":1101},[11837,11841,11845],{"type":17,"tag":70,"props":11838,"children":11839},{"style":675},[11840],{"type":22,"value":8199},{"type":17,"tag":70,"props":11842,"children":11843},{"style":2441},[11844],{"type":22,"value":2478},{"type":17,"tag":70,"props":11846,"children":11847},{"style":987},[11848],{"type":22,"value":8208},{"type":17,"tag":70,"props":11850,"children":11851},{"class":124,"line":1139},[11852],{"type":17,"tag":70,"props":11853,"children":11854},{"emptyLinePlaceholder":4063},[11855],{"type":22,"value":4066},{"type":17,"tag":70,"props":11857,"children":11858},{"class":124,"line":1177},[11859],{"type":17,"tag":70,"props":11860,"children":11861},{"style":693},[11862],{"type":22,"value":10418},{"type":17,"tag":70,"props":11864,"children":11865},{"class":124,"line":1215},[11866,11870,11874,11878,11882,11886,11890,11894,11898],{"type":17,"tag":70,"props":11867,"children":11868},{"style":5751},[11869],{"type":22,"value":5754},{"type":17,"tag":70,"props":11871,"children":11872},{"style":675},[11873],{"type":22,"value":7470},{"type":17,"tag":70,"props":11875,"children":11876},{"style":5751},[11877],{"type":22,"value":5764},{"type":17,"tag":70,"props":11879,"children":11880},{"style":3656},[11881],{"type":22,"value":7479},{"type":17,"tag":70,"props":11883,"children":11884},{"style":987},[11885],{"type":22,"value":3710},{"type":17,"tag":70,"props":11887,"children":11888},{"style":3656},[11889],{"type":22,"value":7488},{"type":17,"tag":70,"props":11891,"children":11892},{"style":987},[11893],{"type":22,"value":3710},{"type":17,"tag":70,"props":11895,"children":11896},{"style":3908},[11897],{"type":22,"value":7352},{"type":17,"tag":70,"props":11899,"children":11900},{"style":987},[11901],{"type":22,"value":7501},{"type":17,"tag":70,"props":11903,"children":11904},{"class":124,"line":1240},[11905,11909,11913,11917,11921,11925,11929,11933,11937,11941,11945,11949,11953,11957,11961,11965,11969,11973,11977,11981],{"type":17,"tag":70,"props":11906,"children":11907},{"style":675},[11908],{"type":22,"value":7796},{"type":17,"tag":70,"props":11910,"children":11911},{"style":2441},[11912],{"type":22,"value":2478},{"type":17,"tag":70,"props":11914,"children":11915},{"style":7507},[11916],{"type":22,"value":7535},{"type":17,"tag":70,"props":11918,"children":11919},{"style":987},[11920],{"type":22,"value":7515},{"type":17,"tag":70,"props":11922,"children":11923},{"style":7507},[11924],{"type":22,"value":7520},{"type":17,"tag":70,"props":11926,"children":11927},{"style":987},[11928],{"type":22,"value":7548},{"type":17,"tag":70,"props":11930,"children":11931},{"style":3810},[11932],{"type":22,"value":4877},{"type":17,"tag":70,"props":11934,"children":11935},{"style":987},[11936],{"type":22,"value":3710},{"type":17,"tag":70,"props":11938,"children":11939},{"style":1043},[11940],{"type":22,"value":1009},{"type":17,"tag":70,"props":11942,"children":11943},{"style":4888},[11944],{"type":22,"value":4765},{"type":17,"tag":70,"props":11946,"children":11947},{"style":1043},[11948],{"type":22,"value":1009},{"type":17,"tag":70,"props":11950,"children":11951},{"style":987},[11952],{"type":22,"value":2139},{"type":17,"tag":70,"props":11954,"children":11955},{"style":1043},[11956],{"type":22,"value":4903},{"type":17,"tag":70,"props":11958,"children":11959},{"style":987},[11960],{"type":22,"value":7849},{"type":17,"tag":70,"props":11962,"children":11963},{"style":3810},[11964],{"type":22,"value":7854},{"type":17,"tag":70,"props":11966,"children":11967},{"style":987},[11968],{"type":22,"value":3710},{"type":17,"tag":70,"props":11970,"children":11971},{"style":1043},[11972],{"type":22,"value":1009},{"type":17,"tag":70,"props":11974,"children":11975},{"style":1049},[11976],{"type":22,"value":2139},{"type":17,"tag":70,"props":11978,"children":11979},{"style":1043},[11980],{"type":22,"value":1009},{"type":17,"tag":70,"props":11982,"children":11983},{"style":987},[11984],{"type":22,"value":3727},{"type":17,"tag":70,"props":11986,"children":11987},{"class":124,"line":1280},[11988,11992,11996,12000,12004,12008],{"type":17,"tag":70,"props":11989,"children":11990},{"style":675},[11991],{"type":22,"value":7882},{"type":17,"tag":70,"props":11993,"children":11994},{"style":987},[11995],{"type":22,"value":43},{"type":17,"tag":70,"props":11997,"children":11998},{"style":3810},[11999],{"type":22,"value":7891},{"type":17,"tag":70,"props":12001,"children":12002},{"style":987},[12003],{"type":22,"value":3710},{"type":17,"tag":70,"props":12005,"children":12006},{"style":3908},[12007],{"type":22,"value":7900},{"type":17,"tag":70,"props":12009,"children":12010},{"style":987},[12011],{"type":22,"value":3727},{"type":17,"tag":70,"props":12013,"children":12014},{"class":124,"line":1318},[12015],{"type":17,"tag":70,"props":12016,"children":12017},{"emptyLinePlaceholder":4063},[12018],{"type":22,"value":4066},{"type":17,"tag":70,"props":12020,"children":12021},{"class":124,"line":1356},[12022],{"type":17,"tag":70,"props":12023,"children":12024},{"style":693},[12025],{"type":22,"value":12026},"# Formatting lines for writing to the file\n",{"type":17,"tag":70,"props":12028,"children":12029},{"class":124,"line":1391},[12030,12034,12038],{"type":17,"tag":70,"props":12031,"children":12032},{"style":675},[12033],{"type":22,"value":8395},{"type":17,"tag":70,"props":12035,"children":12036},{"style":2441},[12037],{"type":22,"value":2478},{"type":17,"tag":70,"props":12039,"children":12040},{"style":987},[12041],{"type":22,"value":8208},{"type":17,"tag":70,"props":12043,"children":12044},{"class":124,"line":1400},[12045,12049,12053,12057,12061,12065,12069,12073,12077,12081,12085,12089,12093,12097,12101,12105,12109,12113,12117,12121,12125,12129,12133,12137,12141,12145,12149],{"type":17,"tag":70,"props":12046,"children":12047},{"style":675},[12048],{"type":22,"value":8411},{"type":17,"tag":70,"props":12050,"children":12051},{"style":2441},[12052],{"type":22,"value":2478},{"type":17,"tag":70,"props":12054,"children":12055},{"style":987},[12056],{"type":22,"value":2121},{"type":17,"tag":70,"props":12058,"children":12059},{"style":1043},[12060],{"type":22,"value":1009},{"type":17,"tag":70,"props":12062,"children":12063},{"style":1049},[12064],{"type":22,"value":8428},{"type":17,"tag":70,"props":12066,"children":12067},{"style":1043},[12068],{"type":22,"value":1009},{"type":17,"tag":70,"props":12070,"children":12071},{"style":987},[12072],{"type":22,"value":2139},{"type":17,"tag":70,"props":12074,"children":12075},{"style":1043},[12076],{"type":22,"value":1046},{"type":17,"tag":70,"props":12078,"children":12079},{"style":1049},[12080],{"type":22,"value":8445},{"type":17,"tag":70,"props":12082,"children":12083},{"style":1043},[12084],{"type":22,"value":1009},{"type":17,"tag":70,"props":12086,"children":12087},{"style":987},[12088],{"type":22,"value":2139},{"type":17,"tag":70,"props":12090,"children":12091},{"style":1043},[12092],{"type":22,"value":1046},{"type":17,"tag":70,"props":12094,"children":12095},{"style":1049},[12096],{"type":22,"value":8462},{"type":17,"tag":70,"props":12098,"children":12099},{"style":1043},[12100],{"type":22,"value":1009},{"type":17,"tag":70,"props":12102,"children":12103},{"style":987},[12104],{"type":22,"value":2139},{"type":17,"tag":70,"props":12106,"children":12107},{"style":1043},[12108],{"type":22,"value":1046},{"type":17,"tag":70,"props":12110,"children":12111},{"style":1049},[12112],{"type":22,"value":8479},{"type":17,"tag":70,"props":12114,"children":12115},{"style":1043},[12116],{"type":22,"value":1009},{"type":17,"tag":70,"props":12118,"children":12119},{"style":987},[12120],{"type":22,"value":2139},{"type":17,"tag":70,"props":12122,"children":12123},{"style":1043},[12124],{"type":22,"value":1046},{"type":17,"tag":70,"props":12126,"children":12127},{"style":1049},[12128],{"type":22,"value":8496},{"type":17,"tag":70,"props":12130,"children":12131},{"style":1043},[12132],{"type":22,"value":1009},{"type":17,"tag":70,"props":12134,"children":12135},{"style":987},[12136],{"type":22,"value":2139},{"type":17,"tag":70,"props":12138,"children":12139},{"style":1043},[12140],{"type":22,"value":1046},{"type":17,"tag":70,"props":12142,"children":12143},{"style":1049},[12144],{"type":22,"value":8513},{"type":17,"tag":70,"props":12146,"children":12147},{"style":1043},[12148],{"type":22,"value":1009},{"type":17,"tag":70,"props":12150,"children":12151},{"style":987},[12152],{"type":22,"value":2174},{"type":17,"tag":70,"props":12154,"children":12155},{"class":124,"line":1425},[12156,12160,12164,12168,12172,12176,12180,12184],{"type":17,"tag":70,"props":12157,"children":12158},{"style":675},[12159],{"type":22,"value":7733},{"type":17,"tag":70,"props":12161,"children":12162},{"style":987},[12163],{"type":22,"value":43},{"type":17,"tag":70,"props":12165,"children":12166},{"style":3810},[12167],{"type":22,"value":8537},{"type":17,"tag":70,"props":12169,"children":12170},{"style":987},[12171],{"type":22,"value":3710},{"type":17,"tag":70,"props":12173,"children":12174},{"style":1657},[12175],{"type":22,"value":8546},{"type":17,"tag":70,"props":12177,"children":12178},{"style":987},[12179],{"type":22,"value":2139},{"type":17,"tag":70,"props":12181,"children":12182},{"style":3908},[12183],{"type":22,"value":8555},{"type":17,"tag":70,"props":12185,"children":12186},{"style":987},[12187],{"type":22,"value":3727},{"type":17,"tag":70,"props":12189,"children":12190},{"class":124,"line":1463},[12191,12195,12199,12203,12207,12211,12215,12219,12223],{"type":17,"tag":70,"props":12192,"children":12193},{"style":5751},[12194],{"type":22,"value":5754},{"type":17,"tag":70,"props":12196,"children":12197},{"style":675},[12198],{"type":22,"value":8946},{"type":17,"tag":70,"props":12200,"children":12201},{"style":987},[12202],{"type":22,"value":2139},{"type":17,"tag":70,"props":12204,"children":12205},{"style":675},[12206],{"type":22,"value":5759},{"type":17,"tag":70,"props":12208,"children":12209},{"style":5751},[12210],{"type":22,"value":5764},{"type":17,"tag":70,"props":12212,"children":12213},{"style":3656},[12214],{"type":22,"value":8963},{"type":17,"tag":70,"props":12216,"children":12217},{"style":987},[12218],{"type":22,"value":3710},{"type":17,"tag":70,"props":12220,"children":12221},{"style":3908},[12222],{"type":22,"value":7733},{"type":17,"tag":70,"props":12224,"children":12225},{"style":987},[12226],{"type":22,"value":8976},{"type":17,"tag":70,"props":12228,"children":12230},{"class":12229,"line":1488},[124,6029],[12231,12235,12239,12243,12247,12251,12255,12259,12263,12267,12271,12275,12279,12283,12287,12291,12295,12299,12303,12307,12311,12315,12319,12323,12327,12331,12335,12339,12343,12347,12351,12355,12359,12363,12367,12371,12375,12379,12383,12387,12391,12395,12399,12403,12407,12411,12415,12419,12423,12427,12431,12435,12440,12444],{"type":17,"tag":70,"props":12232,"children":12233},{"style":675},[12234],{"type":22,"value":8591},{"type":17,"tag":70,"props":12236,"children":12237},{"style":2441},[12238],{"type":22,"value":2478},{"type":17,"tag":70,"props":12240,"children":12241},{"style":8598},[12242],{"type":22,"value":3880},{"type":17,"tag":70,"props":12244,"children":12245},{"style":1049},[12246],{"type":22,"value":8605},{"type":17,"tag":70,"props":12248,"children":12249},{"style":8608},[12250],{"type":22,"value":8611},{"type":17,"tag":70,"props":12252,"children":12253},{"style":7507},[12254],{"type":22,"value":124},{"type":17,"tag":70,"props":12256,"children":12257},{"style":987},[12258],{"type":22,"value":7515},{"type":17,"tag":70,"props":12260,"children":12261},{"style":8622},[12262],{"type":22,"value":8546},{"type":17,"tag":70,"props":12264,"children":12265},{"style":987},[12266],{"type":22,"value":7525},{"type":17,"tag":70,"props":12268,"children":12269},{"style":8631},[12270],{"type":22,"value":8634},{"type":17,"tag":70,"props":12272,"children":12273},{"style":8608},[12274],{"type":22,"value":8639},{"type":17,"tag":70,"props":12276,"children":12277},{"style":1049},[12278],{"type":22,"value":8644},{"type":17,"tag":70,"props":12280,"children":12281},{"style":8608},[12282],{"type":22,"value":8611},{"type":17,"tag":70,"props":12284,"children":12285},{"style":7507},[12286],{"type":22,"value":124},{"type":17,"tag":70,"props":12288,"children":12289},{"style":987},[12290],{"type":22,"value":7515},{"type":17,"tag":70,"props":12292,"children":12293},{"style":8622},[12294],{"type":22,"value":8661},{"type":17,"tag":70,"props":12296,"children":12297},{"style":987},[12298],{"type":22,"value":7525},{"type":17,"tag":70,"props":12300,"children":12301},{"style":8631},[12302],{"type":22,"value":8634},{"type":17,"tag":70,"props":12304,"children":12305},{"style":8608},[12306],{"type":22,"value":8639},{"type":17,"tag":70,"props":12308,"children":12309},{"style":1049},[12310],{"type":22,"value":8644},{"type":17,"tag":70,"props":12312,"children":12313},{"style":8608},[12314],{"type":22,"value":8611},{"type":17,"tag":70,"props":12316,"children":12317},{"style":7507},[12318],{"type":22,"value":124},{"type":17,"tag":70,"props":12320,"children":12321},{"style":987},[12322],{"type":22,"value":7515},{"type":17,"tag":70,"props":12324,"children":12325},{"style":8622},[12326],{"type":22,"value":8694},{"type":17,"tag":70,"props":12328,"children":12329},{"style":987},[12330],{"type":22,"value":7525},{"type":17,"tag":70,"props":12332,"children":12333},{"style":8631},[12334],{"type":22,"value":8703},{"type":17,"tag":70,"props":12336,"children":12337},{"style":8608},[12338],{"type":22,"value":8639},{"type":17,"tag":70,"props":12340,"children":12341},{"style":1049},[12342],{"type":22,"value":8644},{"type":17,"tag":70,"props":12344,"children":12345},{"style":8608},[12346],{"type":22,"value":8611},{"type":17,"tag":70,"props":12348,"children":12349},{"style":7507},[12350],{"type":22,"value":124},{"type":17,"tag":70,"props":12352,"children":12353},{"style":987},[12354],{"type":22,"value":7515},{"type":17,"tag":70,"props":12356,"children":12357},{"style":8622},[12358],{"type":22,"value":8728},{"type":17,"tag":70,"props":12360,"children":12361},{"style":987},[12362],{"type":22,"value":7525},{"type":17,"tag":70,"props":12364,"children":12365},{"style":8631},[12366],{"type":22,"value":8737},{"type":17,"tag":70,"props":12368,"children":12369},{"style":8608},[12370],{"type":22,"value":8639},{"type":17,"tag":70,"props":12372,"children":12373},{"style":1049},[12374],{"type":22,"value":8644},{"type":17,"tag":70,"props":12376,"children":12377},{"style":8608},[12378],{"type":22,"value":8611},{"type":17,"tag":70,"props":12380,"children":12381},{"style":7507},[12382],{"type":22,"value":124},{"type":17,"tag":70,"props":12384,"children":12385},{"style":987},[12386],{"type":22,"value":7515},{"type":17,"tag":70,"props":12388,"children":12389},{"style":8622},[12390],{"type":22,"value":8762},{"type":17,"tag":70,"props":12392,"children":12393},{"style":987},[12394],{"type":22,"value":7525},{"type":17,"tag":70,"props":12396,"children":12397},{"style":8631},[12398],{"type":22,"value":8771},{"type":17,"tag":70,"props":12400,"children":12401},{"style":8608},[12402],{"type":22,"value":8639},{"type":17,"tag":70,"props":12404,"children":12405},{"style":1049},[12406],{"type":22,"value":8644},{"type":17,"tag":70,"props":12408,"children":12409},{"style":8608},[12410],{"type":22,"value":8611},{"type":17,"tag":70,"props":12412,"children":12413},{"style":7507},[12414],{"type":22,"value":124},{"type":17,"tag":70,"props":12416,"children":12417},{"style":987},[12418],{"type":22,"value":7515},{"type":17,"tag":70,"props":12420,"children":12421},{"style":8622},[12422],{"type":22,"value":8796},{"type":17,"tag":70,"props":12424,"children":12425},{"style":987},[12426],{"type":22,"value":7525},{"type":17,"tag":70,"props":12428,"children":12429},{"style":8631},[12430],{"type":22,"value":8805},{"type":17,"tag":70,"props":12432,"children":12433},{"style":8608},[12434],{"type":22,"value":8639},{"type":17,"tag":70,"props":12436,"children":12437},{"style":1049},[12438],{"type":22,"value":12439}," |",{"type":17,"tag":70,"props":12441,"children":12442},{"style":4888},[12443],{"type":22,"value":4765},{"type":17,"tag":70,"props":12445,"children":12446},{"style":1049},[12447],{"type":22,"value":1388},{"type":17,"tag":70,"props":12449,"children":12450},{"class":124,"line":1520},[12451,12455,12459,12463,12467,12471],{"type":17,"tag":70,"props":12452,"children":12453},{"style":675},[12454],{"type":22,"value":8822},{"type":17,"tag":70,"props":12456,"children":12457},{"style":987},[12458],{"type":22,"value":43},{"type":17,"tag":70,"props":12460,"children":12461},{"style":3810},[12462],{"type":22,"value":7891},{"type":17,"tag":70,"props":12464,"children":12465},{"style":987},[12466],{"type":22,"value":3710},{"type":17,"tag":70,"props":12468,"children":12469},{"style":3908},[12470],{"type":22,"value":8839},{"type":17,"tag":70,"props":12472,"children":12473},{"style":987},[12474],{"type":22,"value":3727},{"type":17,"tag":70,"props":12476,"children":12477},{"class":124,"line":1546},[12478],{"type":17,"tag":70,"props":12479,"children":12480},{"emptyLinePlaceholder":4063},[12481],{"type":22,"value":4066},{"type":17,"tag":70,"props":12483,"children":12485},{"class":12484,"line":1555},[124,6029],[12486,12490,12494,12498,12502,12506,12510,12514,12518,12522,12526,12530],{"type":17,"tag":70,"props":12487,"children":12488},{"style":675},[12489],{"type":22,"value":11095},{"type":17,"tag":70,"props":12491,"children":12492},{"style":2441},[12493],{"type":22,"value":2478},{"type":17,"tag":70,"props":12495,"children":12496},{"style":1043},[12497],{"type":22,"value":1046},{"type":17,"tag":70,"props":12499,"children":12500},{"style":1049},[12501],{"type":22,"value":8088},{"type":17,"tag":70,"props":12503,"children":12504},{"style":1043},[12505],{"type":22,"value":1009},{"type":17,"tag":70,"props":12507,"children":12508},{"style":2441},[12509],{"type":22,"value":11116},{"type":17,"tag":70,"props":12511,"children":12512},{"style":3656},[12513],{"type":22,"value":9632},{"type":17,"tag":70,"props":12515,"children":12516},{"style":987},[12517],{"type":22,"value":3710},{"type":17,"tag":70,"props":12519,"children":12520},{"style":8898},[12521],{"type":22,"value":8901},{"type":17,"tag":70,"props":12523,"children":12524},{"style":987},[12525],{"type":22,"value":7515},{"type":17,"tag":70,"props":12527,"children":12528},{"style":8622},[12529],{"type":22,"value":8546},{"type":17,"tag":70,"props":12531,"children":12532},{"style":987},[12533],{"type":22,"value":8914},{"type":17,"tag":70,"props":12535,"children":12537},{"class":12536,"line":1563},[124,6029],[12538,12542,12546,12550,12554,12558,12562],{"type":17,"tag":70,"props":12539,"children":12540},{"style":675},[12541],{"type":22,"value":8901},{"type":17,"tag":70,"props":12543,"children":12544},{"style":987},[12545],{"type":22,"value":43},{"type":17,"tag":70,"props":12547,"children":12548},{"style":3810},[12549],{"type":22,"value":7891},{"type":17,"tag":70,"props":12551,"children":12552},{"style":987},[12553],{"type":22,"value":3710},{"type":17,"tag":70,"props":12555,"children":12556},{"style":3908},[12557],{"type":22,"value":11184},{"type":17,"tag":70,"props":12559,"children":12560},{"style":987},[12561],{"type":22,"value":5088},{"type":17,"tag":70,"props":12563,"children":12564},{"style":693},[12565],{"type":22,"value":12566},"  # Adding separator at the bottom of the table\n",{"type":17,"tag":70,"props":12568,"children":12570},{"class":12569,"line":1589},[124,6029],[12571,12575,12579,12583,12587,12591,12595,12600,12604,12608,12612,12616,12620],{"type":17,"tag":70,"props":12572,"children":12573},{"style":675},[12574],{"type":22,"value":8901},{"type":17,"tag":70,"props":12576,"children":12577},{"style":987},[12578],{"type":22,"value":43},{"type":17,"tag":70,"props":12580,"children":12581},{"style":3810},[12582],{"type":22,"value":8537},{"type":17,"tag":70,"props":12584,"children":12585},{"style":987},[12586],{"type":22,"value":3710},{"type":17,"tag":70,"props":12588,"children":12589},{"style":1657},[12590],{"type":22,"value":8661},{"type":17,"tag":70,"props":12592,"children":12593},{"style":987},[12594],{"type":22,"value":2139},{"type":17,"tag":70,"props":12596,"children":12597},{"style":3908},[12598],{"type":22,"value":12599}," separator_line ",{"type":17,"tag":70,"props":12601,"children":12602},{"style":2441},[12603],{"type":22,"value":10143},{"type":17,"tag":70,"props":12605,"children":12606},{"style":1043},[12607],{"type":22,"value":11261},{"type":17,"tag":70,"props":12609,"children":12610},{"style":4888},[12611],{"type":22,"value":4765},{"type":17,"tag":70,"props":12613,"children":12614},{"style":1043},[12615],{"type":22,"value":11270},{"type":17,"tag":70,"props":12617,"children":12618},{"style":987},[12619],{"type":22,"value":5088},{"type":17,"tag":70,"props":12621,"children":12622},{"style":693},[12623],{"type":22,"value":12624},"  # Adding separator after the header row\n",{"type":17,"tag":70,"props":12626,"children":12628},{"class":12627,"line":1598},[124,6029],[12629,12633,12637,12641,12645,12649,12653,12657,12661,12665,12669,12673,12677],{"type":17,"tag":70,"props":12630,"children":12631},{"style":675},[12632],{"type":22,"value":8901},{"type":17,"tag":70,"props":12634,"children":12635},{"style":987},[12636],{"type":22,"value":43},{"type":17,"tag":70,"props":12638,"children":12639},{"style":3810},[12640],{"type":22,"value":8537},{"type":17,"tag":70,"props":12642,"children":12643},{"style":987},[12644],{"type":22,"value":3710},{"type":17,"tag":70,"props":12646,"children":12647},{"style":1657},[12648],{"type":22,"value":8546},{"type":17,"tag":70,"props":12650,"children":12651},{"style":987},[12652],{"type":22,"value":2139},{"type":17,"tag":70,"props":12654,"children":12655},{"style":3908},[12656],{"type":22,"value":12599},{"type":17,"tag":70,"props":12658,"children":12659},{"style":2441},[12660],{"type":22,"value":10143},{"type":17,"tag":70,"props":12662,"children":12663},{"style":1043},[12664],{"type":22,"value":11261},{"type":17,"tag":70,"props":12666,"children":12667},{"style":4888},[12668],{"type":22,"value":4765},{"type":17,"tag":70,"props":12670,"children":12671},{"style":1043},[12672],{"type":22,"value":11270},{"type":17,"tag":70,"props":12674,"children":12675},{"style":987},[12676],{"type":22,"value":5088},{"type":17,"tag":70,"props":12678,"children":12679},{"style":693},[12680],{"type":22,"value":12681},"  # Adding separator before the header row\n",{"type":17,"tag":70,"props":12683,"children":12684},{"class":124,"line":1636},[12685],{"type":17,"tag":70,"props":12686,"children":12687},{"emptyLinePlaceholder":4063},[12688],{"type":22,"value":4066},{"type":17,"tag":70,"props":12690,"children":12692},{"class":12691,"line":1667},[124,6029],[12693],{"type":17,"tag":70,"props":12694,"children":12695},{"style":693},[12696],{"type":22,"value":11019},{"type":17,"tag":70,"props":12698,"children":12700},{"class":12699,"line":1705},[124,6029],[12701,12705,12709,12713,12717,12721,12725,12729,12733,12737,12741,12745,12749,12754],{"type":17,"tag":70,"props":12702,"children":12703},{"style":5751},[12704],{"type":22,"value":6319},{"type":17,"tag":70,"props":12706,"children":12707},{"style":3656},[12708],{"type":22,"value":3705},{"type":17,"tag":70,"props":12710,"children":12711},{"style":987},[12712],{"type":22,"value":3710},{"type":17,"tag":70,"props":12714,"children":12715},{"style":1043},[12716],{"type":22,"value":1009},{"type":17,"tag":70,"props":12718,"children":12719},{"style":1049},[12720],{"type":22,"value":11049},{"type":17,"tag":70,"props":12722,"children":12723},{"style":1043},[12724],{"type":22,"value":1009},{"type":17,"tag":70,"props":12726,"children":12727},{"style":987},[12728],{"type":22,"value":2139},{"type":17,"tag":70,"props":12730,"children":12731},{"style":1043},[12732],{"type":22,"value":1046},{"type":17,"tag":70,"props":12734,"children":12735},{"style":1049},[12736],{"type":22,"value":9947},{"type":17,"tag":70,"props":12738,"children":12739},{"style":1043},[12740],{"type":22,"value":1009},{"type":17,"tag":70,"props":12742,"children":12743},{"style":987},[12744],{"type":22,"value":5088},{"type":17,"tag":70,"props":12746,"children":12747},{"style":5751},[12748],{"type":22,"value":6523},{"type":17,"tag":70,"props":12750,"children":12751},{"style":675},[12752],{"type":22,"value":12753}," f_results",{"type":17,"tag":70,"props":12755,"children":12756},{"style":987},[12757],{"type":22,"value":5773},{"type":17,"tag":70,"props":12759,"children":12761},{"class":12760,"line":1739},[124,6029],[12762,12766,12770,12775,12779,12783],{"type":17,"tag":70,"props":12763,"children":12764},{"style":675},[12765],{"type":22,"value":11236},{"type":17,"tag":70,"props":12767,"children":12768},{"style":987},[12769],{"type":22,"value":43},{"type":17,"tag":70,"props":12771,"children":12772},{"style":3810},[12773],{"type":22,"value":12774},"writelines",{"type":17,"tag":70,"props":12776,"children":12777},{"style":987},[12778],{"type":22,"value":3710},{"type":17,"tag":70,"props":12780,"children":12781},{"style":3908},[12782],{"type":22,"value":8901},{"type":17,"tag":70,"props":12784,"children":12785},{"style":987},[12786],{"type":22,"value":3727},{"type":17,"tag":18,"props":12788,"children":12789},{},[12790],{"type":22,"value":12791},"Visą išvesties formavimą perkelėme prieš failo įrašymą, o paskui jį tik įrašėme į failą:",{"type":17,"tag":6235,"props":12793,"children":12794},{},[12795,12815,12820,12834],{"type":17,"tag":170,"props":12796,"children":12797},{"index":6240},[12798,12800,12813],{"type":22,"value":12799},"Prie suformuotos eilutės pridėjome naujos eilutės simbolį ",{"type":17,"tag":64,"props":12801,"children":12802},{"className":3632,"language":3633,"style":67},[12803,12808],{"type":17,"tag":70,"props":12804,"children":12805},{"style":987},[12806],{"type":22,"value":12807},"\\",{"type":17,"tag":70,"props":12809,"children":12810},{"style":675},[12811],{"type":22,"value":12812},"n",{"type":22,"value":12814}," (17 eil.);",{"type":17,"tag":170,"props":12816,"children":12817},{"index":125},[12818],{"type":22,"value":12819},"Skyriklių (brūkšnelių) eilutes įterpėme atskirai į išviesties eilučių sąrašą (20-23 eil.);",{"type":17,"tag":170,"props":12821,"children":12822},{"index":699},[12823,12825,12832],{"type":22,"value":12824},"Failo atidarymą pakeitemė (dėl pavyzdžio) naudojant ",{"type":17,"tag":64,"props":12826,"children":12827},{"className":3632,"language":3633,"style":67},[12828],{"type":17,"tag":70,"props":12829,"children":12830},{"style":5751},[12831],{"type":22,"value":6319},{"type":22,"value":12833}," raktažodį (26 eil.);",{"type":17,"tag":170,"props":12835,"children":12836},{"index":723},[12837],{"type":22,"value":12838},"Išvesčiai į failą pateikėme visą sąrašą eilučių, kurias norime įrašyti į failą (27 eil.)",{"type":17,"tag":45,"props":12840,"children":12842},{"id":12841},"duomenų-pridėjimas-prie-failo",[12843],{"type":22,"value":12844},"Duomenų pridėjimas prie failo",{"type":17,"tag":18,"props":12846,"children":12847},{},[12848,12850,12865,12867,12872],{"type":22,"value":12849},"Kai naudojame ",{"type":17,"tag":64,"props":12851,"children":12852},{"className":3632,"language":3633,"style":67},[12853,12857,12861],{"type":17,"tag":70,"props":12854,"children":12855},{"style":4199},[12856],{"type":22,"value":1009},{"type":17,"tag":70,"props":12858,"children":12859},{"style":9845},[12860],{"type":22,"value":9947},{"type":17,"tag":70,"props":12862,"children":12863},{"style":4199},[12864],{"type":22,"value":1009},{"type":22,"value":12866}," argumentą, įrašymas visada prasideda nuo tuščio failo. Kartais reikia išlaikyti senąją informaciją, prie jos pridedant naująją. Dažnai to reikia, kai pildome išviestis žurnalą (",{"type":17,"tag":37,"props":12868,"children":12869},{},[12870],{"type":22,"value":12871},"angl. log",{"type":22,"value":12873},"). Tokie žurnalai leidžia pamatyti, kokie veiksmai buvo atlikti, kaip vyksta skaičiavimai ar atliekami veiksmai programoje. Turinys priklauso nuo pačio programuotojo.",{"type":17,"tag":18,"props":12875,"children":12876},{},[12877],{"type":22,"value":12878},"Sukurkime paprastą programą, kuri, įvedant į terminalą, kelią skaičių laipsniu, kuris taip pat įvedamas į terminalą. Šioje programoje taip pat bus įvesties apsauga.",{"type":17,"tag":115,"props":12880,"children":12882},{"className":3632,"code":12881,"language":3633,"meta":67,"style":67},"print(\"-\" * 50)\nprint(\"Program has started\")\nprint(\"This program calculates the number c = a^b\")\nprint(\"-\" * 50)\n\na = None\nwhile a is None:\n    try:\n        a_input=input(\"Enter number a: \")\n        a=int(a_input)\n    except:\n        print(\"You entered a non-numeric value. Please try again.\")\n\nb = None \nwhile b is None:\n    try:\n        b_input=input(\"Enter number b: \")\n        b=int(b_input)\n    except:\n        print(\"You entered a non-numeric value. Please try again.\")\n\nc=a**b\n\nprint(\"-\"*50)\nprint(f\"Your result c = {c}\")\n",[12883],{"type":17,"tag":64,"props":12884,"children":12885},{"__ignoreMap":67},[12886,12922,12950,12978,13013,13020,13037,13064,13076,13114,13144,13156,13184,13191,13211,13235,13246,13283,13312,13323,13350,13357,13382,13389,13425],{"type":17,"tag":70,"props":12887,"children":12888},{"class":124,"line":125},[12889,12893,12897,12901,12905,12909,12913,12918],{"type":17,"tag":70,"props":12890,"children":12891},{"style":3656},[12892],{"type":22,"value":3901},{"type":17,"tag":70,"props":12894,"children":12895},{"style":987},[12896],{"type":22,"value":3710},{"type":17,"tag":70,"props":12898,"children":12899},{"style":1043},[12900],{"type":22,"value":1009},{"type":17,"tag":70,"props":12902,"children":12903},{"style":1049},[12904],{"type":22,"value":8088},{"type":17,"tag":70,"props":12906,"children":12907},{"style":1043},[12908],{"type":22,"value":1009},{"type":17,"tag":70,"props":12910,"children":12911},{"style":2441},[12912],{"type":22,"value":11116},{"type":17,"tag":70,"props":12914,"children":12915},{"style":1657},[12916],{"type":22,"value":12917}," 50",{"type":17,"tag":70,"props":12919,"children":12920},{"style":987},[12921],{"type":22,"value":3727},{"type":17,"tag":70,"props":12923,"children":12924},{"class":124,"line":699},[12925,12929,12933,12937,12942,12946],{"type":17,"tag":70,"props":12926,"children":12927},{"style":3656},[12928],{"type":22,"value":3901},{"type":17,"tag":70,"props":12930,"children":12931},{"style":987},[12932],{"type":22,"value":3710},{"type":17,"tag":70,"props":12934,"children":12935},{"style":1043},[12936],{"type":22,"value":1009},{"type":17,"tag":70,"props":12938,"children":12939},{"style":1049},[12940],{"type":22,"value":12941},"Program has started",{"type":17,"tag":70,"props":12943,"children":12944},{"style":1043},[12945],{"type":22,"value":1009},{"type":17,"tag":70,"props":12947,"children":12948},{"style":987},[12949],{"type":22,"value":3727},{"type":17,"tag":70,"props":12951,"children":12952},{"class":124,"line":723},[12953,12957,12961,12965,12970,12974],{"type":17,"tag":70,"props":12954,"children":12955},{"style":3656},[12956],{"type":22,"value":3901},{"type":17,"tag":70,"props":12958,"children":12959},{"style":987},[12960],{"type":22,"value":3710},{"type":17,"tag":70,"props":12962,"children":12963},{"style":1043},[12964],{"type":22,"value":1009},{"type":17,"tag":70,"props":12966,"children":12967},{"style":1049},[12968],{"type":22,"value":12969},"This program calculates the number c = a^b",{"type":17,"tag":70,"props":12971,"children":12972},{"style":1043},[12973],{"type":22,"value":1009},{"type":17,"tag":70,"props":12975,"children":12976},{"style":987},[12977],{"type":22,"value":3727},{"type":17,"tag":70,"props":12979,"children":12980},{"class":124,"line":747},[12981,12985,12989,12993,12997,13001,13005,13009],{"type":17,"tag":70,"props":12982,"children":12983},{"style":3656},[12984],{"type":22,"value":3901},{"type":17,"tag":70,"props":12986,"children":12987},{"style":987},[12988],{"type":22,"value":3710},{"type":17,"tag":70,"props":12990,"children":12991},{"style":1043},[12992],{"type":22,"value":1009},{"type":17,"tag":70,"props":12994,"children":12995},{"style":1049},[12996],{"type":22,"value":8088},{"type":17,"tag":70,"props":12998,"children":12999},{"style":1043},[13000],{"type":22,"value":1009},{"type":17,"tag":70,"props":13002,"children":13003},{"style":2441},[13004],{"type":22,"value":11116},{"type":17,"tag":70,"props":13006,"children":13007},{"style":1657},[13008],{"type":22,"value":12917},{"type":17,"tag":70,"props":13010,"children":13011},{"style":987},[13012],{"type":22,"value":3727},{"type":17,"tag":70,"props":13014,"children":13015},{"class":124,"line":1101},[13016],{"type":17,"tag":70,"props":13017,"children":13018},{"emptyLinePlaceholder":4063},[13019],{"type":22,"value":4066},{"type":17,"tag":70,"props":13021,"children":13022},{"class":124,"line":1139},[13023,13028,13032],{"type":17,"tag":70,"props":13024,"children":13025},{"style":675},[13026],{"type":22,"value":13027},"a ",{"type":17,"tag":70,"props":13029,"children":13030},{"style":2441},[13031],{"type":22,"value":2478},{"type":17,"tag":70,"props":13033,"children":13034},{"style":681},[13035],{"type":22,"value":13036}," None\n",{"type":17,"tag":70,"props":13038,"children":13039},{"class":124,"line":1177},[13040,13045,13050,13055,13060],{"type":17,"tag":70,"props":13041,"children":13042},{"style":5751},[13043],{"type":22,"value":13044},"while",{"type":17,"tag":70,"props":13046,"children":13047},{"style":675},[13048],{"type":22,"value":13049}," a ",{"type":17,"tag":70,"props":13051,"children":13052},{"style":681},[13053],{"type":22,"value":13054},"is",{"type":17,"tag":70,"props":13056,"children":13057},{"style":681},[13058],{"type":22,"value":13059}," None",{"type":17,"tag":70,"props":13061,"children":13062},{"style":987},[13063],{"type":22,"value":5773},{"type":17,"tag":70,"props":13065,"children":13066},{"class":124,"line":1215},[13067,13072],{"type":17,"tag":70,"props":13068,"children":13069},{"style":5751},[13070],{"type":22,"value":13071},"    try",{"type":17,"tag":70,"props":13073,"children":13074},{"style":987},[13075],{"type":22,"value":5773},{"type":17,"tag":70,"props":13077,"children":13078},{"class":124,"line":1240},[13079,13084,13088,13093,13097,13101,13106,13110],{"type":17,"tag":70,"props":13080,"children":13081},{"style":675},[13082],{"type":22,"value":13083},"        a_input",{"type":17,"tag":70,"props":13085,"children":13086},{"style":2441},[13087],{"type":22,"value":2478},{"type":17,"tag":70,"props":13089,"children":13090},{"style":3656},[13091],{"type":22,"value":13092},"input",{"type":17,"tag":70,"props":13094,"children":13095},{"style":987},[13096],{"type":22,"value":3710},{"type":17,"tag":70,"props":13098,"children":13099},{"style":1043},[13100],{"type":22,"value":1009},{"type":17,"tag":70,"props":13102,"children":13103},{"style":1049},[13104],{"type":22,"value":13105},"Enter number a: ",{"type":17,"tag":70,"props":13107,"children":13108},{"style":1043},[13109],{"type":22,"value":1009},{"type":17,"tag":70,"props":13111,"children":13112},{"style":987},[13113],{"type":22,"value":3727},{"type":17,"tag":70,"props":13115,"children":13116},{"class":124,"line":1280},[13117,13122,13126,13131,13135,13140],{"type":17,"tag":70,"props":13118,"children":13119},{"style":675},[13120],{"type":22,"value":13121},"        a",{"type":17,"tag":70,"props":13123,"children":13124},{"style":2441},[13125],{"type":22,"value":2478},{"type":17,"tag":70,"props":13127,"children":13128},{"style":9564},[13129],{"type":22,"value":13130},"int",{"type":17,"tag":70,"props":13132,"children":13133},{"style":987},[13134],{"type":22,"value":3710},{"type":17,"tag":70,"props":13136,"children":13137},{"style":3908},[13138],{"type":22,"value":13139},"a_input",{"type":17,"tag":70,"props":13141,"children":13142},{"style":987},[13143],{"type":22,"value":3727},{"type":17,"tag":70,"props":13145,"children":13146},{"class":124,"line":1318},[13147,13152],{"type":17,"tag":70,"props":13148,"children":13149},{"style":5751},[13150],{"type":22,"value":13151},"    except",{"type":17,"tag":70,"props":13153,"children":13154},{"style":987},[13155],{"type":22,"value":5773},{"type":17,"tag":70,"props":13157,"children":13158},{"class":124,"line":1356},[13159,13163,13167,13171,13176,13180],{"type":17,"tag":70,"props":13160,"children":13161},{"style":3656},[13162],{"type":22,"value":9034},{"type":17,"tag":70,"props":13164,"children":13165},{"style":987},[13166],{"type":22,"value":3710},{"type":17,"tag":70,"props":13168,"children":13169},{"style":1043},[13170],{"type":22,"value":1009},{"type":17,"tag":70,"props":13172,"children":13173},{"style":1049},[13174],{"type":22,"value":13175},"You entered a non-numeric value. Please try again.",{"type":17,"tag":70,"props":13177,"children":13178},{"style":1043},[13179],{"type":22,"value":1009},{"type":17,"tag":70,"props":13181,"children":13182},{"style":987},[13183],{"type":22,"value":3727},{"type":17,"tag":70,"props":13185,"children":13186},{"class":124,"line":1391},[13187],{"type":17,"tag":70,"props":13188,"children":13189},{"emptyLinePlaceholder":4063},[13190],{"type":22,"value":4066},{"type":17,"tag":70,"props":13192,"children":13193},{"class":124,"line":1400},[13194,13199,13203,13207],{"type":17,"tag":70,"props":13195,"children":13196},{"style":675},[13197],{"type":22,"value":13198},"b ",{"type":17,"tag":70,"props":13200,"children":13201},{"style":2441},[13202],{"type":22,"value":2478},{"type":17,"tag":70,"props":13204,"children":13205},{"style":681},[13206],{"type":22,"value":13059},{"type":17,"tag":70,"props":13208,"children":13209},{"style":675},[13210],{"type":22,"value":7909},{"type":17,"tag":70,"props":13212,"children":13213},{"class":124,"line":1425},[13214,13218,13223,13227,13231],{"type":17,"tag":70,"props":13215,"children":13216},{"style":5751},[13217],{"type":22,"value":13044},{"type":17,"tag":70,"props":13219,"children":13220},{"style":675},[13221],{"type":22,"value":13222}," b ",{"type":17,"tag":70,"props":13224,"children":13225},{"style":681},[13226],{"type":22,"value":13054},{"type":17,"tag":70,"props":13228,"children":13229},{"style":681},[13230],{"type":22,"value":13059},{"type":17,"tag":70,"props":13232,"children":13233},{"style":987},[13234],{"type":22,"value":5773},{"type":17,"tag":70,"props":13236,"children":13237},{"class":124,"line":1463},[13238,13242],{"type":17,"tag":70,"props":13239,"children":13240},{"style":5751},[13241],{"type":22,"value":13071},{"type":17,"tag":70,"props":13243,"children":13244},{"style":987},[13245],{"type":22,"value":5773},{"type":17,"tag":70,"props":13247,"children":13248},{"class":124,"line":1488},[13249,13254,13258,13262,13266,13270,13275,13279],{"type":17,"tag":70,"props":13250,"children":13251},{"style":675},[13252],{"type":22,"value":13253},"        b_input",{"type":17,"tag":70,"props":13255,"children":13256},{"style":2441},[13257],{"type":22,"value":2478},{"type":17,"tag":70,"props":13259,"children":13260},{"style":3656},[13261],{"type":22,"value":13092},{"type":17,"tag":70,"props":13263,"children":13264},{"style":987},[13265],{"type":22,"value":3710},{"type":17,"tag":70,"props":13267,"children":13268},{"style":1043},[13269],{"type":22,"value":1009},{"type":17,"tag":70,"props":13271,"children":13272},{"style":1049},[13273],{"type":22,"value":13274},"Enter number b: ",{"type":17,"tag":70,"props":13276,"children":13277},{"style":1043},[13278],{"type":22,"value":1009},{"type":17,"tag":70,"props":13280,"children":13281},{"style":987},[13282],{"type":22,"value":3727},{"type":17,"tag":70,"props":13284,"children":13285},{"class":124,"line":1520},[13286,13291,13295,13299,13303,13308],{"type":17,"tag":70,"props":13287,"children":13288},{"style":675},[13289],{"type":22,"value":13290},"        b",{"type":17,"tag":70,"props":13292,"children":13293},{"style":2441},[13294],{"type":22,"value":2478},{"type":17,"tag":70,"props":13296,"children":13297},{"style":9564},[13298],{"type":22,"value":13130},{"type":17,"tag":70,"props":13300,"children":13301},{"style":987},[13302],{"type":22,"value":3710},{"type":17,"tag":70,"props":13304,"children":13305},{"style":3908},[13306],{"type":22,"value":13307},"b_input",{"type":17,"tag":70,"props":13309,"children":13310},{"style":987},[13311],{"type":22,"value":3727},{"type":17,"tag":70,"props":13313,"children":13314},{"class":124,"line":1546},[13315,13319],{"type":17,"tag":70,"props":13316,"children":13317},{"style":5751},[13318],{"type":22,"value":13151},{"type":17,"tag":70,"props":13320,"children":13321},{"style":987},[13322],{"type":22,"value":5773},{"type":17,"tag":70,"props":13324,"children":13325},{"class":124,"line":1555},[13326,13330,13334,13338,13342,13346],{"type":17,"tag":70,"props":13327,"children":13328},{"style":3656},[13329],{"type":22,"value":9034},{"type":17,"tag":70,"props":13331,"children":13332},{"style":987},[13333],{"type":22,"value":3710},{"type":17,"tag":70,"props":13335,"children":13336},{"style":1043},[13337],{"type":22,"value":1009},{"type":17,"tag":70,"props":13339,"children":13340},{"style":1049},[13341],{"type":22,"value":13175},{"type":17,"tag":70,"props":13343,"children":13344},{"style":1043},[13345],{"type":22,"value":1009},{"type":17,"tag":70,"props":13347,"children":13348},{"style":987},[13349],{"type":22,"value":3727},{"type":17,"tag":70,"props":13351,"children":13352},{"class":124,"line":1563},[13353],{"type":17,"tag":70,"props":13354,"children":13355},{"emptyLinePlaceholder":4063},[13356],{"type":22,"value":4066},{"type":17,"tag":70,"props":13358,"children":13359},{"class":124,"line":1589},[13360,13364,13368,13372,13377],{"type":17,"tag":70,"props":13361,"children":13362},{"style":675},[13363],{"type":22,"value":517},{"type":17,"tag":70,"props":13365,"children":13366},{"style":2441},[13367],{"type":22,"value":2478},{"type":17,"tag":70,"props":13369,"children":13370},{"style":675},[13371],{"type":22,"value":6275},{"type":17,"tag":70,"props":13373,"children":13374},{"style":2441},[13375],{"type":22,"value":13376},"**",{"type":17,"tag":70,"props":13378,"children":13379},{"style":675},[13380],{"type":22,"value":13381},"b\n",{"type":17,"tag":70,"props":13383,"children":13384},{"class":124,"line":1598},[13385],{"type":17,"tag":70,"props":13386,"children":13387},{"emptyLinePlaceholder":4063},[13388],{"type":22,"value":4066},{"type":17,"tag":70,"props":13390,"children":13391},{"class":124,"line":1636},[13392,13396,13400,13404,13408,13412,13416,13421],{"type":17,"tag":70,"props":13393,"children":13394},{"style":3656},[13395],{"type":22,"value":3901},{"type":17,"tag":70,"props":13397,"children":13398},{"style":987},[13399],{"type":22,"value":3710},{"type":17,"tag":70,"props":13401,"children":13402},{"style":1043},[13403],{"type":22,"value":1009},{"type":17,"tag":70,"props":13405,"children":13406},{"style":1049},[13407],{"type":22,"value":8088},{"type":17,"tag":70,"props":13409,"children":13410},{"style":1043},[13411],{"type":22,"value":1009},{"type":17,"tag":70,"props":13413,"children":13414},{"style":2441},[13415],{"type":22,"value":8887},{"type":17,"tag":70,"props":13417,"children":13418},{"style":1657},[13419],{"type":22,"value":13420},"50",{"type":17,"tag":70,"props":13422,"children":13423},{"style":987},[13424],{"type":22,"value":3727},{"type":17,"tag":70,"props":13426,"children":13427},{"class":124,"line":1667},[13428,13432,13436,13440,13445,13449,13453,13457,13461],{"type":17,"tag":70,"props":13429,"children":13430},{"style":3656},[13431],{"type":22,"value":3901},{"type":17,"tag":70,"props":13433,"children":13434},{"style":987},[13435],{"type":22,"value":3710},{"type":17,"tag":70,"props":13437,"children":13438},{"style":8598},[13439],{"type":22,"value":3768},{"type":17,"tag":70,"props":13441,"children":13442},{"style":1049},[13443],{"type":22,"value":13444},"\"Your result c = ",{"type":17,"tag":70,"props":13446,"children":13447},{"style":8608},[13448],{"type":22,"value":8611},{"type":17,"tag":70,"props":13450,"children":13451},{"style":3908},[13452],{"type":22,"value":517},{"type":17,"tag":70,"props":13454,"children":13455},{"style":8608},[13456],{"type":22,"value":8639},{"type":17,"tag":70,"props":13458,"children":13459},{"style":1049},[13460],{"type":22,"value":1009},{"type":17,"tag":70,"props":13462,"children":13463},{"style":987},[13464],{"type":22,"value":3727},{"type":17,"tag":18,"props":13466,"children":13467},{},[13468],{"type":22,"value":13469},"Kol kas mūsų programoje nėra išvesties į failą.  Padaryta taip, kad naudotojas turėtų įvedinėt skaičių tol, kol jis bus tinkamas. Įgyvendinkime registravimą į žurnalą. Jame registruosime įvykusias klaidas, rezultatus:",{"type":17,"tag":115,"props":13471,"children":13473},{"className":3632,"code":13472,"language":3633,"meta":67,"style":67},"from datetime import datetime\n\nlog = open(\"log.txt\", \"a\")\nlog.write(f\"info: program started at {datetime.today().strftime('%Y-%m-%d %H:%M:%S')}\\n\")\n\nprint(\"-\" * 50)\nprint(\"Program has started\")\nprint(\"This program calculates the number c = a^b\")\nprint(\"-\" * 50)\n\na = None\nwhile a is None:\n    try:\n        a_input = input(\"Enter number a: \")\n        log.write(f\"info: user entered a as \\\"{a_input}\\\"\\n\")\n        a = int(a_input)\n    except:\n        print(\"You entered a non-numeric value. Please try again.\")\n        log.write(\"error: a_input is not a number\\n\")\n\nb = None\nwhile b is None:\n    try:\n        b_input = input(\"Enter number b: \")\n        log.write(f\"info: user entered b as \\\"{b_input}\\\"\\n\")\n        b = int(b_input)\n    except:\n        print(\"You entered a non-numeric value. Please try again.\")\n        log.write(\"error: b_input is not a number\\n\")\n\nc = a ** b\n\nprint(\"-\" * 50)\nprint(f\"Your result c = {c}\")\nlog.write(f\"info: Calculation result: {a}**{b}={c}\\n\")\nlog.write(\"-\" * 50 + \"\\n\")\nlog.close()\n",[13474],{"type":17,"tag":64,"props":13475,"children":13476},{"__ignoreMap":67},[13477,13500,13507,13560,13663,13670,13705,13732,13759,13794,13801,13816,13839,13850,13887,13946,13974,13985,14012,14052,14059,14074,14097,14108,14144,14200,14228,14239,14266,14306,14313,14338,14345,14380,14419,14504,14563],{"type":17,"tag":70,"props":13478,"children":13479},{"class":124,"line":125},[13480,13485,13490,13495],{"type":17,"tag":70,"props":13481,"children":13482},{"style":5751},[13483],{"type":22,"value":13484},"from",{"type":17,"tag":70,"props":13486,"children":13487},{"style":675},[13488],{"type":22,"value":13489}," datetime ",{"type":17,"tag":70,"props":13491,"children":13492},{"style":5751},[13493],{"type":22,"value":13494},"import",{"type":17,"tag":70,"props":13496,"children":13497},{"style":675},[13498],{"type":22,"value":13499}," datetime\n",{"type":17,"tag":70,"props":13501,"children":13502},{"class":124,"line":699},[13503],{"type":17,"tag":70,"props":13504,"children":13505},{"emptyLinePlaceholder":4063},[13506],{"type":22,"value":4066},{"type":17,"tag":70,"props":13508,"children":13509},{"class":124,"line":723},[13510,13515,13519,13523,13527,13531,13536,13540,13544,13548,13552,13556],{"type":17,"tag":70,"props":13511,"children":13512},{"style":675},[13513],{"type":22,"value":13514},"log ",{"type":17,"tag":70,"props":13516,"children":13517},{"style":2441},[13518],{"type":22,"value":2478},{"type":17,"tag":70,"props":13520,"children":13521},{"style":3656},[13522],{"type":22,"value":3705},{"type":17,"tag":70,"props":13524,"children":13525},{"style":987},[13526],{"type":22,"value":3710},{"type":17,"tag":70,"props":13528,"children":13529},{"style":1043},[13530],{"type":22,"value":1009},{"type":17,"tag":70,"props":13532,"children":13533},{"style":1049},[13534],{"type":22,"value":13535},"log.txt",{"type":17,"tag":70,"props":13537,"children":13538},{"style":1043},[13539],{"type":22,"value":1009},{"type":17,"tag":70,"props":13541,"children":13542},{"style":987},[13543],{"type":22,"value":2139},{"type":17,"tag":70,"props":13545,"children":13546},{"style":1043},[13547],{"type":22,"value":1046},{"type":17,"tag":70,"props":13549,"children":13550},{"style":1049},[13551],{"type":22,"value":6275},{"type":17,"tag":70,"props":13553,"children":13554},{"style":1043},[13555],{"type":22,"value":1009},{"type":17,"tag":70,"props":13557,"children":13558},{"style":987},[13559],{"type":22,"value":3727},{"type":17,"tag":70,"props":13561,"children":13562},{"class":124,"line":747},[13563,13568,13572,13576,13580,13584,13589,13593,13598,13602,13607,13611,13616,13620,13624,13629,13634,13639,13643,13647,13651,13655,13659],{"type":17,"tag":70,"props":13564,"children":13565},{"style":675},[13566],{"type":22,"value":13567},"log",{"type":17,"tag":70,"props":13569,"children":13570},{"style":987},[13571],{"type":22,"value":43},{"type":17,"tag":70,"props":13573,"children":13574},{"style":3810},[13575],{"type":22,"value":10206},{"type":17,"tag":70,"props":13577,"children":13578},{"style":987},[13579],{"type":22,"value":3710},{"type":17,"tag":70,"props":13581,"children":13582},{"style":8598},[13583],{"type":22,"value":3768},{"type":17,"tag":70,"props":13585,"children":13586},{"style":1049},[13587],{"type":22,"value":13588},"\"info: program started at ",{"type":17,"tag":70,"props":13590,"children":13591},{"style":8608},[13592],{"type":22,"value":8611},{"type":17,"tag":70,"props":13594,"children":13595},{"style":3908},[13596],{"type":22,"value":13597},"datetime",{"type":17,"tag":70,"props":13599,"children":13600},{"style":987},[13601],{"type":22,"value":43},{"type":17,"tag":70,"props":13603,"children":13604},{"style":3810},[13605],{"type":22,"value":13606},"today",{"type":17,"tag":70,"props":13608,"children":13609},{"style":987},[13610],{"type":22,"value":4872},{"type":17,"tag":70,"props":13612,"children":13613},{"style":3810},[13614],{"type":22,"value":13615},"strftime",{"type":17,"tag":70,"props":13617,"children":13618},{"style":987},[13619],{"type":22,"value":3710},{"type":17,"tag":70,"props":13621,"children":13622},{"style":1043},[13623],{"type":22,"value":11270},{"type":17,"tag":70,"props":13625,"children":13626},{"style":1049},[13627],{"type":22,"value":13628},"%Y-%m-",{"type":17,"tag":70,"props":13630,"children":13631},{"style":8608},[13632],{"type":22,"value":13633},"%d",{"type":17,"tag":70,"props":13635,"children":13636},{"style":1049},[13637],{"type":22,"value":13638}," %H:%M:%S",{"type":17,"tag":70,"props":13640,"children":13641},{"style":1043},[13642],{"type":22,"value":11270},{"type":17,"tag":70,"props":13644,"children":13645},{"style":987},[13646],{"type":22,"value":5088},{"type":17,"tag":70,"props":13648,"children":13649},{"style":8608},[13650],{"type":22,"value":8639},{"type":17,"tag":70,"props":13652,"children":13653},{"style":4888},[13654],{"type":22,"value":4765},{"type":17,"tag":70,"props":13656,"children":13657},{"style":1049},[13658],{"type":22,"value":1009},{"type":17,"tag":70,"props":13660,"children":13661},{"style":987},[13662],{"type":22,"value":3727},{"type":17,"tag":70,"props":13664,"children":13665},{"class":124,"line":1101},[13666],{"type":17,"tag":70,"props":13667,"children":13668},{"emptyLinePlaceholder":4063},[13669],{"type":22,"value":4066},{"type":17,"tag":70,"props":13671,"children":13672},{"class":124,"line":1139},[13673,13677,13681,13685,13689,13693,13697,13701],{"type":17,"tag":70,"props":13674,"children":13675},{"style":3656},[13676],{"type":22,"value":3901},{"type":17,"tag":70,"props":13678,"children":13679},{"style":987},[13680],{"type":22,"value":3710},{"type":17,"tag":70,"props":13682,"children":13683},{"style":1043},[13684],{"type":22,"value":1009},{"type":17,"tag":70,"props":13686,"children":13687},{"style":1049},[13688],{"type":22,"value":8088},{"type":17,"tag":70,"props":13690,"children":13691},{"style":1043},[13692],{"type":22,"value":1009},{"type":17,"tag":70,"props":13694,"children":13695},{"style":2441},[13696],{"type":22,"value":11116},{"type":17,"tag":70,"props":13698,"children":13699},{"style":1657},[13700],{"type":22,"value":12917},{"type":17,"tag":70,"props":13702,"children":13703},{"style":987},[13704],{"type":22,"value":3727},{"type":17,"tag":70,"props":13706,"children":13707},{"class":124,"line":1177},[13708,13712,13716,13720,13724,13728],{"type":17,"tag":70,"props":13709,"children":13710},{"style":3656},[13711],{"type":22,"value":3901},{"type":17,"tag":70,"props":13713,"children":13714},{"style":987},[13715],{"type":22,"value":3710},{"type":17,"tag":70,"props":13717,"children":13718},{"style":1043},[13719],{"type":22,"value":1009},{"type":17,"tag":70,"props":13721,"children":13722},{"style":1049},[13723],{"type":22,"value":12941},{"type":17,"tag":70,"props":13725,"children":13726},{"style":1043},[13727],{"type":22,"value":1009},{"type":17,"tag":70,"props":13729,"children":13730},{"style":987},[13731],{"type":22,"value":3727},{"type":17,"tag":70,"props":13733,"children":13734},{"class":124,"line":1215},[13735,13739,13743,13747,13751,13755],{"type":17,"tag":70,"props":13736,"children":13737},{"style":3656},[13738],{"type":22,"value":3901},{"type":17,"tag":70,"props":13740,"children":13741},{"style":987},[13742],{"type":22,"value":3710},{"type":17,"tag":70,"props":13744,"children":13745},{"style":1043},[13746],{"type":22,"value":1009},{"type":17,"tag":70,"props":13748,"children":13749},{"style":1049},[13750],{"type":22,"value":12969},{"type":17,"tag":70,"props":13752,"children":13753},{"style":1043},[13754],{"type":22,"value":1009},{"type":17,"tag":70,"props":13756,"children":13757},{"style":987},[13758],{"type":22,"value":3727},{"type":17,"tag":70,"props":13760,"children":13761},{"class":124,"line":1240},[13762,13766,13770,13774,13778,13782,13786,13790],{"type":17,"tag":70,"props":13763,"children":13764},{"style":3656},[13765],{"type":22,"value":3901},{"type":17,"tag":70,"props":13767,"children":13768},{"style":987},[13769],{"type":22,"value":3710},{"type":17,"tag":70,"props":13771,"children":13772},{"style":1043},[13773],{"type":22,"value":1009},{"type":17,"tag":70,"props":13775,"children":13776},{"style":1049},[13777],{"type":22,"value":8088},{"type":17,"tag":70,"props":13779,"children":13780},{"style":1043},[13781],{"type":22,"value":1009},{"type":17,"tag":70,"props":13783,"children":13784},{"style":2441},[13785],{"type":22,"value":11116},{"type":17,"tag":70,"props":13787,"children":13788},{"style":1657},[13789],{"type":22,"value":12917},{"type":17,"tag":70,"props":13791,"children":13792},{"style":987},[13793],{"type":22,"value":3727},{"type":17,"tag":70,"props":13795,"children":13796},{"class":124,"line":1280},[13797],{"type":17,"tag":70,"props":13798,"children":13799},{"emptyLinePlaceholder":4063},[13800],{"type":22,"value":4066},{"type":17,"tag":70,"props":13802,"children":13803},{"class":124,"line":1318},[13804,13808,13812],{"type":17,"tag":70,"props":13805,"children":13806},{"style":675},[13807],{"type":22,"value":13027},{"type":17,"tag":70,"props":13809,"children":13810},{"style":2441},[13811],{"type":22,"value":2478},{"type":17,"tag":70,"props":13813,"children":13814},{"style":681},[13815],{"type":22,"value":13036},{"type":17,"tag":70,"props":13817,"children":13818},{"class":124,"line":1356},[13819,13823,13827,13831,13835],{"type":17,"tag":70,"props":13820,"children":13821},{"style":5751},[13822],{"type":22,"value":13044},{"type":17,"tag":70,"props":13824,"children":13825},{"style":675},[13826],{"type":22,"value":13049},{"type":17,"tag":70,"props":13828,"children":13829},{"style":681},[13830],{"type":22,"value":13054},{"type":17,"tag":70,"props":13832,"children":13833},{"style":681},[13834],{"type":22,"value":13059},{"type":17,"tag":70,"props":13836,"children":13837},{"style":987},[13838],{"type":22,"value":5773},{"type":17,"tag":70,"props":13840,"children":13841},{"class":124,"line":1391},[13842,13846],{"type":17,"tag":70,"props":13843,"children":13844},{"style":5751},[13845],{"type":22,"value":13071},{"type":17,"tag":70,"props":13847,"children":13848},{"style":987},[13849],{"type":22,"value":5773},{"type":17,"tag":70,"props":13851,"children":13852},{"class":124,"line":1400},[13853,13858,13862,13867,13871,13875,13879,13883],{"type":17,"tag":70,"props":13854,"children":13855},{"style":675},[13856],{"type":22,"value":13857},"        a_input ",{"type":17,"tag":70,"props":13859,"children":13860},{"style":2441},[13861],{"type":22,"value":2478},{"type":17,"tag":70,"props":13863,"children":13864},{"style":3656},[13865],{"type":22,"value":13866}," input",{"type":17,"tag":70,"props":13868,"children":13869},{"style":987},[13870],{"type":22,"value":3710},{"type":17,"tag":70,"props":13872,"children":13873},{"style":1043},[13874],{"type":22,"value":1009},{"type":17,"tag":70,"props":13876,"children":13877},{"style":1049},[13878],{"type":22,"value":13105},{"type":17,"tag":70,"props":13880,"children":13881},{"style":1043},[13882],{"type":22,"value":1009},{"type":17,"tag":70,"props":13884,"children":13885},{"style":987},[13886],{"type":22,"value":3727},{"type":17,"tag":70,"props":13888,"children":13889},{"class":124,"line":1425},[13890,13895,13899,13903,13907,13911,13916,13921,13925,13929,13933,13938,13942],{"type":17,"tag":70,"props":13891,"children":13892},{"style":675},[13893],{"type":22,"value":13894},"        log",{"type":17,"tag":70,"props":13896,"children":13897},{"style":987},[13898],{"type":22,"value":43},{"type":17,"tag":70,"props":13900,"children":13901},{"style":3810},[13902],{"type":22,"value":10206},{"type":17,"tag":70,"props":13904,"children":13905},{"style":987},[13906],{"type":22,"value":3710},{"type":17,"tag":70,"props":13908,"children":13909},{"style":8598},[13910],{"type":22,"value":3768},{"type":17,"tag":70,"props":13912,"children":13913},{"style":1049},[13914],{"type":22,"value":13915},"\"info: user entered a as ",{"type":17,"tag":70,"props":13917,"children":13918},{"style":4888},[13919],{"type":22,"value":13920},"\\\"",{"type":17,"tag":70,"props":13922,"children":13923},{"style":8608},[13924],{"type":22,"value":8611},{"type":17,"tag":70,"props":13926,"children":13927},{"style":3908},[13928],{"type":22,"value":13139},{"type":17,"tag":70,"props":13930,"children":13931},{"style":8608},[13932],{"type":22,"value":8639},{"type":17,"tag":70,"props":13934,"children":13935},{"style":4888},[13936],{"type":22,"value":13937},"\\\"\\n",{"type":17,"tag":70,"props":13939,"children":13940},{"style":1049},[13941],{"type":22,"value":1009},{"type":17,"tag":70,"props":13943,"children":13944},{"style":987},[13945],{"type":22,"value":3727},{"type":17,"tag":70,"props":13947,"children":13948},{"class":124,"line":1463},[13949,13954,13958,13962,13966,13970],{"type":17,"tag":70,"props":13950,"children":13951},{"style":675},[13952],{"type":22,"value":13953},"        a ",{"type":17,"tag":70,"props":13955,"children":13956},{"style":2441},[13957],{"type":22,"value":2478},{"type":17,"tag":70,"props":13959,"children":13960},{"style":9564},[13961],{"type":22,"value":9567},{"type":17,"tag":70,"props":13963,"children":13964},{"style":987},[13965],{"type":22,"value":3710},{"type":17,"tag":70,"props":13967,"children":13968},{"style":3908},[13969],{"type":22,"value":13139},{"type":17,"tag":70,"props":13971,"children":13972},{"style":987},[13973],{"type":22,"value":3727},{"type":17,"tag":70,"props":13975,"children":13976},{"class":124,"line":1488},[13977,13981],{"type":17,"tag":70,"props":13978,"children":13979},{"style":5751},[13980],{"type":22,"value":13151},{"type":17,"tag":70,"props":13982,"children":13983},{"style":987},[13984],{"type":22,"value":5773},{"type":17,"tag":70,"props":13986,"children":13987},{"class":124,"line":1520},[13988,13992,13996,14000,14004,14008],{"type":17,"tag":70,"props":13989,"children":13990},{"style":3656},[13991],{"type":22,"value":9034},{"type":17,"tag":70,"props":13993,"children":13994},{"style":987},[13995],{"type":22,"value":3710},{"type":17,"tag":70,"props":13997,"children":13998},{"style":1043},[13999],{"type":22,"value":1009},{"type":17,"tag":70,"props":14001,"children":14002},{"style":1049},[14003],{"type":22,"value":13175},{"type":17,"tag":70,"props":14005,"children":14006},{"style":1043},[14007],{"type":22,"value":1009},{"type":17,"tag":70,"props":14009,"children":14010},{"style":987},[14011],{"type":22,"value":3727},{"type":17,"tag":70,"props":14013,"children":14014},{"class":124,"line":1546},[14015,14019,14023,14027,14031,14035,14040,14044,14048],{"type":17,"tag":70,"props":14016,"children":14017},{"style":675},[14018],{"type":22,"value":13894},{"type":17,"tag":70,"props":14020,"children":14021},{"style":987},[14022],{"type":22,"value":43},{"type":17,"tag":70,"props":14024,"children":14025},{"style":3810},[14026],{"type":22,"value":10206},{"type":17,"tag":70,"props":14028,"children":14029},{"style":987},[14030],{"type":22,"value":3710},{"type":17,"tag":70,"props":14032,"children":14033},{"style":1043},[14034],{"type":22,"value":1009},{"type":17,"tag":70,"props":14036,"children":14037},{"style":1049},[14038],{"type":22,"value":14039},"error: a_input is not a number",{"type":17,"tag":70,"props":14041,"children":14042},{"style":4888},[14043],{"type":22,"value":4765},{"type":17,"tag":70,"props":14045,"children":14046},{"style":1043},[14047],{"type":22,"value":1009},{"type":17,"tag":70,"props":14049,"children":14050},{"style":987},[14051],{"type":22,"value":3727},{"type":17,"tag":70,"props":14053,"children":14054},{"class":124,"line":1555},[14055],{"type":17,"tag":70,"props":14056,"children":14057},{"emptyLinePlaceholder":4063},[14058],{"type":22,"value":4066},{"type":17,"tag":70,"props":14060,"children":14061},{"class":124,"line":1563},[14062,14066,14070],{"type":17,"tag":70,"props":14063,"children":14064},{"style":675},[14065],{"type":22,"value":13198},{"type":17,"tag":70,"props":14067,"children":14068},{"style":2441},[14069],{"type":22,"value":2478},{"type":17,"tag":70,"props":14071,"children":14072},{"style":681},[14073],{"type":22,"value":13036},{"type":17,"tag":70,"props":14075,"children":14076},{"class":124,"line":1589},[14077,14081,14085,14089,14093],{"type":17,"tag":70,"props":14078,"children":14079},{"style":5751},[14080],{"type":22,"value":13044},{"type":17,"tag":70,"props":14082,"children":14083},{"style":675},[14084],{"type":22,"value":13222},{"type":17,"tag":70,"props":14086,"children":14087},{"style":681},[14088],{"type":22,"value":13054},{"type":17,"tag":70,"props":14090,"children":14091},{"style":681},[14092],{"type":22,"value":13059},{"type":17,"tag":70,"props":14094,"children":14095},{"style":987},[14096],{"type":22,"value":5773},{"type":17,"tag":70,"props":14098,"children":14099},{"class":124,"line":1598},[14100,14104],{"type":17,"tag":70,"props":14101,"children":14102},{"style":5751},[14103],{"type":22,"value":13071},{"type":17,"tag":70,"props":14105,"children":14106},{"style":987},[14107],{"type":22,"value":5773},{"type":17,"tag":70,"props":14109,"children":14110},{"class":124,"line":1636},[14111,14116,14120,14124,14128,14132,14136,14140],{"type":17,"tag":70,"props":14112,"children":14113},{"style":675},[14114],{"type":22,"value":14115},"        b_input ",{"type":17,"tag":70,"props":14117,"children":14118},{"style":2441},[14119],{"type":22,"value":2478},{"type":17,"tag":70,"props":14121,"children":14122},{"style":3656},[14123],{"type":22,"value":13866},{"type":17,"tag":70,"props":14125,"children":14126},{"style":987},[14127],{"type":22,"value":3710},{"type":17,"tag":70,"props":14129,"children":14130},{"style":1043},[14131],{"type":22,"value":1009},{"type":17,"tag":70,"props":14133,"children":14134},{"style":1049},[14135],{"type":22,"value":13274},{"type":17,"tag":70,"props":14137,"children":14138},{"style":1043},[14139],{"type":22,"value":1009},{"type":17,"tag":70,"props":14141,"children":14142},{"style":987},[14143],{"type":22,"value":3727},{"type":17,"tag":70,"props":14145,"children":14146},{"class":124,"line":1667},[14147,14151,14155,14159,14163,14167,14172,14176,14180,14184,14188,14192,14196],{"type":17,"tag":70,"props":14148,"children":14149},{"style":675},[14150],{"type":22,"value":13894},{"type":17,"tag":70,"props":14152,"children":14153},{"style":987},[14154],{"type":22,"value":43},{"type":17,"tag":70,"props":14156,"children":14157},{"style":3810},[14158],{"type":22,"value":10206},{"type":17,"tag":70,"props":14160,"children":14161},{"style":987},[14162],{"type":22,"value":3710},{"type":17,"tag":70,"props":14164,"children":14165},{"style":8598},[14166],{"type":22,"value":3768},{"type":17,"tag":70,"props":14168,"children":14169},{"style":1049},[14170],{"type":22,"value":14171},"\"info: user entered b as ",{"type":17,"tag":70,"props":14173,"children":14174},{"style":4888},[14175],{"type":22,"value":13920},{"type":17,"tag":70,"props":14177,"children":14178},{"style":8608},[14179],{"type":22,"value":8611},{"type":17,"tag":70,"props":14181,"children":14182},{"style":3908},[14183],{"type":22,"value":13307},{"type":17,"tag":70,"props":14185,"children":14186},{"style":8608},[14187],{"type":22,"value":8639},{"type":17,"tag":70,"props":14189,"children":14190},{"style":4888},[14191],{"type":22,"value":13937},{"type":17,"tag":70,"props":14193,"children":14194},{"style":1049},[14195],{"type":22,"value":1009},{"type":17,"tag":70,"props":14197,"children":14198},{"style":987},[14199],{"type":22,"value":3727},{"type":17,"tag":70,"props":14201,"children":14202},{"class":124,"line":1705},[14203,14208,14212,14216,14220,14224],{"type":17,"tag":70,"props":14204,"children":14205},{"style":675},[14206],{"type":22,"value":14207},"        b ",{"type":17,"tag":70,"props":14209,"children":14210},{"style":2441},[14211],{"type":22,"value":2478},{"type":17,"tag":70,"props":14213,"children":14214},{"style":9564},[14215],{"type":22,"value":9567},{"type":17,"tag":70,"props":14217,"children":14218},{"style":987},[14219],{"type":22,"value":3710},{"type":17,"tag":70,"props":14221,"children":14222},{"style":3908},[14223],{"type":22,"value":13307},{"type":17,"tag":70,"props":14225,"children":14226},{"style":987},[14227],{"type":22,"value":3727},{"type":17,"tag":70,"props":14229,"children":14230},{"class":124,"line":1739},[14231,14235],{"type":17,"tag":70,"props":14232,"children":14233},{"style":5751},[14234],{"type":22,"value":13151},{"type":17,"tag":70,"props":14236,"children":14237},{"style":987},[14238],{"type":22,"value":5773},{"type":17,"tag":70,"props":14240,"children":14241},{"class":124,"line":1748},[14242,14246,14250,14254,14258,14262],{"type":17,"tag":70,"props":14243,"children":14244},{"style":3656},[14245],{"type":22,"value":9034},{"type":17,"tag":70,"props":14247,"children":14248},{"style":987},[14249],{"type":22,"value":3710},{"type":17,"tag":70,"props":14251,"children":14252},{"style":1043},[14253],{"type":22,"value":1009},{"type":17,"tag":70,"props":14255,"children":14256},{"style":1049},[14257],{"type":22,"value":13175},{"type":17,"tag":70,"props":14259,"children":14260},{"style":1043},[14261],{"type":22,"value":1009},{"type":17,"tag":70,"props":14263,"children":14264},{"style":987},[14265],{"type":22,"value":3727},{"type":17,"tag":70,"props":14267,"children":14268},{"class":124,"line":1756},[14269,14273,14277,14281,14285,14289,14294,14298,14302],{"type":17,"tag":70,"props":14270,"children":14271},{"style":675},[14272],{"type":22,"value":13894},{"type":17,"tag":70,"props":14274,"children":14275},{"style":987},[14276],{"type":22,"value":43},{"type":17,"tag":70,"props":14278,"children":14279},{"style":3810},[14280],{"type":22,"value":10206},{"type":17,"tag":70,"props":14282,"children":14283},{"style":987},[14284],{"type":22,"value":3710},{"type":17,"tag":70,"props":14286,"children":14287},{"style":1043},[14288],{"type":22,"value":1009},{"type":17,"tag":70,"props":14290,"children":14291},{"style":1049},[14292],{"type":22,"value":14293},"error: b_input is not a number",{"type":17,"tag":70,"props":14295,"children":14296},{"style":4888},[14297],{"type":22,"value":4765},{"type":17,"tag":70,"props":14299,"children":14300},{"style":1043},[14301],{"type":22,"value":1009},{"type":17,"tag":70,"props":14303,"children":14304},{"style":987},[14305],{"type":22,"value":3727},{"type":17,"tag":70,"props":14307,"children":14308},{"class":124,"line":1793},[14309],{"type":17,"tag":70,"props":14310,"children":14311},{"emptyLinePlaceholder":4063},[14312],{"type":22,"value":4066},{"type":17,"tag":70,"props":14314,"children":14315},{"class":124,"line":1822},[14316,14321,14325,14329,14333],{"type":17,"tag":70,"props":14317,"children":14318},{"style":675},[14319],{"type":22,"value":14320},"c ",{"type":17,"tag":70,"props":14322,"children":14323},{"style":2441},[14324],{"type":22,"value":2478},{"type":17,"tag":70,"props":14326,"children":14327},{"style":675},[14328],{"type":22,"value":13049},{"type":17,"tag":70,"props":14330,"children":14331},{"style":2441},[14332],{"type":22,"value":13376},{"type":17,"tag":70,"props":14334,"children":14335},{"style":675},[14336],{"type":22,"value":14337}," b\n",{"type":17,"tag":70,"props":14339,"children":14340},{"class":124,"line":1859},[14341],{"type":17,"tag":70,"props":14342,"children":14343},{"emptyLinePlaceholder":4063},[14344],{"type":22,"value":4066},{"type":17,"tag":70,"props":14346,"children":14347},{"class":124,"line":1892},[14348,14352,14356,14360,14364,14368,14372,14376],{"type":17,"tag":70,"props":14349,"children":14350},{"style":3656},[14351],{"type":22,"value":3901},{"type":17,"tag":70,"props":14353,"children":14354},{"style":987},[14355],{"type":22,"value":3710},{"type":17,"tag":70,"props":14357,"children":14358},{"style":1043},[14359],{"type":22,"value":1009},{"type":17,"tag":70,"props":14361,"children":14362},{"style":1049},[14363],{"type":22,"value":8088},{"type":17,"tag":70,"props":14365,"children":14366},{"style":1043},[14367],{"type":22,"value":1009},{"type":17,"tag":70,"props":14369,"children":14370},{"style":2441},[14371],{"type":22,"value":11116},{"type":17,"tag":70,"props":14373,"children":14374},{"style":1657},[14375],{"type":22,"value":12917},{"type":17,"tag":70,"props":14377,"children":14378},{"style":987},[14379],{"type":22,"value":3727},{"type":17,"tag":70,"props":14381,"children":14382},{"class":124,"line":1900},[14383,14387,14391,14395,14399,14403,14407,14411,14415],{"type":17,"tag":70,"props":14384,"children":14385},{"style":3656},[14386],{"type":22,"value":3901},{"type":17,"tag":70,"props":14388,"children":14389},{"style":987},[14390],{"type":22,"value":3710},{"type":17,"tag":70,"props":14392,"children":14393},{"style":8598},[14394],{"type":22,"value":3768},{"type":17,"tag":70,"props":14396,"children":14397},{"style":1049},[14398],{"type":22,"value":13444},{"type":17,"tag":70,"props":14400,"children":14401},{"style":8608},[14402],{"type":22,"value":8611},{"type":17,"tag":70,"props":14404,"children":14405},{"style":3908},[14406],{"type":22,"value":517},{"type":17,"tag":70,"props":14408,"children":14409},{"style":8608},[14410],{"type":22,"value":8639},{"type":17,"tag":70,"props":14412,"children":14413},{"style":1049},[14414],{"type":22,"value":1009},{"type":17,"tag":70,"props":14416,"children":14417},{"style":987},[14418],{"type":22,"value":3727},{"type":17,"tag":70,"props":14420,"children":14421},{"class":124,"line":1909},[14422,14426,14430,14434,14438,14442,14447,14451,14455,14459,14463,14467,14472,14476,14480,14484,14488,14492,14496,14500],{"type":17,"tag":70,"props":14423,"children":14424},{"style":675},[14425],{"type":22,"value":13567},{"type":17,"tag":70,"props":14427,"children":14428},{"style":987},[14429],{"type":22,"value":43},{"type":17,"tag":70,"props":14431,"children":14432},{"style":3810},[14433],{"type":22,"value":10206},{"type":17,"tag":70,"props":14435,"children":14436},{"style":987},[14437],{"type":22,"value":3710},{"type":17,"tag":70,"props":14439,"children":14440},{"style":8598},[14441],{"type":22,"value":3768},{"type":17,"tag":70,"props":14443,"children":14444},{"style":1049},[14445],{"type":22,"value":14446},"\"info: Calculation result: ",{"type":17,"tag":70,"props":14448,"children":14449},{"style":8608},[14450],{"type":22,"value":8611},{"type":17,"tag":70,"props":14452,"children":14453},{"style":3908},[14454],{"type":22,"value":6275},{"type":17,"tag":70,"props":14456,"children":14457},{"style":8608},[14458],{"type":22,"value":8639},{"type":17,"tag":70,"props":14460,"children":14461},{"style":1049},[14462],{"type":22,"value":13376},{"type":17,"tag":70,"props":14464,"children":14465},{"style":8608},[14466],{"type":22,"value":8611},{"type":17,"tag":70,"props":14468,"children":14469},{"style":3908},[14470],{"type":22,"value":14471},"b",{"type":17,"tag":70,"props":14473,"children":14474},{"style":8608},[14475],{"type":22,"value":8639},{"type":17,"tag":70,"props":14477,"children":14478},{"style":1049},[14479],{"type":22,"value":2478},{"type":17,"tag":70,"props":14481,"children":14482},{"style":8608},[14483],{"type":22,"value":8611},{"type":17,"tag":70,"props":14485,"children":14486},{"style":3908},[14487],{"type":22,"value":517},{"type":17,"tag":70,"props":14489,"children":14490},{"style":8608},[14491],{"type":22,"value":8639},{"type":17,"tag":70,"props":14493,"children":14494},{"style":4888},[14495],{"type":22,"value":4765},{"type":17,"tag":70,"props":14497,"children":14498},{"style":1049},[14499],{"type":22,"value":1009},{"type":17,"tag":70,"props":14501,"children":14502},{"style":987},[14503],{"type":22,"value":3727},{"type":17,"tag":70,"props":14505,"children":14506},{"class":124,"line":1918},[14507,14511,14515,14519,14523,14527,14531,14535,14539,14543,14547,14551,14555,14559],{"type":17,"tag":70,"props":14508,"children":14509},{"style":675},[14510],{"type":22,"value":13567},{"type":17,"tag":70,"props":14512,"children":14513},{"style":987},[14514],{"type":22,"value":43},{"type":17,"tag":70,"props":14516,"children":14517},{"style":3810},[14518],{"type":22,"value":10206},{"type":17,"tag":70,"props":14520,"children":14521},{"style":987},[14522],{"type":22,"value":3710},{"type":17,"tag":70,"props":14524,"children":14525},{"style":1043},[14526],{"type":22,"value":1009},{"type":17,"tag":70,"props":14528,"children":14529},{"style":1049},[14530],{"type":22,"value":8088},{"type":17,"tag":70,"props":14532,"children":14533},{"style":1043},[14534],{"type":22,"value":1009},{"type":17,"tag":70,"props":14536,"children":14537},{"style":2441},[14538],{"type":22,"value":11116},{"type":17,"tag":70,"props":14540,"children":14541},{"style":1657},[14542],{"type":22,"value":12917},{"type":17,"tag":70,"props":14544,"children":14545},{"style":2441},[14546],{"type":22,"value":11146},{"type":17,"tag":70,"props":14548,"children":14549},{"style":1043},[14550],{"type":22,"value":1046},{"type":17,"tag":70,"props":14552,"children":14553},{"style":4888},[14554],{"type":22,"value":4765},{"type":17,"tag":70,"props":14556,"children":14557},{"style":1043},[14558],{"type":22,"value":1009},{"type":17,"tag":70,"props":14560,"children":14561},{"style":987},[14562],{"type":22,"value":3727},{"type":17,"tag":70,"props":14564,"children":14566},{"class":124,"line":14565},37,[14567,14571,14575,14579],{"type":17,"tag":70,"props":14568,"children":14569},{"style":675},[14570],{"type":22,"value":13567},{"type":17,"tag":70,"props":14572,"children":14573},{"style":987},[14574],{"type":22,"value":43},{"type":17,"tag":70,"props":14576,"children":14577},{"style":3810},[14578],{"type":22,"value":5925},{"type":17,"tag":70,"props":14580,"children":14581},{"style":987},[14582],{"type":22,"value":3893},{"type":17,"tag":18,"props":14584,"children":14585},{},[14586],{"type":22,"value":14587},"Taip galima sekti programos veikimą ir saugoti tuos duomenis ilgame laikotarpyje.",{"type":17,"tag":115,"props":14589,"children":14591},{"className":66,"code":14590,"filename":13535,"language":22,"meta":67,"style":67},"info: program started at 2024-09-23 15:43:25\ninfo: user entered a as \"5\"\ninfo: user entered b as \"2\"\ninfo: Calculation result: 5**2=25\n--------------------------------------------------\ninfo: program started at 2024-09-23 15:43:30\ninfo: user entered a as \"non number\"\nerror: a_input is not a number\ninfo: user entered a as \"probably not number\"\nerror: a_input is not a number\ninfo: user entered a as \"10\"\ninfo: user entered b as b stands for banana\nerror: b_input is not a number\ninfo: user entered b as \"4\"\ninfo: Calculation result: 10**4=10000\n--------------------------------------------------\ninfo: program started at 2024-09-23 15:44:13\ninfo: user entered a as \"\u001b[15~b\"\nerror: a_input is not a number\ninfo: user entered a as \"2\"\ninfo: user entered b as \"a\"\nerror: b_input is not a number\ninfo: user entered b as \"10\"\ninfo: Calculation result: 2**10=1024\n--------------------------------------------------\n",[14592],{"type":17,"tag":64,"props":14593,"children":14594},{"__ignoreMap":67},[14595,14603,14611,14619,14627,14635,14643,14651,14659,14667,14674,14682,14690,14698,14706,14714,14721,14729,14737,14744,14752,14760,14767,14775,14783],{"type":17,"tag":70,"props":14596,"children":14597},{"class":124,"line":125},[14598],{"type":17,"tag":70,"props":14599,"children":14600},{},[14601],{"type":22,"value":14602},"info: program started at 2024-09-23 15:43:25\n",{"type":17,"tag":70,"props":14604,"children":14605},{"class":124,"line":699},[14606],{"type":17,"tag":70,"props":14607,"children":14608},{},[14609],{"type":22,"value":14610},"info: user entered a as \"5\"\n",{"type":17,"tag":70,"props":14612,"children":14613},{"class":124,"line":723},[14614],{"type":17,"tag":70,"props":14615,"children":14616},{},[14617],{"type":22,"value":14618},"info: user entered b as \"2\"\n",{"type":17,"tag":70,"props":14620,"children":14621},{"class":124,"line":747},[14622],{"type":17,"tag":70,"props":14623,"children":14624},{},[14625],{"type":22,"value":14626},"info: Calculation result: 5**2=25\n",{"type":17,"tag":70,"props":14628,"children":14629},{"class":124,"line":1101},[14630],{"type":17,"tag":70,"props":14631,"children":14632},{},[14633],{"type":22,"value":14634},"--------------------------------------------------\n",{"type":17,"tag":70,"props":14636,"children":14637},{"class":124,"line":1139},[14638],{"type":17,"tag":70,"props":14639,"children":14640},{},[14641],{"type":22,"value":14642},"info: program started at 2024-09-23 15:43:30\n",{"type":17,"tag":70,"props":14644,"children":14645},{"class":124,"line":1177},[14646],{"type":17,"tag":70,"props":14647,"children":14648},{},[14649],{"type":22,"value":14650},"info: user entered a as \"non number\"\n",{"type":17,"tag":70,"props":14652,"children":14653},{"class":124,"line":1215},[14654],{"type":17,"tag":70,"props":14655,"children":14656},{},[14657],{"type":22,"value":14658},"error: a_input is not a number\n",{"type":17,"tag":70,"props":14660,"children":14661},{"class":124,"line":1240},[14662],{"type":17,"tag":70,"props":14663,"children":14664},{},[14665],{"type":22,"value":14666},"info: user entered a as \"probably not number\"\n",{"type":17,"tag":70,"props":14668,"children":14669},{"class":124,"line":1280},[14670],{"type":17,"tag":70,"props":14671,"children":14672},{},[14673],{"type":22,"value":14658},{"type":17,"tag":70,"props":14675,"children":14676},{"class":124,"line":1318},[14677],{"type":17,"tag":70,"props":14678,"children":14679},{},[14680],{"type":22,"value":14681},"info: user entered a as \"10\"\n",{"type":17,"tag":70,"props":14683,"children":14684},{"class":124,"line":1356},[14685],{"type":17,"tag":70,"props":14686,"children":14687},{},[14688],{"type":22,"value":14689},"info: user entered b as b stands for banana\n",{"type":17,"tag":70,"props":14691,"children":14692},{"class":124,"line":1391},[14693],{"type":17,"tag":70,"props":14694,"children":14695},{},[14696],{"type":22,"value":14697},"error: b_input is not a number\n",{"type":17,"tag":70,"props":14699,"children":14700},{"class":124,"line":1400},[14701],{"type":17,"tag":70,"props":14702,"children":14703},{},[14704],{"type":22,"value":14705},"info: user entered b as \"4\"\n",{"type":17,"tag":70,"props":14707,"children":14708},{"class":124,"line":1425},[14709],{"type":17,"tag":70,"props":14710,"children":14711},{},[14712],{"type":22,"value":14713},"info: Calculation result: 10**4=10000\n",{"type":17,"tag":70,"props":14715,"children":14716},{"class":124,"line":1463},[14717],{"type":17,"tag":70,"props":14718,"children":14719},{},[14720],{"type":22,"value":14634},{"type":17,"tag":70,"props":14722,"children":14723},{"class":124,"line":1488},[14724],{"type":17,"tag":70,"props":14725,"children":14726},{},[14727],{"type":22,"value":14728},"info: program started at 2024-09-23 15:44:13\n",{"type":17,"tag":70,"props":14730,"children":14731},{"class":124,"line":1520},[14732],{"type":17,"tag":70,"props":14733,"children":14734},{},[14735],{"type":22,"value":14736},"info: user entered a as \"\u001b[15~b\"\n",{"type":17,"tag":70,"props":14738,"children":14739},{"class":124,"line":1546},[14740],{"type":17,"tag":70,"props":14741,"children":14742},{},[14743],{"type":22,"value":14658},{"type":17,"tag":70,"props":14745,"children":14746},{"class":124,"line":1555},[14747],{"type":17,"tag":70,"props":14748,"children":14749},{},[14750],{"type":22,"value":14751},"info: user entered a as \"2\"\n",{"type":17,"tag":70,"props":14753,"children":14754},{"class":124,"line":1563},[14755],{"type":17,"tag":70,"props":14756,"children":14757},{},[14758],{"type":22,"value":14759},"info: user entered b as \"a\"\n",{"type":17,"tag":70,"props":14761,"children":14762},{"class":124,"line":1589},[14763],{"type":17,"tag":70,"props":14764,"children":14765},{},[14766],{"type":22,"value":14697},{"type":17,"tag":70,"props":14768,"children":14769},{"class":124,"line":1598},[14770],{"type":17,"tag":70,"props":14771,"children":14772},{},[14773],{"type":22,"value":14774},"info: user entered b as \"10\"\n",{"type":17,"tag":70,"props":14776,"children":14777},{"class":124,"line":1636},[14778],{"type":17,"tag":70,"props":14779,"children":14780},{},[14781],{"type":22,"value":14782},"info: Calculation result: 2**10=1024\n",{"type":17,"tag":70,"props":14784,"children":14785},{"class":124,"line":1667},[14786],{"type":17,"tag":70,"props":14787,"children":14788},{},[14789],{"type":22,"value":14634},{"type":17,"tag":25,"props":14791,"children":14793},{"id":14792},"užduotys",[14794],{"type":22,"value":14795},"Užduotys",{"type":17,"tag":45,"props":14797,"children":14799},{"id":14798},"_1-teksto-dalių-kiekis",[14800],{"type":22,"value":14801},"1. Teksto dalių kiekis",{"type":17,"tag":18,"props":14803,"children":14804},{},[14805],{"type":22,"value":14806},"Suskaičiuokite, kiek simbolių, žodžių, sakinių sudaro žemiau pateiktą tekstą:",{"type":17,"tag":115,"props":14808,"children":14811},{"className":66,"code":14809,"filename":14810,"language":22,"meta":67,"style":67},"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vulputate tortor et accumsan porttitor. Fusce auctor consequat metus et sodales. Nam ac scelerisque ex, id condimentum velit. Donec eget mi sed mauris ultricies porta. Curabitur mollis est mauris, a faucibus metus interdum eu. Maecenas vel mi nunc. Nunc facilisis, dolor ut dapibus ultricies, nibh mauris condimentum eros, vel faucibus eros enim quis nunc. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.\n\nNullam at turpis eros. Donec eu hendrerit mi. In hac habitasse platea dictumst. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Curabitur et mattis felis. Curabitur commodo interdum nisi, nec lacinia risus scelerisque in. Lorem ipsum dolor sit amet, consectetur adipiscing elit.\n\nFusce sodales, felis eleifend fringilla condimentum, dui nibh ultricies elit, sit amet elementum risus metus id mi. Praesent dapibus sapien eu velit imperdiet, eget hendrerit neque porta. Quisque tincidunt enim odio, id maximus nunc placerat at. Nullam ac dui turpis. Nullam ultrices scelerisque posuere. Cras quis nunc ante. Donec lobortis, lorem ultricies consectetur dapibus, ipsum odio tristique leo, laoreet ornare velit turpis vitae libero. Fusce at elit vitae massa tincidunt condimentum eget ac urna.\n\nAenean scelerisque auctor sem, sit amet finibus tortor pellentesque sit amet. Mauris ut ante euismod mauris hendrerit iaculis eget vitae magna. Integer sapien nisl, porta a auctor. \n","lorem_ipsum.txt",[14812],{"type":17,"tag":64,"props":14813,"children":14814},{"__ignoreMap":67},[14815,14823,14830,14838,14845,14853,14860],{"type":17,"tag":70,"props":14816,"children":14817},{"class":124,"line":125},[14818],{"type":17,"tag":70,"props":14819,"children":14820},{},[14821],{"type":22,"value":14822},"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vulputate tortor et accumsan porttitor. Fusce auctor consequat metus et sodales. Nam ac scelerisque ex, id condimentum velit. Donec eget mi sed mauris ultricies porta. Curabitur mollis est mauris, a faucibus metus interdum eu. Maecenas vel mi nunc. Nunc facilisis, dolor ut dapibus ultricies, nibh mauris condimentum eros, vel faucibus eros enim quis nunc. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.\n",{"type":17,"tag":70,"props":14824,"children":14825},{"class":124,"line":699},[14826],{"type":17,"tag":70,"props":14827,"children":14828},{"emptyLinePlaceholder":4063},[14829],{"type":22,"value":4066},{"type":17,"tag":70,"props":14831,"children":14832},{"class":124,"line":723},[14833],{"type":17,"tag":70,"props":14834,"children":14835},{},[14836],{"type":22,"value":14837},"Nullam at turpis eros. Donec eu hendrerit mi. In hac habitasse platea dictumst. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Curabitur et mattis felis. Curabitur commodo interdum nisi, nec lacinia risus scelerisque in. Lorem ipsum dolor sit amet, consectetur adipiscing elit.\n",{"type":17,"tag":70,"props":14839,"children":14840},{"class":124,"line":747},[14841],{"type":17,"tag":70,"props":14842,"children":14843},{"emptyLinePlaceholder":4063},[14844],{"type":22,"value":4066},{"type":17,"tag":70,"props":14846,"children":14847},{"class":124,"line":1101},[14848],{"type":17,"tag":70,"props":14849,"children":14850},{},[14851],{"type":22,"value":14852},"Fusce sodales, felis eleifend fringilla condimentum, dui nibh ultricies elit, sit amet elementum risus metus id mi. Praesent dapibus sapien eu velit imperdiet, eget hendrerit neque porta. Quisque tincidunt enim odio, id maximus nunc placerat at. Nullam ac dui turpis. Nullam ultrices scelerisque posuere. Cras quis nunc ante. Donec lobortis, lorem ultricies consectetur dapibus, ipsum odio tristique leo, laoreet ornare velit turpis vitae libero. Fusce at elit vitae massa tincidunt condimentum eget ac urna.\n",{"type":17,"tag":70,"props":14854,"children":14855},{"class":124,"line":1139},[14856],{"type":17,"tag":70,"props":14857,"children":14858},{"emptyLinePlaceholder":4063},[14859],{"type":22,"value":4066},{"type":17,"tag":70,"props":14861,"children":14862},{"class":124,"line":1177},[14863],{"type":17,"tag":70,"props":14864,"children":14865},{},[14866],{"type":22,"value":14867},"Aenean scelerisque auctor sem, sit amet finibus tortor pellentesque sit amet. Mauris ut ante euismod mauris hendrerit iaculis eget vitae magna. Integer sapien nisl, porta a auctor.\n",{"type":17,"tag":45,"props":14869,"children":14871},{"id":14870},"_1-daugybos-lentelė",[14872],{"type":22,"value":14873},"1. Daugybos lentelė",{"type":17,"tag":18,"props":14875,"children":14876},{},[14877],{"type":22,"value":14878},"Sudarykite daugybos lentelę, šią lentelę išsaugokite faile. Lentelės dydis turi būti įvedamas naudotojo:",{"type":17,"tag":18,"props":14880,"children":14881},{},[14882],{"type":22,"value":14883},"Išvesties pavyzdys:",{"type":17,"tag":115,"props":14885,"children":14887},{"className":3773,"code":14886,"language":3775,"meta":67,"style":67},"Enter the size of the multiplication table: 13\nMultiplication table of size 13 saved to 'multiplication_table.txt'.\n",[14888],{"type":17,"tag":64,"props":14889,"children":14890},{"__ignoreMap":67},[14891,14899],{"type":17,"tag":70,"props":14892,"children":14893},{"class":124,"line":125},[14894],{"type":17,"tag":70,"props":14895,"children":14896},{"style":675},[14897],{"type":22,"value":14898},"Enter the size of the multiplication table: 13\n",{"type":17,"tag":70,"props":14900,"children":14901},{"class":124,"line":699},[14902],{"type":17,"tag":70,"props":14903,"children":14904},{"style":675},[14905],{"type":22,"value":14906},"Multiplication table of size 13 saved to 'multiplication_table.txt'.\n",{"type":17,"tag":18,"props":14908,"children":14909},{},[14910],{"type":22,"value":14911},"Rezultatų failo pavyzdys:",{"type":17,"tag":115,"props":14913,"children":14916},{"className":66,"code":14914,"filename":14915,"language":22,"meta":67,"style":67},"    ||   1 |   2 |   3 |   4 |   5 |   6 |   7 |   8 |   9 |  10 |  11 |  12 |  13\n----------------------------------------------------------------------------------\n  1 ||   1 |   2 |   3 |   4 |   5 |   6 |   7 |   8 |   9 |  10 |  11 |  12 |  13\n  2 ||   2 |   4 |   6 |   8 |  10 |  12 |  14 |  16 |  18 |  20 |  22 |  24 |  26\n  3 ||   3 |   6 |   9 |  12 |  15 |  18 |  21 |  24 |  27 |  30 |  33 |  36 |  39\n  4 ||   4 |   8 |  12 |  16 |  20 |  24 |  28 |  32 |  36 |  40 |  44 |  48 |  52\n  5 ||   5 |  10 |  15 |  20 |  25 |  30 |  35 |  40 |  45 |  50 |  55 |  60 |  65\n  6 ||   6 |  12 |  18 |  24 |  30 |  36 |  42 |  48 |  54 |  60 |  66 |  72 |  78\n  7 ||   7 |  14 |  21 |  28 |  35 |  42 |  49 |  56 |  63 |  70 |  77 |  84 |  91\n  8 ||   8 |  16 |  24 |  32 |  40 |  48 |  56 |  64 |  72 |  80 |  88 |  96 | 104\n  9 ||   9 |  18 |  27 |  36 |  45 |  54 |  63 |  72 |  81 |  90 |  99 | 108 | 117\n 10 ||  10 |  20 |  30 |  40 |  50 |  60 |  70 |  80 |  90 | 100 | 110 | 120 | 130\n 11 ||  11 |  22 |  33 |  44 |  55 |  66 |  77 |  88 |  99 | 110 | 121 | 132 | 143\n 12 ||  12 |  24 |  36 |  48 |  60 |  72 |  84 |  96 | 108 | 120 | 132 | 144 | 156\n 13 ||  13 |  26 |  39 |  52 |  65 |  78 |  91 | 104 | 117 | 130 | 143 | 156 | 169\n","multiplcation_table.txt",[14917],{"type":17,"tag":64,"props":14918,"children":14919},{"__ignoreMap":67},[14920,14928,14936,14944,14952,14960,14968,14976,14984,14992,15000,15008,15016,15024,15032],{"type":17,"tag":70,"props":14921,"children":14922},{"class":124,"line":125},[14923],{"type":17,"tag":70,"props":14924,"children":14925},{},[14926],{"type":22,"value":14927},"    ||   1 |   2 |   3 |   4 |   5 |   6 |   7 |   8 |   9 |  10 |  11 |  12 |  13\n",{"type":17,"tag":70,"props":14929,"children":14930},{"class":124,"line":699},[14931],{"type":17,"tag":70,"props":14932,"children":14933},{},[14934],{"type":22,"value":14935},"----------------------------------------------------------------------------------\n",{"type":17,"tag":70,"props":14937,"children":14938},{"class":124,"line":723},[14939],{"type":17,"tag":70,"props":14940,"children":14941},{},[14942],{"type":22,"value":14943},"  1 ||   1 |   2 |   3 |   4 |   5 |   6 |   7 |   8 |   9 |  10 |  11 |  12 |  13\n",{"type":17,"tag":70,"props":14945,"children":14946},{"class":124,"line":747},[14947],{"type":17,"tag":70,"props":14948,"children":14949},{},[14950],{"type":22,"value":14951},"  2 ||   2 |   4 |   6 |   8 |  10 |  12 |  14 |  16 |  18 |  20 |  22 |  24 |  26\n",{"type":17,"tag":70,"props":14953,"children":14954},{"class":124,"line":1101},[14955],{"type":17,"tag":70,"props":14956,"children":14957},{},[14958],{"type":22,"value":14959},"  3 ||   3 |   6 |   9 |  12 |  15 |  18 |  21 |  24 |  27 |  30 |  33 |  36 |  39\n",{"type":17,"tag":70,"props":14961,"children":14962},{"class":124,"line":1139},[14963],{"type":17,"tag":70,"props":14964,"children":14965},{},[14966],{"type":22,"value":14967},"  4 ||   4 |   8 |  12 |  16 |  20 |  24 |  28 |  32 |  36 |  40 |  44 |  48 |  52\n",{"type":17,"tag":70,"props":14969,"children":14970},{"class":124,"line":1177},[14971],{"type":17,"tag":70,"props":14972,"children":14973},{},[14974],{"type":22,"value":14975},"  5 ||   5 |  10 |  15 |  20 |  25 |  30 |  35 |  40 |  45 |  50 |  55 |  60 |  65\n",{"type":17,"tag":70,"props":14977,"children":14978},{"class":124,"line":1215},[14979],{"type":17,"tag":70,"props":14980,"children":14981},{},[14982],{"type":22,"value":14983},"  6 ||   6 |  12 |  18 |  24 |  30 |  36 |  42 |  48 |  54 |  60 |  66 |  72 |  78\n",{"type":17,"tag":70,"props":14985,"children":14986},{"class":124,"line":1240},[14987],{"type":17,"tag":70,"props":14988,"children":14989},{},[14990],{"type":22,"value":14991},"  7 ||   7 |  14 |  21 |  28 |  35 |  42 |  49 |  56 |  63 |  70 |  77 |  84 |  91\n",{"type":17,"tag":70,"props":14993,"children":14994},{"class":124,"line":1280},[14995],{"type":17,"tag":70,"props":14996,"children":14997},{},[14998],{"type":22,"value":14999},"  8 ||   8 |  16 |  24 |  32 |  40 |  48 |  56 |  64 |  72 |  80 |  88 |  96 | 104\n",{"type":17,"tag":70,"props":15001,"children":15002},{"class":124,"line":1318},[15003],{"type":17,"tag":70,"props":15004,"children":15005},{},[15006],{"type":22,"value":15007},"  9 ||   9 |  18 |  27 |  36 |  45 |  54 |  63 |  72 |  81 |  90 |  99 | 108 | 117\n",{"type":17,"tag":70,"props":15009,"children":15010},{"class":124,"line":1356},[15011],{"type":17,"tag":70,"props":15012,"children":15013},{},[15014],{"type":22,"value":15015}," 10 ||  10 |  20 |  30 |  40 |  50 |  60 |  70 |  80 |  90 | 100 | 110 | 120 | 130\n",{"type":17,"tag":70,"props":15017,"children":15018},{"class":124,"line":1391},[15019],{"type":17,"tag":70,"props":15020,"children":15021},{},[15022],{"type":22,"value":15023}," 11 ||  11 |  22 |  33 |  44 |  55 |  66 |  77 |  88 |  99 | 110 | 121 | 132 | 143\n",{"type":17,"tag":70,"props":15025,"children":15026},{"class":124,"line":1400},[15027],{"type":17,"tag":70,"props":15028,"children":15029},{},[15030],{"type":22,"value":15031}," 12 ||  12 |  24 |  36 |  48 |  60 |  72 |  84 |  96 | 108 | 120 | 132 | 144 | 156\n",{"type":17,"tag":70,"props":15033,"children":15034},{"class":124,"line":1425},[15035],{"type":17,"tag":70,"props":15036,"children":15037},{},[15038],{"type":22,"value":15039}," 13 ||  13 |  26 |  39 |  52 |  65 |  78 |  91 | 104 | 117 | 130 | 143 | 156 | 169\n",{"type":17,"tag":18,"props":15041,"children":15042},{},[15043],{"type":22,"value":15044},"Lentelės apipavidalinimą ir išvestį galite keisti savo nuožiūrą.",{"type":17,"tag":45,"props":15046,"children":15048},{"id":15047},"_2-netinkami-slaptažodžiai",[15049],{"type":22,"value":15050},"2. Netinkami slaptažodžiai",{"type":17,"tag":18,"props":15052,"children":15053},{},[15054],{"type":22,"value":15055},"Iš pateikto sąrašo atrinkite asmenis, kurių slaptažodžiai netinkami - slaptažodį sudaro 5 ir mažiau simboliai, ir juos pateikite atskirame rezultatų faile.",{"type":17,"tag":115,"props":15057,"children":15060},{"className":664,"code":15058,"filename":15059,"language":502,"meta":67,"style":67},"first_name,last_name,password,email\nBrook,Simonsen,p4IE,bsimonsen6@princeton.edu\nMagdalena,Goggins,b8vh,mgoggins7@japanpost.jp\nRiley,Freeburn,i0lLpM,rfreeburn8@so-net.ne.jp\nLelah,Deards,b1\u003Cf$#m1,ldeards9@foxnews.com\nKeslie,Fevers,v5l1qin4,kfeversa@123-reg.co.uk\nDarbie,Garland,d4Gd\u003C#$,dgarlandb@cbslocal.com\nMoselle,Adamou,e5$CNlH),madamouc@dot.gov\nYehudit,Darby,v3Kahb_.,ydarbyd@cbc.ca\nMan,Icom,z8P*,micome@fda.gov\nLeland,Eagland,n3*2Dl,leaglandf@sciencedirect.com\nJulienne,Viveash,q0Ei`N3,jviveashg@w3.org\nSharona,Danihel,u4UPd,sdanihelh@blog.com\nCarlina,Pressey,i8G'aiC!,cpresseyi@japanpost.jp\nMorley,Baty,x3~'Pk6,mbatyj@edublogs.org\n","passwords.csv",[15061],{"type":17,"tag":64,"props":15062,"children":15063},{"__ignoreMap":67},[15064,15085,15108,15131,15154,15177,15200,15223,15246,15269,15292,15315,15338,15361,15384],{"type":17,"tag":70,"props":15065,"children":15066},{"class":124,"line":125},[15067,15071,15075,15080],{"type":17,"tag":70,"props":15068,"children":15069},{"style":675},[15070],{"type":22,"value":834},{"type":17,"tag":70,"props":15072,"children":15073},{"style":681},[15074],{"type":22,"value":839},{"type":17,"tag":70,"props":15076,"children":15077},{"style":687},[15078],{"type":22,"value":15079},"password,",{"type":17,"tag":70,"props":15081,"children":15082},{"style":693},[15083],{"type":22,"value":15084},"email\n",{"type":17,"tag":70,"props":15086,"children":15087},{"class":124,"line":699},[15088,15093,15098,15103],{"type":17,"tag":70,"props":15089,"children":15090},{"style":675},[15091],{"type":22,"value":15092},"Brook,",{"type":17,"tag":70,"props":15094,"children":15095},{"style":681},[15096],{"type":22,"value":15097},"Simonsen,",{"type":17,"tag":70,"props":15099,"children":15100},{"style":687},[15101],{"type":22,"value":15102},"p4IE,",{"type":17,"tag":70,"props":15104,"children":15105},{"style":693},[15106],{"type":22,"value":15107},"bsimonsen6@princeton.edu\n",{"type":17,"tag":70,"props":15109,"children":15110},{"class":124,"line":723},[15111,15116,15121,15126],{"type":17,"tag":70,"props":15112,"children":15113},{"style":675},[15114],{"type":22,"value":15115},"Magdalena,",{"type":17,"tag":70,"props":15117,"children":15118},{"style":681},[15119],{"type":22,"value":15120},"Goggins,",{"type":17,"tag":70,"props":15122,"children":15123},{"style":687},[15124],{"type":22,"value":15125},"b8vh,",{"type":17,"tag":70,"props":15127,"children":15128},{"style":693},[15129],{"type":22,"value":15130},"mgoggins7@japanpost.jp\n",{"type":17,"tag":70,"props":15132,"children":15133},{"class":124,"line":747},[15134,15139,15144,15149],{"type":17,"tag":70,"props":15135,"children":15136},{"style":675},[15137],{"type":22,"value":15138},"Riley,",{"type":17,"tag":70,"props":15140,"children":15141},{"style":681},[15142],{"type":22,"value":15143},"Freeburn,",{"type":17,"tag":70,"props":15145,"children":15146},{"style":687},[15147],{"type":22,"value":15148},"i0lLpM,",{"type":17,"tag":70,"props":15150,"children":15151},{"style":693},[15152],{"type":22,"value":15153},"rfreeburn8@so-net.ne.jp\n",{"type":17,"tag":70,"props":15155,"children":15156},{"class":124,"line":1101},[15157,15162,15167,15172],{"type":17,"tag":70,"props":15158,"children":15159},{"style":675},[15160],{"type":22,"value":15161},"Lelah,",{"type":17,"tag":70,"props":15163,"children":15164},{"style":681},[15165],{"type":22,"value":15166},"Deards,",{"type":17,"tag":70,"props":15168,"children":15169},{"style":687},[15170],{"type":22,"value":15171},"b1\u003Cf$#m1,",{"type":17,"tag":70,"props":15173,"children":15174},{"style":693},[15175],{"type":22,"value":15176},"ldeards9@foxnews.com\n",{"type":17,"tag":70,"props":15178,"children":15179},{"class":124,"line":1139},[15180,15185,15190,15195],{"type":17,"tag":70,"props":15181,"children":15182},{"style":675},[15183],{"type":22,"value":15184},"Keslie,",{"type":17,"tag":70,"props":15186,"children":15187},{"style":681},[15188],{"type":22,"value":15189},"Fevers,",{"type":17,"tag":70,"props":15191,"children":15192},{"style":687},[15193],{"type":22,"value":15194},"v5l1qin4,",{"type":17,"tag":70,"props":15196,"children":15197},{"style":693},[15198],{"type":22,"value":15199},"kfeversa@123-reg.co.uk\n",{"type":17,"tag":70,"props":15201,"children":15202},{"class":124,"line":1177},[15203,15208,15213,15218],{"type":17,"tag":70,"props":15204,"children":15205},{"style":675},[15206],{"type":22,"value":15207},"Darbie,",{"type":17,"tag":70,"props":15209,"children":15210},{"style":681},[15211],{"type":22,"value":15212},"Garland,",{"type":17,"tag":70,"props":15214,"children":15215},{"style":687},[15216],{"type":22,"value":15217},"d4Gd\u003C#$,",{"type":17,"tag":70,"props":15219,"children":15220},{"style":693},[15221],{"type":22,"value":15222},"dgarlandb@cbslocal.com\n",{"type":17,"tag":70,"props":15224,"children":15225},{"class":124,"line":1215},[15226,15231,15236,15241],{"type":17,"tag":70,"props":15227,"children":15228},{"style":675},[15229],{"type":22,"value":15230},"Moselle,",{"type":17,"tag":70,"props":15232,"children":15233},{"style":681},[15234],{"type":22,"value":15235},"Adamou,",{"type":17,"tag":70,"props":15237,"children":15238},{"style":687},[15239],{"type":22,"value":15240},"e5$CNlH),",{"type":17,"tag":70,"props":15242,"children":15243},{"style":693},[15244],{"type":22,"value":15245},"madamouc@dot.gov\n",{"type":17,"tag":70,"props":15247,"children":15248},{"class":124,"line":1240},[15249,15254,15259,15264],{"type":17,"tag":70,"props":15250,"children":15251},{"style":675},[15252],{"type":22,"value":15253},"Yehudit,",{"type":17,"tag":70,"props":15255,"children":15256},{"style":681},[15257],{"type":22,"value":15258},"Darby,",{"type":17,"tag":70,"props":15260,"children":15261},{"style":687},[15262],{"type":22,"value":15263},"v3Kahb_.,",{"type":17,"tag":70,"props":15265,"children":15266},{"style":693},[15267],{"type":22,"value":15268},"ydarbyd@cbc.ca\n",{"type":17,"tag":70,"props":15270,"children":15271},{"class":124,"line":1280},[15272,15277,15282,15287],{"type":17,"tag":70,"props":15273,"children":15274},{"style":675},[15275],{"type":22,"value":15276},"Man,",{"type":17,"tag":70,"props":15278,"children":15279},{"style":681},[15280],{"type":22,"value":15281},"Icom,",{"type":17,"tag":70,"props":15283,"children":15284},{"style":687},[15285],{"type":22,"value":15286},"z8P*,",{"type":17,"tag":70,"props":15288,"children":15289},{"style":693},[15290],{"type":22,"value":15291},"micome@fda.gov\n",{"type":17,"tag":70,"props":15293,"children":15294},{"class":124,"line":1318},[15295,15300,15305,15310],{"type":17,"tag":70,"props":15296,"children":15297},{"style":675},[15298],{"type":22,"value":15299},"Leland,",{"type":17,"tag":70,"props":15301,"children":15302},{"style":681},[15303],{"type":22,"value":15304},"Eagland,",{"type":17,"tag":70,"props":15306,"children":15307},{"style":687},[15308],{"type":22,"value":15309},"n3*2Dl,",{"type":17,"tag":70,"props":15311,"children":15312},{"style":693},[15313],{"type":22,"value":15314},"leaglandf@sciencedirect.com\n",{"type":17,"tag":70,"props":15316,"children":15317},{"class":124,"line":1356},[15318,15323,15328,15333],{"type":17,"tag":70,"props":15319,"children":15320},{"style":675},[15321],{"type":22,"value":15322},"Julienne,",{"type":17,"tag":70,"props":15324,"children":15325},{"style":681},[15326],{"type":22,"value":15327},"Viveash,",{"type":17,"tag":70,"props":15329,"children":15330},{"style":687},[15331],{"type":22,"value":15332},"q0Ei`N3,",{"type":17,"tag":70,"props":15334,"children":15335},{"style":693},[15336],{"type":22,"value":15337},"jviveashg@w3.org\n",{"type":17,"tag":70,"props":15339,"children":15340},{"class":124,"line":1391},[15341,15346,15351,15356],{"type":17,"tag":70,"props":15342,"children":15343},{"style":675},[15344],{"type":22,"value":15345},"Sharona,",{"type":17,"tag":70,"props":15347,"children":15348},{"style":681},[15349],{"type":22,"value":15350},"Danihel,",{"type":17,"tag":70,"props":15352,"children":15353},{"style":687},[15354],{"type":22,"value":15355},"u4UPd,",{"type":17,"tag":70,"props":15357,"children":15358},{"style":693},[15359],{"type":22,"value":15360},"sdanihelh@blog.com\n",{"type":17,"tag":70,"props":15362,"children":15363},{"class":124,"line":1400},[15364,15369,15374,15379],{"type":17,"tag":70,"props":15365,"children":15366},{"style":675},[15367],{"type":22,"value":15368},"Carlina,",{"type":17,"tag":70,"props":15370,"children":15371},{"style":681},[15372],{"type":22,"value":15373},"Pressey,",{"type":17,"tag":70,"props":15375,"children":15376},{"style":687},[15377],{"type":22,"value":15378},"i8G'aiC!,",{"type":17,"tag":70,"props":15380,"children":15381},{"style":693},[15382],{"type":22,"value":15383},"cpresseyi@japanpost.jp\n",{"type":17,"tag":70,"props":15385,"children":15386},{"class":124,"line":1425},[15387,15392,15397,15402],{"type":17,"tag":70,"props":15388,"children":15389},{"style":675},[15390],{"type":22,"value":15391},"Morley,",{"type":17,"tag":70,"props":15393,"children":15394},{"style":681},[15395],{"type":22,"value":15396},"Baty,",{"type":17,"tag":70,"props":15398,"children":15399},{"style":687},[15400],{"type":22,"value":15401},"x3~'Pk6,",{"type":17,"tag":70,"props":15403,"children":15404},{"style":693},[15405],{"type":22,"value":15406},"mbatyj@edublogs.org\n",{"type":17,"tag":45,"props":15408,"children":15410},{"id":15409},"_3-defektai",[15411],{"type":22,"value":15412},"3. Defektai",{"type":17,"tag":18,"props":15414,"children":15415},{},[15416],{"type":22,"value":15417},"Gamybinė įmonė registruoja gamyboje įvykusius defektus, kurie registruojami kokybės kontrolės proceso metu. Duomenys apima tokią informaciją kaip defekto tipas, aptikimo data, vieta gaminyje, sunkumo lygis, naudojamas patikrinimo metodas ir remonto išlaidos.",{"type":17,"tag":18,"props":15419,"children":15420},{},[15421,15423,15430,15431],{"type":22,"value":15422},"Duomenis atsisiųskite iš ",{"type":17,"tag":6275,"props":15424,"children":15427},{"href":15425,"rel":15426},"https://drive.google.com/file/d/1HwYWDCK5CWYeEAXDzi0MWcmR8LjXUXlz/view?usp=sharing",[6279],[15428],{"type":22,"value":15429},"google drive",{"type":22,"value":2306},{"type":17,"tag":6275,"props":15432,"children":15435},{"href":15433,"rel":15434},"https://www.kaggle.com/datasets/fahmidachowdhury/manufacturing-defects/data",[6279],[15436],{"type":22,"value":15437},"kaggle.com",{"type":17,"tag":18,"props":15439,"children":15440},{},[15441,15443,15450],{"type":22,"value":15442},"Duomenys sudaryti iš 1000 eilučių ",{"type":17,"tag":64,"props":15444,"children":15445},{"className":3632,"language":3633,"style":67},[15446],{"type":17,"tag":70,"props":15447,"children":15448},{"style":675},[15449],{"type":22,"value":502},{"type":22,"value":15451}," formatu ir 10 stulpelių:",{"type":17,"tag":166,"props":15453,"children":15454},{},[15455,15465,15475,15485,15495,15505,15515,15525],{"type":17,"tag":170,"props":15456,"children":15457},{},[15458,15463],{"type":17,"tag":37,"props":15459,"children":15460},{},[15461],{"type":22,"value":15462},"defect_id",{"type":22,"value":15464},": unikalus defekto identifikatorius;",{"type":17,"tag":170,"props":15466,"children":15467},{},[15468,15473],{"type":17,"tag":37,"props":15469,"children":15470},{},[15471],{"type":22,"value":15472},"product_id",{"type":22,"value":15474},": produkto, kuriam įvyko defektas, identifikatorius;",{"type":17,"tag":170,"props":15476,"children":15477},{},[15478,15483],{"type":17,"tag":37,"props":15479,"children":15480},{},[15481],{"type":22,"value":15482},"defect_type",{"type":22,"value":15484},": defekto tipas;",{"type":17,"tag":170,"props":15486,"children":15487},{},[15488,15493],{"type":17,"tag":37,"props":15489,"children":15490},{},[15491],{"type":22,"value":15492},"defect_date",{"type":22,"value":15494},": defekto aptikimo data;",{"type":17,"tag":170,"props":15496,"children":15497},{},[15498,15503],{"type":17,"tag":37,"props":15499,"children":15500},{},[15501],{"type":22,"value":15502},"defect_location",{"type":22,"value":15504},": defekto lokacija produkte;",{"type":17,"tag":170,"props":15506,"children":15507},{},[15508,15513],{"type":17,"tag":37,"props":15509,"children":15510},{},[15511],{"type":22,"value":15512},"severity",{"type":22,"value":15514},": defekto sunkumo laipsnis;",{"type":17,"tag":170,"props":15516,"children":15517},{},[15518,15523],{"type":17,"tag":37,"props":15519,"children":15520},{},[15521],{"type":22,"value":15522},"inspection_method",{"type":22,"value":15524},": metodas naudotas defektui aptikti;",{"type":17,"tag":170,"props":15526,"children":15527},{},[15528,15533],{"type":17,"tag":37,"props":15529,"children":15530},{},[15531],{"type":22,"value":15532},"repair_cost",{"type":22,"value":15534},": patirti kaštai taisant defektą.",{"type":17,"tag":18,"props":15536,"children":15537},{},[15538],{"type":22,"value":15539},"Toliau pateiktos užduotys, kurias galite daryti vienoje programoje - faile.",{"type":17,"tag":3954,"props":15541,"children":15543},{"id":15542},"_41-defektų-kaina",[15544],{"type":22,"value":15545},"4.1 Defektų kaina",{"type":17,"tag":18,"props":15547,"children":15548},{},[15549],{"type":22,"value":15550},"Suskaičiuokite, kiek įmonei kainavo sutaisyti visus defektus. Rezultatą pateikite terminale.",{"type":17,"tag":3954,"props":15552,"children":15554},{"id":15553},"_42-vidutinė-defektų-kaina",[15555],{"type":22,"value":15556},"4.2 Vidutinė defektų kaina",{"type":17,"tag":18,"props":15558,"children":15559},{},[15560],{"type":22,"value":15561},"Suskaičiuokite, kiek įmonei vidutiškai kainuoja sutaisyti defektą. Rezultatą pateikite terminale.",{"type":17,"tag":3954,"props":15563,"children":15565},{"id":15564},"_43-brangiausias-defektas",[15566],{"type":22,"value":15567},"4.3 Brangiausias defektas",{"type":17,"tag":18,"props":15569,"children":15570},{},[15571],{"type":22,"value":15572},"Kokią didžiausią sumą įmonė išleido tvarkant defektą? Rezultatą pateikite terminale.",{"type":17,"tag":3954,"props":15574,"children":15576},{"id":15575},"_44-produktas-1",[15577],{"type":22,"value":15578},"4.4 Produktas 1",{"type":17,"tag":18,"props":15580,"children":15581},{},[15582,15584,15589],{"type":22,"value":15583},"Gamybos vadovas nori įdėmiai paanalizuoti produkto, kurio identifikatorius yra ",{"type":17,"tag":64,"props":15585,"children":15587},{"className":15586},[],[15588],{"type":22,"value":8661},{"type":22,"value":15590},", duomenis. Sukurkite failą, kuriame būtų pateikti šio produkto defektų duomenys.",{"type":17,"tag":3954,"props":15592,"children":15594},{"id":15593},"_45-defektai-pagal-tipą",[15595],{"type":22,"value":15596},"4.5 Defektai pagal tipą",{"type":17,"tag":18,"props":15598,"children":15599},{},[15600,15602,15610,15611,15619,15620,15628],{"type":22,"value":15601},"Žinoma, kad įmonė defektus skirsto į tris tipus: Structural, Functional, Cosmetic. Įmonėje šie defektai tvarkomi atskiruose padaliniuose. Padalinių vadovai prašo, kad duomenys apie defektus būtų pateikti tik tie, kurie priklauso jų padaliniui. Išskirstykite duomenis į tris atskirus failus: ",{"type":17,"tag":64,"props":15603,"children":15604},{"className":66,"language":22,"style":67},[15605],{"type":17,"tag":70,"props":15606,"children":15607},{},[15608],{"type":22,"value":15609},"structural.csv",{"type":22,"value":2212},{"type":17,"tag":64,"props":15612,"children":15613},{"className":66,"language":22,"style":67},[15614],{"type":17,"tag":70,"props":15615,"children":15616},{},[15617],{"type":22,"value":15618},"functional.csv",{"type":22,"value":2212},{"type":17,"tag":64,"props":15621,"children":15622},{"className":66,"language":22,"style":67},[15623],{"type":17,"tag":70,"props":15624,"children":15625},{},[15626],{"type":22,"value":15627},"cosmetic.csv",{"type":22,"value":43},{"type":17,"tag":3954,"props":15630,"children":15632},{"id":15631},"_46-defektų-išlaidų-dalis-pagal-tipą",[15633],{"type":22,"value":15634},"4.6 Defektų išlaidų dalis pagal tipą",{"type":17,"tag":18,"props":15636,"children":15637},{},[15638],{"type":22,"value":15639},"Žinoma, kad įmonė defektai aptinkami trijose lokacijose: Component, Internal, Surface. Kokią dalį tvarkymo išlaidų patiria įmonė pagal defekto aptikimo lokaciją? Rezultatą pateikite terminale.",{"type":17,"tag":45,"props":15641,"children":15643},{"id":15642},"_5-nešiojamų-kompiuterių-kainos",[15644],{"type":22,"value":15645},"5. Nešiojamų kompiuterių kainos",{"type":17,"tag":18,"props":15647,"children":15648},{},[15649,15651,15657,15658,15664],{"type":22,"value":15650},"Turime duomenis apie nešiojamų kompiuterių kainas, šiuos duomenis galite rasti ",{"type":17,"tag":6275,"props":15652,"children":15655},{"href":15653,"rel":15654},"https://drive.google.com/file/d/1-DmmaOdzTuLAPTMFn7MWGxNhKtPlFjlT/view?usp=drive_link",[6279],[15656],{"type":22,"value":15429},{"type":22,"value":2306},{"type":17,"tag":6275,"props":15659,"children":15662},{"href":15660,"rel":15661},"https://www.kaggle.com/datasets/owm4096/laptop-prices",[6279],[15663],{"type":22,"value":15437},{"type":22,"value":43},{"type":17,"tag":18,"props":15666,"children":15667},{},[15668],{"type":22,"value":15669},"Duomenų faile rasite 1275 eilutes ir 23 stulpelius.",{"type":17,"tag":166,"props":15671,"children":15672},{},[15673,15678,15683,15688,15693,15698,15703,15708,15713,15718,15723,15728,15733,15738,15743,15748,15753,15758,15763,15768,15773,15778,15783],{"type":17,"tag":170,"props":15674,"children":15675},{},[15676],{"type":22,"value":15677},"Company: nešiojamo kompiuterio gamintojas;",{"type":17,"tag":170,"props":15679,"children":15680},{},[15681],{"type":22,"value":15682},"Product: prekės ženklas ir modelis;",{"type":17,"tag":170,"props":15684,"children":15685},{},[15686],{"type":22,"value":15687},"TypeName: nešiojamo kompiuterio tipas (Notebook, Ultrabook, Gaming ir t.t.);",{"type":17,"tag":170,"props":15689,"children":15690},{},[15691],{"type":22,"value":15692},"Inches: ekrano dydis;",{"type":17,"tag":170,"props":15694,"children":15695},{},[15696],{"type":22,"value":15697},"Ram: RAM kiekis nešiojamame kompiuteryje (gigabaitais);",{"type":17,"tag":170,"props":15699,"children":15700},{},[15701],{"type":22,"value":15702},"OS: įrašyta operacinė sistema;",{"type":17,"tag":170,"props":15704,"children":15705},{},[15706],{"type":22,"value":15707},"Weight: svoris kilogramais;",{"type":17,"tag":170,"props":15709,"children":15710},{},[15711],{"type":22,"value":15712},"Price_euros: kaina eurais;",{"type":17,"tag":170,"props":15714,"children":15715},{},[15716],{"type":22,"value":15717},"Screen: ekrano raiška (Standard, Full HD, 4K Ultra HD, Quad HD+);",{"type":17,"tag":170,"props":15719,"children":15720},{},[15721],{"type":22,"value":15722},"ScreenW: ekrano plotis (pikseliais);",{"type":17,"tag":170,"props":15724,"children":15725},{},[15726],{"type":22,"value":15727},"ScreenH: ekrano aukštis (pikseliais);",{"type":17,"tag":170,"props":15729,"children":15730},{},[15731],{"type":22,"value":15732},"Touchscreen: ar nešiojamasis kompiuteris turi jutiklinį ekraną;",{"type":17,"tag":170,"props":15734,"children":15735},{},[15736],{"type":22,"value":15737},"IPSpanel: ar nešiojamasis kompiuteris turi IPS tipo ekraną;",{"type":17,"tag":170,"props":15739,"children":15740},{},[15741],{"type":22,"value":15742},"RetinaDisplay: ar nešiojamasis kompiuteris turi retina tipo ekraną;",{"type":17,"tag":170,"props":15744,"children":15745},{},[15746],{"type":22,"value":15747},"CPU_company: procesoriaus gamintojas;",{"type":17,"tag":170,"props":15749,"children":15750},{},[15751],{"type":22,"value":15752},"CPU_freq: procesoriaus dažnis;",{"type":17,"tag":170,"props":15754,"children":15755},{},[15756],{"type":22,"value":15757},"CPU_model: procesoriaus modelis;",{"type":17,"tag":170,"props":15759,"children":15760},{},[15761],{"type":22,"value":15762},"PrimaryStorage: pagrindinės atminties dydis (GB);",{"type":17,"tag":170,"props":15764,"children":15765},{},[15766],{"type":22,"value":15767},"PrimaryStorageType: pagrindinės atminties tipas (HDD, SSD, Flash Storage, Hybrid);",{"type":17,"tag":170,"props":15769,"children":15770},{},[15771],{"type":22,"value":15772},"SecondaryStorage: kitos atminties dydis, jeigu egzistuoja (GB);",{"type":17,"tag":170,"props":15774,"children":15775},{},[15776],{"type":22,"value":15777},"SecondaryStorageType: kitos atminties tipas, jeigu egzistuoja (HDD, SSD, Hybrid, None);",{"type":17,"tag":170,"props":15779,"children":15780},{},[15781],{"type":22,"value":15782},"GPU_company: vaizdo plokštės gamintojas;",{"type":17,"tag":170,"props":15784,"children":15785},{},[15786],{"type":22,"value":15787},"GPU_model: vaizdo plokštės modelis.",{"type":17,"tag":18,"props":15789,"children":15790},{},[15791],{"type":22,"value":15792},"Iš duomenų sudarykite ataskaitą (tekstinį failą), kuriame būtų:",{"type":17,"tag":166,"props":15794,"children":15795},{},[15796,15801,15806,15811,15816,15821],{"type":17,"tag":170,"props":15797,"children":15798},{},[15799],{"type":22,"value":15800},"Vidutinis kompiuterio svoris;",{"type":17,"tag":170,"props":15802,"children":15803},{},[15804],{"type":22,"value":15805},"Kompiuterių kiekis be operacinės sistemos;",{"type":17,"tag":170,"props":15807,"children":15808},{},[15809],{"type":22,"value":15810},"Vidutinė kompiuterio kaina;",{"type":17,"tag":170,"props":15812,"children":15813},{},[15814],{"type":22,"value":15815},"lentelė su TOP10 brangiausių nešiojamų kompiuterių (pateikti kainą, pavadinimą, ekrano dydį, operacinę sistemą);",{"type":17,"tag":170,"props":15817,"children":15818},{},[15819],{"type":22,"value":15820},"lentelė su TOP10 pigiausių nešiojamų kompiuterių (pateikti kainą, pavadinimą, ekrano dydį, operacinę sistemą);",{"type":17,"tag":170,"props":15822,"children":15823},{},[15824],{"type":22,"value":15825},"lentelė, kurioje kompiuterių kaina skiriasi ne daugiau nei 100 nuo vidurkio, procesorius yra i5 arba i7, o pagrindinė atmintis yra SSD tipo (pateikti kainą, pavadinimą, ekrano dydį, operacinę sistemą);",{"type":17,"tag":15827,"props":15828,"children":15829},"style",{},[15830],{"type":22,"value":15831},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":67,"searchDepth":699,"depth":699,"links":15833},[15834,15841,15849,15855,15860,15862,15867],{"id":27,"depth":699,"text":30,"children":15835},[15836,15837,15838,15839,15840],{"id":47,"depth":723,"text":50},{"id":486,"depth":723,"text":489},{"id":502,"depth":723,"text":41},{"id":921,"depth":723,"text":924},{"id":2362,"depth":723,"text":2365},{"id":3621,"depth":699,"text":3624,"children":15842},[15843,15845,15846,15848],{"id":3803,"depth":723,"text":15844},"readline()",{"id":5365,"depth":723,"text":5388},{"id":5496,"depth":723,"text":15847},"read()",{"id":5695,"depth":723,"text":5698},{"id":5914,"depth":699,"text":15850,"children":15851},"Failo uždarymas su close()",[15852,15853],{"id":6210,"depth":723,"text":6213},{"id":6308,"depth":723,"text":15854},"Raktažodis with",{"id":6722,"depth":699,"text":6725,"children":15856},[15857,15858,15859],{"id":7336,"depth":723,"text":7339},{"id":8068,"depth":723,"text":8071},{"id":9225,"depth":723,"text":9228},{"id":9683,"depth":699,"text":15861},"Metodo open() mode argumentas",{"id":10239,"depth":699,"text":10242,"children":15863},[15864,15866],{"id":11705,"depth":723,"text":15865},"Metodas writeLines()",{"id":12841,"depth":723,"text":12844},{"id":14792,"depth":699,"text":14795,"children":15868},[15869,15870,15871,15872,15873],{"id":14798,"depth":723,"text":14801},{"id":14870,"depth":723,"text":14873},{"id":15047,"depth":723,"text":15050},{"id":15409,"depth":723,"text":15412},{"id":15642,"depth":723,"text":15645},"markdown","content:lt:1.basics:2.lists:5.files_handling.md","content","lt/1.basics/2.lists/5.files_handling.md","lt/1.basics/2.lists/5.files_handling","md",[15881,15884],{"_path":15882,"title":15883},"/basics/lists/nested_loop","Ciklas cikle",{"_path":15885,"title":15886},"/basics/constructs/functions","Funkcijos",1734339588575]