the-magnificents / 04-02-2021-Carpentry-for-HGIS

A carpentry workshop focused on Digital Humanities audience that works with Geospatial Data.
Other
2 stars 3 forks source link

04-02-2021-Carpentry-for-HGIS/01_Day_1_Unix_Shell/excercises/B8_Exercise_Conditionals #60

Open utterances-bot opened 3 years ago

utterances-bot commented 3 years ago

Conditionals — Python essentials for GIS learners

https://the-magnificents.github.io/04-02-2021-Carpentry-for-HGIS/01_Day_1_Unix_Shell/excercises/B8_Exercise_Conditionals.html

davidfparker commented 3 years ago

grade = 85 if grade >= 90: print('grade is A') elif grade >= 80: print('grade is B') elif grade >= 70: print('grade is C')