Which of the programs below will result in the following output? Hours 8 8.5 10 Total 26.5 A- print(Hours) print(8) print(8.5) print(10) print(Total) print(8 + 8.5 + 10) b- print("Hours") print("8") print("8.5") print("10") print("Total") print("8" + "8.5" + "10") c- print("Hours") print(8) print(8.5) print(10) print("Total") print(8 + 8.5 + 10) D- print("Hours") print("8") print("8.5") print("10") print("Total") print("8 + 8.5 + 10")
@Ultrilliam
i need help i dont get it
As far as I know, numbers do not need to be in quotes. That would convert them into strings which is not something we'd like when doing math `Hours`, and `Total` should definitely be in quotes `8`, `8.5`, `10`, and `8 + 8.5 + 10` do not need to be in quotes Again, @Ultrilliam correct me if I'm wrong pls
Join our real-time social learning platform and learn together with your friends!