uz
Feedback

Firibgarlarga uchmang! Telemetrio bunday kanallarni topadi va belgilaydi πŸ‘‰ Belgini koβ€˜rmoqchi boβ€˜lsangiz, obuna boβ€˜ling

Python Pioneers: A Beginner's Guide πŸ‡ͺπŸ‡Ή

Python Pioneers: A Beginner's Guide πŸ‡ͺπŸ‡Ή

Kanalga Telegram’da oβ€˜tish

Welcome to Python Pioneers: Empowering Ethiopian students to embark on their coding journey. πŸ“’ Channel: @python_pioneers πŸ‘₯ Group: @python_pioneers_com

Ko'proq ko'rsatish
Buy Ad
8 874
Obunachilar
Ma'lumot yo'q24 soatlar
-277 kun
-13630 kun
Postlar arxiv
2. Accessing List Using Slicing Operator Slicing αˆ›αˆˆα‰΅ α‹¨αŠ αŠ•α‹΅αŠ• main list sublist α‹ˆα‹­αˆ α‹¨αˆαˆˆαŒαŠ“α‰Έα‹αŠ• elements αˆˆα‹­α‰°αŠ• α‹¨αˆαŠ“α‹ˆαŒ£α‰ α‰΅ αˆ˜αŠ•αŒˆα‹΅ αŠα‹α’
Syntax :

list_name[start : stop : step] 
start : Sliceኑ ዬቡ αŠ₯αŠ•α‹°αˆšαŒ€αˆαˆ­ represent α‹«αˆ¨αŒ‹αˆ, default value 0 αŠα‹α’ stop : represents the end index where slice should end. ▫️allow α‹¨αˆšα‹°αˆ¨αŒ max value = (last index + 1 ) β–«οΈαˆαŠ•αˆ value αŠ«αˆα‰°αˆ°αŒ α‹ የ listαŠ‘αŠ• last element index as default α‹­α‹ˆαˆ΅α‹³αˆα’ step : slice α‰ αˆšα‹°αˆ¨αŒ‰ elements αˆ˜αˆ€αŠ¨αˆ α‹«αˆˆα‹αŠ• index value increment represent α‹«αˆ¨αŒ‹αˆ αŠ αŠ•α‹΅αŠ• list slice αŠ αˆ­αŒˆαŠ• α‹¨αˆαŠ“αŒˆαŠ˜α‹ αˆŒαˆ‹ list αŠα‹α’ i.e. it returns a list. #Slicing #Lists @python_pioneers
29 Iyul 2024, 13:56

Examples: Accessing Elements First Element:
my_list = [10, 20, 30, 40, 50]
print(my_list[0])  # Output: 10
Last Element:
print(my_list[-1])  # Output: 50
Third Element:
print(my_list[2])  # Output: 30
#Indexing #Examples #Lists @python_pioneers
29 Iyul 2024, 13:47

First Element:
my_list = [10, 20, 30, 40, 50] print(my_list[0]) # Output: 10
Last Element:
print(my_list[-1]) # Output: 50
Third Element:
print(my_list[2]) # Output: 30 ` #Examples #Indexing @python_pioneers
29 Iyul 2024, 13:45
29 Iyul 2024, ~13:45

Accessing Lists in Python α‰ Python ሡለ list αˆαŠ•αŠα‰΅αŠ“ α‰£αˆ…αˆͺያቡ αˆŒαˆ‹α‹ α‹°αŒαˆž αŠ₯αŠ•α‹΄α‰΅ αŠ₯αŠ•α‹°αˆšαˆαŒ αˆ© αŠ α‹­α‰°αŠ• αŠα‰ αˆ­α’ αŠ αˆαŠ• α‹°αŒαˆž α‹¨αŠ αŠ•α‹΅ list content αŠ₯αŠ•α‹΄α‰΅ access αˆ›αˆ¨αŒ αŠ₯αŠ•α‹°αˆαŠ•α‰½αˆ αŠ₯αŠ“α‹«αˆˆαŠ•α’ List access αˆˆαˆ›αˆ¨αŒ α‹¨αˆαŠ•αŒ α‰€αˆ›α‰Έα‹ α‹ˆα‹° 3 αˆ˜αŠ•αŒˆα‹Άα‰½ αŠ αˆ‰α‘ 1. By using indexing Indexing αˆ›αˆˆα‰΅ α‹¨αŠ αŠ•α‹΅αŠ• list element point α‹¨αˆαŠ“αˆ¨αŒα‰ α‰΅ αˆ˜αŠ•αŒˆα‹΅ αŠα‹α’
Syntax :
list_name[index_number]
Accessing the elements by index αˆ›αˆˆα‰΅, elements α‰ listኑ α‹αˆ΅αŒ₯ α‰£αˆ‰α‰ α‰΅ ቦታ access αˆ²α‹°αˆ¨αŒ‰ αŠα‹α’ Index α‹°αŒαˆž α‹¨αˆšαŒ€αˆαˆ¨α‹ ከ0 αŠα‹α’ α‹« αˆ›αˆˆα‰΅ α‹¨αŠ αŠ•α‹΅ list first element index ቁαŒ₯ሩ 0 αŠα‹α’ List index positive ም negative ም αˆŠαˆ†αŠ• α‹­α‰½αˆ‹αˆα’ Positive index indexing ከግራ α‹ˆα‹°α‰€αŠ αŠ₯αŠ•α‹°αˆ†αŠ α‹­αŠαŒαˆ¨αŠ“αˆ α‰ α‰°α‰ƒαˆ«αŠ’α‹ α‹°αŒαˆž negative index αŠ¨α‰€αŠ α‹ˆα‹° ግራ represent α‹«αˆ¨αŒ‹αˆα’ ...to be contd #AccessingLists #Indexing @python_pioneers
29 Iyul 2024, 13:34

