Python Pioneers: A Beginner's Guide 🇪🇹 – Telegram
Python Pioneers: A Beginner's Guide 🇪🇹
8.89K subscribers
345 photos
39 videos
24 files
61 links
Welcome to Python Pioneers: Empowering Ethiopian students to embark on their coding journey. 🚀🌐🗺📱🖥💻🖱🛰

DM 📩 : @MntsntZP
Download Telegram
Fun_damentals_of_Python_Book_by_Bemnet_Girma_1715444510.pdf
10.6 MB
For Python beginners, this book is a must-have.

-Someone

#Books

@python_pioneers
👍41
Forwarded from ATC NEWS (MuJa. M)
🚀 Gain the Skills and International Certifications You Need for Remote Work 🌍

Upwork, Toptal, and more - ever wondered what it takes to secure remote work through these top platforms?

Discover ALX’s dynamic online tech courses, tailored to meet today’s job market demands. Whether you’re starting out or looking to deepen your expertise, we offer a variety of courses, including:

AWS Cloud Computing
Back-End Web Development
Front-End Web Development
Data Analytics
Salesforce

💡 Start with our 100% free, two-month-long “ALX Foundations” program - a gateway to these advanced courses for a nominal admin fee! 🔥

🌟 Ready to lead in the tech industry? Secure your spot now at www.alxethiopia.com.

Let’s ignite your career journey!
Application deadline: July 2nd, 2024
#InnovateYourPath #FutureReady #SkillUp
👍1
Forwarded from Code Tactics (𓄂𝕾𝖈𝖔𝖗𝖕𝖎𝕯𝖊𝖛)
👍3
ሰላም እንደምን ቆያችሁ የቻነላችን። የ @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
👍41
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

..to be contd

#break
#continue

@python_pioneers
@python_pioneers
3
...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
🔥1
እስኪ እነዚህን ከflow control modifiers የወጡ ጥያቄዎችን ሞክሯቸው⏭️
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
👍1
3. Which keyword is used to skip the rest of the code inside the loop for the current iteration only?
Anonymous Quiz
4%
A) skip
43%
B) break
43%
C) continue
9%
D) pass
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
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

You can use for loop to iterate through the numbers 1 to 20

እስቲ ሞክሩት

#Exercise

@python_pioneers
👍2