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
Here are some beautiful programming related wallpapers.

Enjoy Them!โšก๏ธโšก๏ธโšก๏ธโšก๏ธ

#wallpapers

@python_pioneers
๐Ÿ”ฅ3โค1๐Ÿ‘1๐Ÿ‘Œ1
"To attract positive things in your life, start by giving off positive energy."

-Unkown

Have a nice day!

#EnglishQoutes

@python_pioneers
โค3๐Ÿ‘2
"แˆ˜แˆแŠซแˆ แ‹ซแ‹ฐแˆจแŒ‰ แ‰ฅแ‹™
แˆดแ‰ถแ‰ฝ แŠ แˆ‰ แŠ แŠ•แ‰บ แŒแŠ•
แŠจแˆแˆ‰ แ‰ตแ‰ แˆแŒซแˆˆแˆฝ"

"Many women do
noble things but
you surpass them all"

--> @nirvanaland7

แˆ˜แˆแŠซแˆ แ‹จแŠฅแŠ“แ‰ถแ‰ฝ แ‰€แŠ•!

#MothersDay
@python_pioneers
โค7๐Ÿ‘1๐Ÿ‘Ž1
if...elifโ€ฆelse statement

if...elifโ€ฆelse statement: แ‰ฅแ‹™ แŠ แˆ›แˆซแŒฎแ‰ฝ แˆŠแŠ–แˆฉแ‰ต แ‹จแˆšแ‰ฝแˆ แ‹ˆแ‹ญแˆ แ‰ฅแ‹™ conditions แ‹จแˆšแˆแˆแŒ problem แŠซแˆˆ แ‹ญแˆ„แŠ• แˆ˜แŠ•แŒˆแ‹ต แŠฅแŠ•แŒ แ‰€แˆ›แˆˆแŠ• แข

แ‰ แ‰ฐแˆ›แˆช แ‹แŒคแ‰ต แˆ‹แ‹ญ แ‰ แˆ˜แˆ˜แˆตแˆจแ‰ต 'Excellent, Very Good, Good, Satisfactory, or Failโ€™ แ‰ฅแˆŽ print แ‹จแˆšแ‹ซแˆจแŒ program แˆˆแˆ˜แˆตแˆซแ‰ต แŠ แˆตแ‰ แŠ“แˆ แŠฅแŠ•แ‰ แˆแข

แ‰ แŠฅแŠ•แ‹ฐแ‹šแˆ… แ‹“แ‹ญแАแ‰ต แˆแŠ”แ‰ณแ‹Žแ‰ฝ แฃ แ‹จแˆแˆˆแŒแАแ‹แŠ• แ‹ซแˆ…แˆ elif statement แ‰ฐแŒ แ‰…แˆ˜แŠ• แˆˆแ‰ฐแˆˆแ‹ซแ‹ฉ conditions แ‹จแ‰ฐแˆˆแ‹ซแ‹ฉ executions แŠฅแŠ•แ‹ฒแŠ–แˆฉแ‰ต PythonแŠ• แ‰ แˆ˜แŒ แ‰€แˆ แˆ›แ‹ตแˆจแŒ แŠฅแŠ•แ‰ฝแˆ‹แˆˆแŠ•แข

else is the same as else and if combined together

Multiple if's means your code would go and check all the if conditions, where as in case of elif, if one if condition satisfies it would not check other conditions..

แ‹จ elif keyword แ‰ Python interpreterแŠกแŠ• "แŠจแ‹šแˆ… แ‰€แ‹ฐแˆ แ‹ซแˆˆแ‹ condition(s) แŠฅแ‹แАแ‰ต แŠซแˆแˆ†แА/แŠ‘ แ‹ญแˆ„แŠ›แ‹แŠ• แˆžแŠญแˆญ" แŠฅแŠ•แ‹ฐแˆ›แˆˆแ‰ต แАแ‹แข or " else...if" แˆ›แˆˆแ‰ต แАแ‹แข

แ‰ แˆแˆณแˆŒ แŠฅแŠ•แ‹จแ‹:

Pseudocode:

if condition1:
#statement to execute if condition1 is true
elif condition2:
#statement to execute if condition2 is true
else:
#statement to execute if both conditions are false

แ‹จแˆ˜แŒ€แˆ˜แˆชแ‹ซแ‹ condition true แŠจแˆ†แА, แ‰ if block แ‹แˆตแŒฅ แ‹ซแˆˆแ‹ statement executed แ‹ญแˆ†แŠ“แˆแข

แ‹จแˆ˜แŒ€แˆ˜แˆชแ‹ซแ‹ condition false แŠจแˆ†แА , แ‰€แŒฃแ‹ฉ elif condition check แ‹ญแ‹ฐแˆจแŒ‹แˆแข

แ‹จelif condition true แŠจแˆ†แА, แ‰ elif block แ‹แˆตแŒฅ แ‹ซแˆˆแ‹ statement executed แ‹ญแˆ†แŠ“แˆแข

แˆแˆˆแ‰ฑแˆ conditions false แŠจแˆ†แŠ‘ แ‹ฐแŒแˆž , แ‰ else block แ‹แˆตแŒฅ แ‹ซแˆˆแ‹ statement executed แ‹ญแˆ†แŠ“แˆแข

...แ‹ญแ‰€แŒฅแˆ‹แˆ

#Condional

