Here are some beautiful programming related wallpapers.
Enjoy Them!โก๏ธโก๏ธโก๏ธโก๏ธ
#wallpapers
@python_pioneers
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
-Unkown
Have a nice day!
#EnglishQoutes
@python_pioneers
โค3๐2
"แแแซแ แซแฐแจแ แฅแ
แดแถแฝ แ แ แ แแบ แแ
แจแแ แตแ แแซแแฝ"
"Many women do
noble things but
you surpass them all"
--> @nirvanaland7
แแแซแ แจแฅแแถแฝ แแ!
#MothersDay
@python_pioneers
แดแถแฝ แ แ แ แแบ แแ
แจแแ แตแ แแซแแฝ"
"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:
แจแแแแชแซแ 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
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, exam_score variable แจแฐแแชแแ แแคแต แจแแถ แญแแ แแ(แแญแ user-input แฅแแฒแแ แ แแตแจแ แฅแแฝแแแ แญแ แฐแแ for multiple scores grade check แฅแแตแแจแ แญแจแณแแ) แจแแ programแก แ แแคแฑ แแญ grade แญแฐแ แแแข
The
โแฅแซแ แซแแฝแ แแ แจแ แตแฝแแแฝแ
โญ๏ธแ แแฃแญ input แจ user แฅแแดแต แแแ แ แฅแแฐแแแฝแ แฅแแแซแแ
แตแแ แญแถแนแ แจแแฐแณแฝแแธแ แ ๐ แแแแแ
#elif
#example
@python_pioneers
@python_pioneers
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 Python Pioneers: A Beginner's Guide ๐ช๐น
10. How do you comment out a line of code in Python?
Anonymous Quiz
26%
A. Using the // symbol
8%
B. Using the /* */ symbols
64%
C. Using the # symbol
1%
D. Using the -- symbol
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)
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
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
๐3
Hey everyone!
แแฃแญ แตแแ แญแณแฝแ แจแแแแ แตแ for loop แแแข
Stay tuned for some exciting exercises and examples in our upcoming session!
#ForLoop
@python_pioneers
แแฃแญ แตแแ แญแณแฝแ แจแแแแ แตแ for loop แแแข
Stay tuned for some exciting exercises and examples in our upcoming session!
#ForLoop
@python_pioneers
๐4