ch
Feedback

不要被骗子欺骗!Telemetrio 会找到并标记这些频道 👉 如果想查看标记,请订阅

Python Pioneers: A Beginner's Guide 🇪🇹

Python Pioneers: A Beginner's Guide 🇪🇹

前往频道在 Telegram

Welcome to Python Pioneers: Empowering Ethiopian students to embark on their coding journey. 📢 Channel: @python_pioneers 👥 Group: @python_pioneers_com

显示更多
Buy Ad
8 874
订阅者
无数据24 小时
-277 天
-13630 天
帖子存档
Good evening! ✨
25 7月 2024, 13:29
25 7月 2024, ~13:29

...contd
How to create a List?
List create ለማረግ ብዙ አይነት መንገዶች አሉ፣ እስኪ በምሳሌ እንመልከታቸው: 1. Using square brackets በpython list square brackets በመጠቀም መፍጠር እንችላለን፣ የlistኡን elements ደግሞ በcomma እንለያያቸዋለን። Syntax : list_name = [elements] ለምሳሌ:
my_list = [1, 2, 3, 4, 5]
2. Using list() function ሁለተኛው list መፍጠሪያ መንገድ ደግሞ list() የሚባል built-in function በመጠቀም ነው። ይሄን ደግሞ የምንጠቀመው ከተለያዩ data types like : strings, set, tuple ...etc list መፍጠር ስንፈልግ ነው። Set, tuple, Dictionary -> በቀጣይ እንማራቸዋለን ለምሳሌ:
name = "ABEBE"

my_list = list(name)

print(my_list) # Output : ['A',  'B',  'E', 'B', 'E']
3. Using list() and range() function የrange() function sequence of numbers create ያረጋል፣ starting from 0 by default, and increments by 1 (by default), እና specified ከሆነው ቁጥር በፊት ይቆማል። ...to be contd #Lists @python_pioneers @python_pioneers
24 7月 2024, 13:56

Introduction to List አንድ ፕሮግራም በምንጽፍበት ጊዜ ብዙ መረጃዎችን store እናረጋለን ከዚያም እነዚያ መረጃዎች manage ለማድረግ የሚያስቸግሩ ይሆናሉ። እነሱን ደግሞ retrieve ማረግ ፣ ማውጣት፣ ማግኘት እና መጠቀም በጣም ከባድ ይሆናል። ስለዚህ እነዚያን መረጃዎች በቡድን/በመመደብ/ ከዚያም በአንድ variable ውስጥ store ማረግ አለብን። በProgramming ውስጥ, ይህ ሂደት እንደ Data structure ይባላል።
Data Structure is a particular way of organizing data in a computer so that it can be used effectively.
የ List ባህሪያት 1. Lists ተመሳሳይ ወይም የተለያየ (heterogeneous) data types store ማድረግ ይችላሉ 2. Lists dynamic ናቸው ማለትም we don't need to mention the size of the list while declaring. 3. Order is preserved, ወይም indert ያረግነውን data as long as there are no modifications to the list በተመሳሳይ order ነው outputኡንም የምናገኘው። 4. Lists duplicate የሆነ element መያዝ ይችላሉ 5. In lists ዋናውን ማና የሚጫወተው index ነው፣ Index በመጠቀም ነው የlistአን elements access የምናረገው (ስለ index በቀጣይ እናያለን) 6. List objects mutable ናቸው ማለትም listኡ ከተፈጠረ በኋላ የlistኡን content modify ማረግ ወይም መቀየር እንችላለን። ...to be contd #Lists @python_pioneers @python_pioneers
24 7月 2024, 13:36

⌚ 8 : 30
24 7月 2024, 12:15

