Answer:
Try :
Semester_Fee = 8000.0
for x in range(1, 6):
import decimal
Semester_Fee = Semester_Fee + Semester_Fee *(3/(100*1.0))
if x==1:
print("In",x,"year, the tuition will be" ,'$', Semester_Fee, end='.')
else:
print("In",x,"years, the tuition will be" ,'$', Semester_Fee, end='.')