@python_pioneers
แ‰ แ‰€แŒฃแ‹ญ elif statement แ‰ แˆ˜แŒ แ‰€แˆ แ‹จแ‰ฐแˆ›แˆชแŠ•๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ‘จโ€๐ŸŽ“ Performance แˆ˜แˆฐแˆจแ‰ต แ‰ แˆ›แ‹ตแˆจแŒ grade แŠฅแŠ•แ‹ตแŠ•แˆฐแŒฅ แ‹จแˆšแ‹ซแˆตแ‰ฝแˆˆแŠ•แŠ• program แŠฅแŠ•แ‹ดแ‰ต แˆ˜แƒแ แŠฅแŠ•แ‹ฐแˆแŠ•แ‰ฝแˆ แŠฅแŠ“แ‹ซแˆˆแŠ•แข

โญ๏ธ
แ‹จPythonแŠ• elif statement แ‰ แˆ˜แŒ แ‰€แˆ แˆŠแ‰€แˆจแ แ‹จแˆšแ‰ฝแˆ real-life problem แ‰ขแŠ–แˆญ Grading system แАแ‹แข

Here's an example:

# Program to calculate the grade of a student based on their exam score

# declaring a variable to store exam score
exam_score = 87

# Calculate grade based on exam score
if exam_score >= 90:
grade = "A"
elif exam_score >= 80:
grade = "B"
elif exam_score >= 70:
grade = "C"
elif exam_score >= 60:
grade = "D"
else:
grade = "F"

# Display the grade
print("The grade for the exam score of ", exam_score, "is", grade)

แ‰ แ‹šแˆ… program, exam_score variable แ‹จแ‰ฐแˆ›แˆชแ‹แŠ• แ‹แŒคแ‰ต แŠจแˆ˜แ‰ถ แ‹ญแ‰€แ‰ แˆ‹แˆ(แ‹ˆแ‹ญแˆ user-input แŠฅแŠ•แ‹ฒแ‰€แ‰ แˆ แˆ›แ‹ตแˆจแŒ แŠฅแŠ•แ‰ฝแˆ‹แˆˆแŠ• แ‹ญแˆ… แ‹ฐแŒแˆž for multiple scores grade check แŠฅแŠ•แ‹ตแŠ“แˆจแŒ แ‹ญแˆจแ‹ณแŠ“แˆ) แŠจแ‹›แˆ programแŠก แ‰ แ‹แŒคแ‰ฑ แˆแŠญ grade แ‹ญแˆฐแŒ แŠ“แˆแข

The elif statements help determine the appropriate grade based on different score ranges. Finally, the grade is displayed.

โ“แŒฅแ‹ซแ‰„ แŠซแˆ‹แ‰ฝแˆ แˆ˜แŒ แ‹จแ‰… แ‰ตแ‰ฝแˆ‹แˆ‹แ‰ฝแˆ

โญ๏ธแ‰ แ‰€แŒฃแ‹ญ input แŠจ user แŠฅแŠ•แ‹ดแ‰ต แˆ˜แ‰€แ‰ แˆ แŠฅแŠ•แ‹ฐแˆแŠ•แ‰ฝแˆ แŠฅแŠ•แˆ›แˆซแˆˆแŠ•

แ‰ตแˆแˆ…แˆญแ‰ถแ‰นแŠ• แŠจแ‹ˆแ‹ฐแ‹ณแ‰ฝแŠ‹แ‰ธแ‹ แ‰ ๐Ÿ‘ แŒแˆˆแแˆแŠ•

#elif
#example

@python_pioneers
@python_pioneers
๐Ÿ‘8๐Ÿฅฐ1
Forwarded from Kelemat Ads
temari info.apk
24.4 MB
I developed this Flutter app to help high school and preparatory students. the app empowers students to make informed decisions about university and study field selection.

By simply indicating their favorite subject, the app recommends relevant university programs, making the exploration process smoother and more efficient.

๐Ÿค If you want to build flutter apps Join my telegram channel. https://t.me/temaripathcommunity

๐Ÿ“ˆ visit my website to learn dart and flutter https://temaripath.netlify.app (videos, notes, quizzes included)
๐Ÿ‘2๐Ÿ‘1
Python Programs with If Condition


1. A simple grading program that checks if a student's test score is above a certain threshold and assigns a letter grade accordingly.

2. A temperature converter program that checks if the user input is in Celsius or Fahrenheit and converts it to the other unit.

3. A program that checks if a given number is even or odd.

4. A simple calculator program that checks if the user input is an addition, subtraction, multiplication, or division operation and performs the calculation accordingly.

5. A program that checks if a given year is a leap year or not.

6. A program that compares two numbers and prints out the larger one.

7. A program that checks if a given number is positive, negative, or zero.

8. A program that checks if a user inputted password meets certain criteria (e.g. minimum length, presence of special characters).

โ€ข
โ€ข
โ€ข

๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป

PRACTICE MAKES PERFECT!

#Programs

@python_pioneers
@python_pioneers
๐Ÿ‘3
Here are some memes that made my day๐Ÿ˜‚

#Fun
#Memes

@python_pioneers
๐Ÿ˜3
This media is not supported in your browser
VIEW IN TELEGRAM
Here comes If๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚

#Fun

@python_pioneers
๐Ÿคฃ3
Hey everyone!

แ‰€แŒฃแ‹ญ แ‰ตแˆแˆ…แˆญแ‰ณแ‰ฝแŠ• แ‹จแˆšแˆ†แАแ‹ แˆตแˆˆ for loop แАแ‹แข

Stay tuned for some exciting exercises and examples in our upcoming session!

#ForLoop

@python_pioneers
๐Ÿ‘4