A practical example of if elif conditional statements in Python

From , 5 Years ago, written in Python, viewed 194 times.
URL https://pastebin.vip/view/ae06fbdc
  1. marks = 99
  2. if marks >= 90:
  3.    grade = 'A'
  4. elif marks >= 80:
  5.    grade = 'B'
  6. elif marks >= 70:
  7.    grade = 'C'
  8. elif marks >= 60:
  9.    grade = 'D'
  10. else:
  11.    grade = 'F'
  12. print(grade)

Reply to "A practical example of if elif conditional statements in Python"

Here you can reply to the paste above

captcha

https://burned.cc - Burn After Reading Website