Problem 08.Scholarship - Conditional Statements - Exercise
Къде пропускам нещо? https://softuni.bg/trainings/resources/officedocument/42640/exercise-problem-descriptions-programming-basics-with-python-september-2019/2426
Защо ми дава само 75/100 на Python?
from math import floor
income = float(input())
average_grade = float(input())
min_payment = float(input())
social_s = min_payment * 0.35
excellent_s = average_grade * 25
if (income < min_payment and average_grade >= 4.50):
if (average_grade >= 5.50 and excellent_s >= social_s):
print(f'You get a scholarship for excellent results {floor(excellent_s)} BGN')
else:
print(f'You get a Social scholarship {floor(social_s)} BGN')
elif average_grade >= 5.50:
print(f'You get a scholarship for excellent results {floor(excellent_s)} BGN"')
else:
print('You cannot get a scholarship!')