๐1
9. What is the result of (17 - 6) / 2 in Python?
Anonymous Quiz
75%
A) 5.5
12%
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
แแแ
แแแแฝแแ
แ ๐
แแแแแ
โกโกโกโกโก
แแแแฝแแ
แ ๐
แแแแแ
โกโกโกโกโก
๐10
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