Help centering multiple string output
So my question is how can I get the program to center the output when print(s) executes regardless of different character lengths of various inputs entered when running this program? ### Program for New Hire/Employee data HR department ### ### Cole_Orndoff ### ### January_27_2020 ### ###Comp_B10 Intro_to_Python### ###################### ###Input/ Employee Information /Input### nameFirst = (input("First Name: ")) nameLast = (input("Last Name: ")) empNum = (input("Employee ID: ")) empDepart = (input("Department: ")) hoursWeek = int(input("Hours/Week: ")) ###variables### x = (hoursWeek) y = (17.50) z = (x*y) ### Output f-String multi-line /Output### s = ('''EMPLOYEE DETAILS ----- NAME ----- {f} {l} ----- ID ----- {i} -----DEPARTMENT----- {d} -----WEEKLY PAY----- {p} ''').format(f=nameFirst,l=nameLast,i=empNum,d=empDepart,p=("
quot;+format(z, '.2f'))) print(s)