Ich erhalte diese Fehlermeldung: Typeerror: nicht unterstützte Operandtyp (e) für +: ‚NoneType‘ und ‚str‘'noneType' und 'str' sind nicht unterstützte Operandentypen. Was verursacht diesen TypeError?
return summary + "They work on the " + ProductionWorker.SHIFT[self.__shift] + " and make " + "$" \
+ str(format(self.__hourly_pay, "0.2f")) + " an hour."
würde ich sagen, Zusammenfassung, ProductionWorker.SHIFT [self .__ shift] oder Selbst .__ hourly_pay Keine ist –
http://idownvotedbecau.se/nodebugging – khelwood