👍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
ጥያቄዎቹ ቀላል ነበሩ አይደል😊 👍 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
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
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:
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
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
❤2⚡1
I hope your day has been full of joy, productivity, and meaningful moments.
የዛሬ ቀን እንዴት ነበር ያለፈው - መልሳችሁን በreaction ግለፁልን:
😁 - Happy
😭 - Sad
🥰 - Love
😠 - Angry
🤔 - I don't know
@python_pioneers
የዛሬ ቀን እንዴት ነበር ያለፈው - መልሳችሁን በreaction ግለፁልን:
😁 - Happy
😭 - Sad
🥰 - Love
😠 - Angry
🤔 - I don't know
@python_pioneers
😁8🥰3👨💻2🤷2🔥1
Python Pioneers: A Beginner's Guide 🇪🇹
I hope your day has been full of joy, productivity, and meaningful moments. የዛሬ ቀን እንዴት ነበር ያለፈው - መልሳችሁን በreaction ግለፁልን: 😁 - Happy 😭 - Sad 🥰 - Love 😠 - Angry 🤔 - I don't know @python_pioneers
አብዛኞቻችሁ - 😁
Embrace the concept of continuous improvement, trusting that each day brings the chance to become a better version of yourself.
Love Y'all መልካም ምሽት
@python_pioneers
Embrace the concept of continuous improvement, trusting that each day brings the chance to become a better version of yourself.
Love Y'all መልካም ምሽት
@python_pioneers
⚡6💯1
❓❓❓❓❓❓❓❓❓❓❓❓❓❓❓❓
ዛሬ ማታ የ25 ብር የዓየር ሰዓት የሚያሸልም ከPython quiz ይኖረናል።
እንዳያመልጣችሁ!
⌚ : 8 : 00 PM EAT
@python_pioneers
ዛሬ ማታ የ25 ብር የዓየር ሰዓት የሚያሸልም ከPython quiz ይኖረናል።
እንዳያመልጣችሁ!
⌚ : 8 : 00 PM EAT
@python_pioneers
Forwarded from Tabir Crypto
በዚህም bug እና debug ታዋቂ ቃላት ሆነዋል
አስገራሚ የ programming አጫጭር እውነታዎችን እንዲሁም quiz ለማግኘት
@Birranaye
@Birranaye
Please open Telegram to view this post
VIEW IN TELEGRAM
1 Min to go!
አሸናፊ የሚሆነው ሰው አብዛኛውን ጥያቄ በአጭር ጊዜ የመለሰ ነው።
መልካም እድል!
አሸናፊ የሚሆነው ሰው አብዛኛውን ጥያቄ በአጭር ጊዜ የመለሰ ነው።
መልካም እድል!
🎲 Quiz 'Python Quiz 1'
This quiz is created by Python Pioneers from Sololearn
🖊 10 questions · ⏱ 30 sec
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 💯
Your participation is wonderful 💯