➑️⏭ Next : Accessing a List in Python ⌚️8 : 30 EAT ...
29 Iyul 2024, 13:20

The skills and abilities that you possess won’t be useful if you’re not in the right environment. መልካም αˆαˆ½α‰΅ α‹­αˆαŠ•αˆ‹α‰½αˆ! #Quotes @p
The skills and abilities that you possess won’t be useful if you’re not in the right environment.
መልካም αˆαˆ½α‰΅ α‹­αˆαŠ•αˆ‹α‰½αˆ! #Quotes @python_pioneers
26 Iyul 2024, 14:54

αŠ αˆ΅α‰°αˆ›αˆͺ ታαˆͺክ αŠα‹ α‰ α‰΅αŒαˆ΅α‰΅ αŠ αŠ•α‰₯ቑቡ
What a Waste: A mother camel and her baby were lying down, soaking up the sun. The baby camel asked his mom, β€œWhy do we have these big bumps on our back?” The mom stopped to think and then said, β€œWe live in the desert where there is not much water available. Our humps store water to help us survive on long journeys. β€œ The baby camel then stopped to think and said, β€œWell, why do we have long legs with rounded feet?” His mother replied, β€œThey are meant to help us walk through sand.” The baby asked a third question, β€œWhy are my eyelashes so long?” The mother replied, β€œYour long eyelashes offer you protection from sand when it blows in the wind.” Finally, the baby said, β€œIf we have all of these natural abilities given to us to walk through the desert, what’s the use for camels in the Zoo?” The Moral:
The skills and abilities that you possess won’t be useful if you’re not in the right environment.
You’ve probably heard of a professional who ditched his or her career to follow their dreams–or the person who remains unfulfilled in their job, but doesn’t try to make a change. If you’re stuck in a career that isn’t the right fit, you have to do some self-reflection to realize where your strengths lie that are going to waste. Turn to people that you know the best as well as professionals in any given market so you can start thinking about what may be better for you. Think big and remain open to new ideas. #EnglishStories #Inspiration @python_pioneers @python_pioneers
26 Iyul 2024, 14:47

Wallpapers for Programmers #Wallpapers @python_pioneers
+9
Wallpapers for Programmers #Wallpapers @python_pioneers
26 Iyul 2024, 14:24

Repost from Code Tactics
photo content
26 Iyul 2024, 07:11
26 Iyul 2024, ~07:11

😁😁😁😁😁😁😁
26 Iyul 2024, 07:11
26 Iyul 2024, ~07:11

Good morning! πŸŒžπŸŒ„
25 Iyul 2024, 23:34

25 Iyul 2024, 23:33

25 Iyul 2024, 23:31
25 Iyul 2024, ~23:31

5. Why are lists preferred for storing a collection of data items in Python?
Anonymous voting
25 Iyul 2024, 14:00

4. Why are lists commonly used in Python?
Anonymous voting
25 Iyul 2024, 13:58

3. How do you create a list in Python?
Anonymous voting
25 Iyul 2024, 13:54

2. How do you create an empty list in Python?
Anonymous voting
25 Iyul 2024, 13:52

1. Which of the following statements is true about Python lists?
Anonymous voting
25 Iyul 2024, 13:49

Test your knowledge about basics of lists in python with theseπŸ‘‡ questions
25 Iyul 2024, 13:48

​​Good evening world! 🌎
25 Iyul 2024, 13:33