Python Tutorial 10 - Subsets of Lists

preview_player
Показать описание


~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~

🅑 Bitcoin - 3HnF1SWTzo1dCU7RwFLhgk7SYiVfV37Pbq
🅔 Eth - 0x350139af84b60d075a3a0379716040b63f6D3853
Рекомендации по теме
Комментарии
Автор

Also a test for viewers, when you create a list you can mix and match the types of quotations depending on your needs, such as:

todo_test = ['''I'm testing this theory
and also this one''', 'one two three', 4, 5, 6]
print (todo_test)

print (todo_test[0])

Which will have the output:
["I'm testing this theory\nand also this one", 'one two three', 4, 5, 6]
I'm testing this theory
and also this one

jelsaipo
Автор

Just a thought, a video on the differences between Python lists and arrays would be nice, as other programming backgrounds may confuse lists with the concept of arrays ;-)

Cheers! Great videos, keep it up.

jelsaipo
join shbcf.ru