'Python List Manipulation' answer by @sergeyk by sergeyk

View this thread on steempeak.com
· @sergeyk ·
$0.32
'Python List Manipulation' answer by @sergeyk
Very good that I found this [course](https://steemit.com/hive-197809/@anyiglobal/steem-skillshare-python-list-manipulation-contest-or-create-a-list-of-8-fruits-you-know-access-the-5th-item-in-the-list-delete) here.
And it's very good that I found the community [Steem Skillshare](https://steemit.com/created/hive-197809) Here you can share your own or gain some knowledge and skills.

![](https://i.imgur.com/y3wFM7o.png)

I have long outlined a Python language to learn. But everything revolved around that some problems interfered. I often didn't like the development environment.
Everything changed when I saw the development environment [Thonny](https://thonny.org/). I think beginners will not have any questions.


Thanks to @anyiglobal in his post I saw [Vs Code] (https://code.visualstudio.com/) This is also a creation of Microsoft, but I do not understand: Is it Visual Studio or not? It seems a lighter analogue. I installed it too but for now returned to Thonny.

If @anyiglobal continues its lessons - I will finally learn Python)).

My decision in the screenshot above is very concise.

And now a more detailed explanation.
![](https://i.imgur.com/PCbSYlH.png)

Line №2 create a list of 8 elements (fruit names).

Line №5
Display the value of the fifth element of the list. But in square brackets is 4! This is because in a computer all numbering starts from zero. Just like the floors in England. So we were taught in school - The second floor is called the first floor))

Line №8
Delete the last element of the list - the eighth, and write the index one less.

Well, the line №11
Replace the first element (but index zero) with another value. The old meaning has disappeared and is now replaced by "grapefruit".

I invite @makcl and @golden-rain to study python with me in the lessons from @anyiglobal.
👍  , , , , , , , , , , ,
properties (23)
post_id94,618,312
authorsergeyk
permlinkpython-list-manipulation-answer-by-sergeyk
categoryhive-197809
json_metadata{"tags":["pythonlistcontest","betterlife","ukraine","thediarygame","steemexclusive","life"],"users":["anyiglobal","makcl","golden-rain"],"image":["https:\/\/i.imgur.com\/y3wFM7o.png","https:\/\/i.imgur.com\/PCbSYlH.png"],"links":["https:\/\/steemit.com\/hive-197809\/@anyiglobal\/steem-skillshare-python-list-manipulation-contest-or-create-a-list-of-8-fruits-you-know-access-the-5th-item-in-the-list-delete","https:\/\/steemit.com\/created\/hive-197809","https:\/\/thonny.org\/","https:\/\/code.visualstudio.com\/"],"app":"steemit\/0.2","format":"markdown"}
created2021-10-09 19:46:36
last_update2021-10-09 19:46:36
depth0
children6
net_rshares620,937,385,154
last_payout2021-10-16 19:46:36
cashout_time1969-12-31 23:59:59
total_payout_value0.161 SBD
curator_payout_value0.158 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length1,818
author_reputation26,034,878,518,689
root_title"'Python List Manipulation' answer by @sergeyk"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (12)
@makcl ·
где бы найти время на это)) тут буквально посты некогда писать)) но интересно .. попробую )) спасибо за приглашение :)
properties (22)
post_id94,618,694
authormakcl
permlinkr0q7ut
categoryhive-197809
json_metadata{"app":"steemit\/0.2"}
created2021-10-09 20:06:30
last_update2021-10-09 20:06:30
depth1
children2
net_rshares0
last_payout2021-10-16 20:06:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length118
author_reputation24,863,115,963,317
root_title"'Python List Manipulation' answer by @sergeyk"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@sergeyk ·
Ну пригласить кого-то надо было - это раз), я, типа, бросил кубик..
А время?? Его конечно не хватает всегда - это лишь вопрос приоритета.
Просто если совсем тема не интересна - это совсем другое дело
properties (22)
post_id94,618,844
authorsergeyk
permlinkr0q8fj
categoryhive-197809
json_metadata{"app":"steemit\/0.2"}
created2021-10-09 20:18:54
last_update2021-10-09 20:18:54
depth2
children1
net_rshares0
last_payout2021-10-16 20:18:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length199
author_reputation26,034,878,518,689
root_title"'Python List Manipulation' answer by @sergeyk"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@makcl ·
проблема с приглашением всегда актуальна ) сам постоянно кубик кидаю))
properties (22)
post_id94,619,006
authormakcl
permlinkr0q936
categoryhive-197809
json_metadata{"app":"steemit\/0.2"}
created2021-10-09 20:33:06
last_update2021-10-09 20:33:06
depth3
children0
net_rshares0
last_payout2021-10-16 20:33:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length70
author_reputation24,863,115,963,317
root_title"'Python List Manipulation' answer by @sergeyk"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@oadissin ·
Interesting python code for this contest.
I am thinking about the way users count in contrast with the system python utilizes to identify elements in the list "from zero". Wouldn't it be a source of confusion? if it is not clarified.
properties (22)
post_id94,620,673
authoroadissin
permlinkr0qg0t
categoryhive-197809
json_metadata{"app":"steemit\/0.2"}
created2021-10-09 23:02:57
last_update2021-10-09 23:02:57
depth1
children0
net_rshares0
last_payout2021-10-16 23:02:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length233
author_reputation223,872,113,856,834
root_title"'Python List Manipulation' answer by @sergeyk"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@anyiglobal ·
Thanks for taking part in this contest
properties (22)
post_id94,626,549
authoranyiglobal
permlinkr0qwqd
categoryhive-197809
json_metadata{"app":"steemit\/0.2"}
created2021-10-10 05:04:39
last_update2021-10-10 05:04:39
depth1
children0
net_rshares0
last_payout2021-10-17 05:04:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length38
author_reputation21,434,389,143,640
root_title"'Python List Manipulation' answer by @sergeyk"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@sergeyk ·
@ir3k нужно было позвать сюда двух друзей.... в след раз позву))
properties (22)
post_id94,640,973
authorsergeyk
permlinkr0rx80
categoryhive-197809
json_metadata{"users":["ir3k"],"app":"steemit\/0.2"}
created2021-10-10 18:12:00
last_update2021-10-10 18:12:00
depth1
children0
net_rshares0
last_payout2021-10-17 18:12:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length64
author_reputation26,034,878,518,689
root_title"'Python List Manipulation' answer by @sergeyk"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000