22 of 100 menu

Python Taskbook Level 3.2

Using include, create the following list:

[1, 3, 5, 7, 9]

Two tuples are given:

tpl1 = (1, 2, 3) tpl2 = (4, 5, 6)

Combine these tuples into one:

(1, 2, 3, 4, 5, 6)

Two dictionaries are given:

dct1 = { 'a': 1, 'b': 2, } dct2 = { 'c': 3, 'd': 4, }

Combine these dictionaries into one:

{ 'a': 1, 'b': 2, 'c': 3, 'd': 4, }

There is a certain list given, for example, this one:

[1, 2, 3, 4, 5, 6]

Divide the sum of the first half of the elements in this list by the sum of the second half of the elements.

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