Python uzdevumu krājuma Līmenis 4.8
Задание 1
Veidojiet, izmantojot ciklus, šādu sarakstu:
python[
['x', 'x', 'x'],
['x', 'x', 'x'],
['x', 'x', 'x'],
]
Задание 2
Veidojiet, izmantojot ciklus, šādu sarakstu:
python[
[1, 2, 3],
[1, 2, 3],
[1, 2, 3],
[1, 2, 3],
[1, 2, 3],
]
Задание 3
Dota virkne:
python'''
text1
text2
text3
text4
text5
'''
Noņemiet no tās visas tukšās rindas, kas neatrodas ne sākumā, ne beigās:
python'''
text1
text2
text3
text4
text5
'''