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
8. What is the result of 15 + 6 * 3 in Python?
Anonymous Quiz
5%
A) 27
82%
B) 33
4%
C) 39
9%
D) 45
👍1
9. What is the result of (17 - 6) / 2 in Python?
Anonymous Quiz
77%
A) 5.5
11%
B) 6
7%
C) 6.5
5%
D) 7
10. What is the result of 20 % 3 in Python?
Anonymous Quiz
6%
A) 1
76%
B) 2
11%
C) 3
6%
D) 4
ጥያቄዎቹ ቀላል ነበሩ አይደል😊 👍 or 👎
👍16👎2
Good Morning ሰዎች! እስቲ ይህችን አጭር አስተማሪ ታሪክ አንብቧት።

You get what you give:

Once, there was a farmer who regularly sold butter to a baker. One day, the baker decided to weigh the butter to see if he was getting the exact amount that he asked for. He found out that he wasn’t, so he took the farmer to court.

The judge asked the farmer if he uses any measure to weigh the butter. The farmer replied, ‘Your Honor, I’m primitive. I don’t have a proper measure, but I do have a scale.’

The judge replied, “Then how do you weigh the butter?”

The farmer replied; “Your Honor, long before the baker started buying butter from me, I have been buying a pound loaf of bread from him. Every day, when the baker brings the bread, I put it on the scale and give him the same weight in butter. If anyone is to be blamed, it’s the baker.’

Moral of the story:In life, you get what you give. Don’t try to cheat others.

መልካም ቀን ይሁንላችሁ!

#EnglishStories

@python_pioneers
@python_pioneers
5👏3👍1
Our next lesson will be about Indentation in Python! Make sure to join us to learn more about this important concept in programming.

Pythonን በአማርኛ ከእኛ ጋር ይማሩ!

@python_pioneers
@python_pioneers
👍1
⚡️⚡️⚡️⚡️⚡️⚡️⚡️⚡️⚡️⚡️⚡️⚡️
INDENTATION IN PYTHON

Indentation ወይም (code ስንፅፍ ገባ ብሎ መጀመር) በሌሎች programming languages ለreadability ነው ምንጠቀመው ( code በቀላሉ እንድነበብልን ማለት ነው)

ነገር ግን በPython indentation ለreadability ብቻ ሳይሆን የቋንቋው syntax መሰረታዊ ገፅታ ነው።

1. Indentation Basics::

- Indentation የcode blocks ስፋት ምን ያህል እንደሆነ ለማሳየት ይጠቅማል

- It's typically አራት spaces per level of indentation, ግን አንዳንድ ሰው ደግሞ tab prefer ያረጋል (which are equivalent to four spaces in python).

- Consistent indentation is crucial for Python code to function correctly.

2. Code Blocks:

- Code blocks የምንላቸው አንድ ላይ grouped የሆኑ codes section ነው። ለምሳሌ within loops, conditionals, and functions

- በPython, code blocks defined የሚሆኑት እንደሌሎች programming languages በcurly braces ('{}') ወይም በkey words ሳይሆን በindentation ነው።

3. Example:


   if condition:
# This block is indented under the if statement.
statement1
statement2
else:
# This block is indented under the else statement.
statement3


4. Indentation Errors:

- በትክክል indent አለማድረግ እና spaces and tabs mix ማድረግ syntax error እንዲፈጠር ያደርጋል።

- Python በፃፍነው code ውስጥ የindentation ችግር ካለ 'IndentationError' raise ያደርጋል።

5. Best Practices:

- Use a consistent indentation style throughout your codebase.

- Most Python codebases use four spaces for each level of indentation.

- Use an editor or IDE that automatically converts tabs to spaces to avoid indentation issues.

Remember, በpython indentation የፃፍነው code እንዲነበብ ለማድረግ ብቻ የሚጠቅም ሳይሆን የቋንቋው በጣም አስፈላጊ የsyntax part ነው፣ እናም you have to pay attention to it.


@python_pioneers
@python_pioneers
21
I hope your day has been full of joy, productivity, and meaningful moments.

የዛሬ ቀን እንዴት ነበር ያለፈው - መልሳችሁን በreaction ግለፁልን:

😁 - Happy
😭 - Sad
🥰 - Love
😠 - Angry
🤔 - I don't know

@python_pioneers
😁8🥰3👨‍💻2🤷2🔥1
Lines & Indentation
👍3

ዛሬ ማታ የ25 ብር የዓየር ሰዓት የሚያሸልም ከPython quiz ይኖረናል።

እንዳያመልጣችሁ!

: 8 : 00 PM EAT

@python_pioneers
Forwarded from Tabir Crypto
🤔 ይህን ታውቃላችሁ ?

📌 በኮምፒዩተር ፕሮግራም ውስጥ ያለውን ችግር ለመግለጥ " bug '' የሚለው ቃል በ1947 የ computer scientist Grace Hopper በ Mark II ኮምፒዩተር ላይ ችግር የሚፈጥር የእሳት ራት ስታገኝ በ logbook ላይ ፣ " debugging " ብላ ነበር 🤗

በዚህም bug እና debug ታዋቂ ቃላት ሆነዋል

አስገራሚ የ programming አጫጭር እውነታዎችን እንዲሁም quiz ለማግኘት

🫴🫴🫴🫴🫴🫴🫴🫴🫴

@Birranaye
@Birranaye

🙄🙄🙄🙄🙄🙄🙄
Please open Telegram to view this post
VIEW IN TELEGRAM
ዝግጁ
መሆናችሁን
👍
ግለፁልን
👍10
1 Min to go!

አሸናፊ የሚሆነው ሰው አብዛኛውን ጥያቄ በአጭር ጊዜ የመለሰ ነው።

መልካም እድል!
🎲 Quiz 'Python Quiz 1'
This quiz is created by Python Pioneers from Sololearn
🖊 10 questions · 30 sec
Dear Python Pioneers, there are 🕙 ten minutes left for the quiz to end.

Your participation is wonderful 💯
Thank you to everyone who participated in the quiz!

ፈተናው አልቋል እናም ውጤቱን within minutes እናሳውቃችኋለን !

Stay tuned for the results!

@python_pioneers