Avatar
BottleTeams
3e0c0b7ec13c50a4b0bbb7ac8b750ff8ab0f13b80d8ff96e30499fd40cda8a9e
Pleb 🍾 Running the score up

Bitcoin: good enough for the Prime Minister

my_list_to_look_through = [2,7,1,9]

number_items_in_list_counter = 0

for x in my_list_to_look_through:

number_items_in_list_counter +=1

Every time the loop occurs it will iterate over the list to the next item. "x" can be any variable i, j,k, younginter, it's just a place holder. every time the loop executes it will add 1 to the number_items_in_list_counter. In this case it will equal 4.

Another example:

my_list_to_look_through = [2,7,1,9]

empty_container = [ ]

for x in my_list_to_look_through:

empty_container.append(x)

This will take the first item out of my_list_to_look_through and add it into the empty_container list. It will go through the loop, append 2 to empty_container, then 7, then 1, then 9.

Now

Previously defined

my_list_to_look_through = [2,7,1,9]

And our new container has the same

empty_container = [2,7,1,9]

lnbc3500n1pjaz5ctpp57nmkt38jr86xynld5kcg67yz9sjv9zkfcpjat29sn8t27ads040sdqqcqzzsxqrrs0sp548pf8nk7f8pmhdfpup0rlssshtfspzemg7wzllexg3xhlwvzaa6q9qyyssq8jzehnpagy7qkr384f7jdrm7tkkra5m7x08lgzg6jyu2u4xzycvkzhtpdzrdzeqa4v27jd2cahe2md2eghyyxhg9gq40m3t902u8jvsqhju0x7

Brilliant. Love Chris and his ability to ELI5. Calls the fiat system out as it is.

https://youtu.be/DX_bH5ig8vE?si=P3OskKMnMtoAAbo7