በጎፋ ዞን በናዳ አደጋ ለተፈናቀሉና ለተጎዱ የህብረተሰብ ክፍሎች ድጋፍ እናድርግ፣ በህይወት ለተረፉት እንድረስላቸው በዞኑ የአደጋ ጊዜ ዝግጁነት ማቋቋሚያ : የኢትዮጵያ ንግድ ባንክ ሂሳብ ቁጥር 100
በጎፋ ዞን በናዳ አደጋ ለተፈናቀሉና ለተጎዱ የህብረተሰብ ክፍሎች ድጋፍ እናድርግ፣ በህይወት ለተረፉት እንድረስላቸው በዞኑ የአደጋ ጊዜ ዝግጁነት ማቋቋሚያ : የኢትዮጵያ ንግድ ባንክ ሂሳብ ቁጥር 1000511561276 ላይ ድጋፍ እንዲያደርጉ ተጠይቀዋል። እስካሁን 230 ሰዎች ህይወት በዚህ አደጋ አልፏል : :
24 7月 2024, 02:57

💻🖥⌨💻💻⌨💻🖥💻⌨⌨ በቀጣይ => LISTS IN PYTHON በቀጣይ በPython List ምን እንደሆነ፣ ለምን እንደሚያስፈልገንና እንዴት መጠቀም እንዳለብን እንማራለን። Stay tuned! @
💻🖥⌨💻💻⌨💻🖥💻⌨⌨ በቀጣይ => LISTS IN PYTHON በቀጣይ በPython List ምን እንደሆነ፣ ለምን እንደሚያስፈልገንና እንዴት መጠቀም እንዳለብን እንማራለን። Stay tuned! @python_pioneers @python_pioneers
24 7月 2024, 02:34

THE ONLY WAY TO AVOID MISTAKES IS TO GAIN EXPERIENCE; THE ONLY WAY TO GAIN EXPERIENCE IS BY MAKING MISTAKES. This quote remin
THE ONLY WAY TO AVOID MISTAKES IS TO GAIN EXPERIENCE; THE ONLY WAY TO GAIN EXPERIENCE IS BY MAKING MISTAKES.
This quote reminds us that mistakes are an integral part of the process of learning and growth. መልካም ምሽት ይሁንላችሁ! #Quotes -> @Gr8r_Abb 💬 Buzz Quotes @python_pioneers
22 7月 2024, 14:36

Google or Googol The name Google was created accidentally, it was originally supposed to be named ‘Googol’. (Googol is the di
Google or Googol The name Google was created accidentally, it was originally supposed to be named ‘Googol’. (Googol is the digit 1 followed by 100 zeroes). The founders checked to see if that domain name was taken, but accidentally searched for ‘google.com’ instead of ‘googol.com’. They liked that name even better and registered the domain name on September 15, 1997 #Facts #Google @python_pioneers
22 7月 2024, 14:26

You're gonna write a python program that processes numbers from 1 to 20 and follow these rules. 1. Skip (continue) numbers that are divisible by 3. 2. Stop (break) the loop if the number is greater than 15. Print all the other numbers እስቲ ሞክሩት #Exercise @python_pioneers
22 7月 2024, 13:47

5. Which of the following statements about the pass statement in Python is true?
Anonymous voting
22 7月 2024, 13:23

4. What will be the output of the following code?
   x = 5
   while x > 0:
       x -= 1
       if x == 2:
           continue
       print(x)
   
- A) 4 3 2 1 0 - B) 4 3 1 0 - C) 5 4 3 2 1 - D) 5 4 3 1 0
22 7月 2024, 13:22

3. Which keyword is used to skip the rest of the code inside the loop for the current iteration only?
Anonymous voting
22 7月 2024, 13:20

2. What will be the output of the following code?
   for i in range(5):
       if i == 3:
           break
       print(i)
   
- A) 0 1 2 - B) 0 1 2 3 - C) 0 1 2 3 4 - D) None of the above
22 7月 2024, 13:19

1. Which of the following statements is true about the if statement in Python?
Anonymous voting
22 7月 2024, 13:18

እስኪ እነዚህን ከflow control modifiers የወጡ ጥያቄዎችን ሞክሯቸው⏭️
22 7月 2024, 13:16

