Python Pioneers: A Beginner's Guide ๐Ÿ‡ช๐Ÿ‡น
8.82K subscribers
346 photos
40 videos
24 files
64 links
Welcome to Python Pioneers: Empowering Ethiopian students to embark on their coding journey.

๐Ÿ“ข Channel: @python_pioneers
๐Ÿ‘ฅ Group: @python_pioneers_chat
Download Telegram
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
โค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
๐Ÿ˜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
๐Ÿ† Top results in the quiz 'Python Quiz 1'

๐Ÿ–Š 10 questions
โฑ 30 seconds per question
๐Ÿค“ 33 people took the quiz

๐Ÿฅ‡ @Yohaboy โ€“ 10 (22.5 sec)
๐Ÿฅˆ @JoeyFamily -- 10 (23.5 sec)
๐Ÿฅ‰ @FearLess_0101 โ€“ 10 (53.8 sec)
4 @IbnuAfdel โ€“ 10 (2 min 51 sec)

แŠ แˆธแŠ“แŠแ‹Žแ‰ฝ แŠฅแŠ•แŠณแŠ• แ‹ฐแˆต แŠ แˆ‹แ‰ฝแˆ!

@python_pioneers
๐Ÿ‘2
All the winners have received their prize ๐Ÿ†๐Ÿ†๐Ÿ†๐Ÿ†๐Ÿ†๐Ÿ†๐Ÿ†๐Ÿ†๐Ÿ†
๐Ÿ‘2๐Ÿ‘1
แŠฅแˆตแŠช แŠ แˆแŠ• แ‹ฐแŒแˆž แ‰ แ‹šแˆ…แ‰ฝ แŠ แŒญแˆญ แ‰ณแˆชแŠญ แŠฅแŠ•แˆฐแАแ‰ฃแ‰ แ‰ต

Learning from Mistakes

Thomas Edison tried two thousand different materials in search of a filament for the light bulb. When none worked satisfactorily, his assistant complained, "All our work is in vain. We have learned nothing."

Edison replied very confidently, "Oh, we have come a long way and we have learned a lot. We know that there are two thousand elements which we cannot use to make a good light bulb."

Moral: We can also learn from our mistakes.

แ‰ แ‰ฐแˆตแ‹ แ‹จแ‰ฐแˆžแˆ‹ แˆ˜แˆแŠซแˆ แˆแˆฝแ‰ต แ‹ญแˆแŠ•แˆ‹แ‰ฝแˆ!

#EnglishStories

@python_pioneers
โค2๐Ÿ‘1