Hello there, I’m a new beginner for Python (today is my 3rd day I guess?) and I got this exercise from the book yet I’ve no idea about it…
Can anyone suggest me an answer?
Btw, I’ve only learnt some basic concepts so would you please also explain your code?
Thank you a lot in advance!
Exercise 3: Write a program to prompt for a score between 0.0 and 1.0. If the score is out of range, print an error message. If the score is between 0.0 and 1.0, print a grade using the following table:
= 0.9 A
= 0.8 B
= 0.7 C
= 0.6 D