...contd 3. pass Statement** It is a no-operation statement in Python pass statementን የምንጠቀመው እንደ place holder ነው። ማለትም የሆነ code እየፃፋችሁ ከሆነ ግዜ በኃላ የምትጨምሩት line of code ካለ 'pass' ን እንደ place holder ትጠቀሙታላችሁ። - ለምሳሌ:
  if condition:
      pass  # To be implemented later
  
4. else Clause with Loops else clause ከloop ጋር መጠቀም እንችላለን፣ as long as a break statement is not used. - ለምሳሌ:
  for i in range(5):
      print(i)
  else:
      print("Loop completed")  # This will be printed because the loop was not terminated by a break
  
- ምሳሌ : elseን after break ስንጠቀም:
  for i in range(5):
      if i == 3:
          break
      print(i)
  else:
      print("Loop completed")  # This will not be printed because the loop was terminated by a break
  
እነዚህን control flow modifiers መረዳት የloops እና conditionals flow manage በማረግ efficient እና readable code መፃፍ እንድትችሉ ይረዳችኋል። #pass #break @python_pioneers @python_pioneers
22 7月 2024, 12:49

Control Flow Modifiers in Python በpython Control flow modifiers የምንላቸው በloop ወይም በconditional statements ውስጥ ከገቡ normal flow of executionን የሚቀይሩ statementኦች ናቸው። እነዚህም modifiers እነ break, continue, እና pass ናቸው 1. break Statement ይህን የ break statement የምንጠቀመው አንድን loop prematurely ወይም መጨረሻ ላይ ሳይደርስ ለማቆም ስንፈልግ ነው። እናም loopኡ terminate ያረግና ከloopኡ ቀጥሎ መጀመሪያ ያለው line of code executed ይሆናል። - ለምሳሌ:
  for i in range(10):
      if i == 4:
          break
      print(i)  # Output: 0, 1, 2, 3
  
2. continue Statement ይህኛው modifier ደግሞ የloopኡ current iteration ውስጥ ያለውን code ዘለን ወደ ቀጣይ iteration ለማለፍ ስንፈልግ እንጠቀመዋለን። loopኡን terminate አያረገውም ፣ it just skips the remaining code for the current iteration. - ለምሳሌ:
  for i in range(10):
      if i % 2 == 0:
          continue
      print(i)  # Output: 1, 3, 5, 7, 9
  
#break #continue @python_pioneers @python_pioneers
22 7月 2024, 12:32

ሰላም እንደምን ቆያችሁ የቻነላችን @python_pioneers Subscribers! ሳንገናኝ ብዙ ቆይተናል ግን በዚህ ክረምት ትምህርታችንን እንቀጥላለን፣ ማንኛውም አይነት ጥያቄ ወይም ይሄን ብታረጉ፣
ሰላም እንደምን ቆያችሁ የቻነላችን @python_pioneers Subscribers! ሳንገናኝ ብዙ ቆይተናል ግን በዚህ ክረምት ትምህርታችንን እንቀጥላለን፣ ማንኛውም አይነት ጥያቄ ወይም ይሄን ብታረጉ፣ ብትጨምሩ ብላችሁ የምታስቡትን suggestion ከመስጠት ወደዃላ አትበሉ። በዚህ ክረምት እዚህ ቻነል ላይ የሚፃፉ ኮንተንቶች: ▫️Contd lessons on Python ▫️Award-winning questions and quizzes ▫️Tech related news ▫️Live sessions ▫️Daily inspiring quotes ▫️Tech related stuffs ▫️... በዚህ ክረምት ፕሮግራምንግ የመማር ሀሳብ ካላችሁ ይህ ቻነል አሪፍ ነው፣ ከእኛ ጋር በመማር ክረምታችሁን ፍሬያማ እንደምታደርጉም እርግጠኞች ነን።
መልካም ጊዜ ይሁንላችሁ!
@python_pioneers @python_pioneers
21 7月 2024, 06:24

04 7月 2024, 00:43
04 7月 2024, ~00:43

Repost from Code Tactics
+5
Fundamentals Of Python First Programs #Book #Python
03 7月 2024, 00:49