The title. I am trying to indent some words so the colons are aligned, but the '%s' format specifier isn't working for some reason. I've tried changing the number value, adding decimal points, and changing s to d or f but nothing's working. Any help would be appreciated.
Assignment1 = float(input('Enter score of first assignment (0-4.0):'))
Assignment2 = float(input('Enter score of second assignment (0-4.0):'))
Assignment3 = float(input('Enter score of third assignment (0-4.0):'))
Midterm = float(input('Enter Midterm score (0-4.3):'))
Final = float(input('Enter Final Exam score (0-4.3):'))
WeightedExam = ((Midterm*0.20)+(Final*0.30))
WeightedAssignment = ((Assignment3*0.20)+(Assignment1*0.15)+(Assignment2*0.15))
print("%8s %0.1f \t %0.1f \t %0.1f" %("Assignment Scores:", Assignment1, Assignment2, Assignment3))
print("%10s %0.1f \t %0.1f" %("Exam Scores:", Midterm, Final))
print("%0s %0.1f \t %0.1f" %("Weighted Exams/Assignments:", WeightedExam, WeightedAssignment))