Python Pioneers: A Beginner's Guide 🇪🇹 – Telegram
Python Pioneers: A Beginner's Guide 🇪🇹
8.88K 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
5. What will be the output of the following code?

words = ["apple", "banana", "orange", "kiwi"]
print(max(words))


😁) "apple"
😭) "banana"
😢) "orange"
🤓) "kiwi"
😭1
6. What will be the output of the following code?

words = ["cat", "sheep", "elephant", "bird"]
print(min(words, key=len))

😁) "cat"
😭) "bird"
😢) "sheep"
🤓) "elephant"
😁2🤓1
Shake off problems:

A man and his donkey were on the way to grazing while the donkey fell into a huge pit. The man was shaken and tried hard to pull off his favorite donkey up to the ground.

Despite his strenuous attempts, he failed to bring the donkey back. But he can’t leave the donkey to starve and die with pain for days.

So he decided to bury him alive and make his death smoother. So he started pouring soil over the donkey in the pit. When he poured the soil, the donkey felt the load and shakes it off and he steps on it.

He does the same every time when the soil was poured on his body. In the end, he reached the ground level and easily walked away to graze in the green pastures.


Moral: Don’t choose to live with your problem. Just shake off your problems and stand on it and step up in life after learning from them. Every bad experience is a new learning. So get the positives out of it and work towards your goals.

#Stories

@python_pioneers
3🔥2
Memory of the past

This was our first post, at the time there were only 69 subscribers, but now there are so many ppl, who also become part of this family 🥰

ሁላችሁንም ስለ አብሮነታችሁ፣ የጉዟችን አካል ስለሆናችሁ እናመሰግናለን!

@python_pioneers
🔥3
Forwarded from Abiy Ahmed Ali 🇪🇹
በዲጂታል ኢትዮጵያ ጉዞ አንድ እመርታ የታየበት ደረጃ ላይ ደርሰናል። ኢትዮ ቴሌኮም ከቪዛ ኩባንያ ጋር በመተባበር በኢትዮዽያ የመጀመሪያውን በኪስ የሚያዝ 'ቨርቱዋል ቪዛ' ካርድ ብሎም የተሻሻለ የሀዋላ አገልግሎት በቪዛ ዳይሬክት እና በቴሌብር ረሚት አቅርቧል።

ቪዛ ዳይሬክት ከ190 ሀገራት በላይ ቀለል ያለ የገንዘብ ማዘዋወር አገልግሎትን በቴሌብር ቨርቱዋል ካርድ ቁጥር አማካኝነት የሚያቀላጥፍ ይሆናል። ይህ አዲስ አገልግሎት ከ47.55 ሚሊዮን በላይ የሆኑ የቴሌብር ተጠቃሚዎችን ያገለግላል። ኢትዮ ቴሌኮም ትልቅ ስራ ሰርቷል።

A significant milestone in our Digital Ethiopia journey has been achieved with Ethio telecom, in partnership with Visa Inc., launching the country's first wallet-based Virtual Visa Card and enhanced remittance services via Visa Direct and telebirr Remit.

Visa Direct facilitates easy money transfers to Ethiopia from over 190 countries using a telebirr virtual card number. This partnership supports over 47.55 million telebirr users and advances Ethiopia's digital financial services. Well done to EthioTelecom!
👍1
Let's have some fun😊
🤣4
What are Tuples?

Tuple በpython የobjects ስብስብ ሲሆን ባለፈው እንደተማርነው we can't change the order of the items in it.


Objectኦቹ strings, lists, tuples, integers etc. ሊሆኑ ይችላሉ።

የTuple insertion characteristics preserved ነው፣ once elements ካስቀመጥን we can't modify them.

Elements ከtuple የምናገኘው መጀመሪያ ባስቀመጥንበት order ነው።

Immutable: Once if we create a tuple object, then we cannot modify the content of the tuple object.

ከlist የሚለያቸው ነገር ቢኖር ይህ ነው ፡ immutable መሆናቸው።


Tuple duplicate data store ማረግ ይችላል unlike set.

Tuple ተመሳሳይም ሆነ የተለያየ data type store ያረጋሉ እንደ list ማለት ነው

to be cont'd...

#Tuple

@python_pioneers
👍4
Difference between Tuple and List

@python_pioneers
👍3
ደህና ዋላችሁ ቤተሰቦች!

ዛሬ ችግኝ ተከላችሁ ወይ?
Anonymous Poll
14%
አዎ
86%
አይ
Tuple የምንፈጥርባቸው ብዙ መንገዶች አሉ ፣ like

1. By using tuple() function
2. By manually inserting the elements inside a parenthesis

ለምሳሌ :
my_tuple = ("Monday", "Tuesday" "Wednesday")

ወይም range function inside tuple function በመጠቀም a tuple of numbers መፍጠር እንችላለን።

የTuple ጥቅሞች ውስጥ packing እና unpacking ትልቁን ድርሻ ይወስዳሉ።

Packing

We can create a tuple by packing a group of variables.

Syntax :
tuple_name = elements

ለምሳሌ :
a, b, c, d = 10, 20, 30, 40
my_tuple = a, b, c, d
print(my_tuple)

#Output: (10, 20, 30, 40)

Unpacking

Tuple unpacking is the reverse process of tuple packing, we can unpack a tuple and assign its values to different variables.

Syntax :
elements = tuple_name

ለምሳሌ :
my_tuple = (10, 20, 30, 40)
a, b, c, d = my_tuple

print(" a =", a, " b =", b, " c =", c, " d =", d)

#Output : a = 10 b = 20 c = 30 d = 40

Tuple unpacking በመጠቀም multiple variables በአንድ ጊዜ declare ማድረግ እንችላለን።


#Tuple

@python_pioneers
Tomorrow, we will be building a simple Python number guessing game to ensure you gain deep and applicable knowledge from what you're learning.

#NumberGuessingGame

@python_pioneers
Media is too big
VIEW IN TELEGRAM
ትላንት ባልነው መሠረት here is our simple number guessing game python code.

ስለ codeኡ አሰራር ከስር እንጽፋለን...

#Game
#GuessGame

@python_pioneers
👍1