72 of 100 menu

Python Taskbook Level 8.2

Given some URL:

url = 'http://test.com/dir1/dir2/dir3/page.html';

Get the page name from it:

'page.html';

Given a list, the sublists of which contain numbers:

[ [1, 2, 3], [4, 5, 6], [7, 8, 9], ]

Merge the elements of this list into numbers:

[123, 456, 789]

Display the following pyramid on the screen:

xx
xxxx
xxxxxx
xxxxxxxx
xxxxxxxxxx
English
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaShqipСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline