The issue arises because the string you are trying to print is not a string, rather a float value. Item1, item2 and item3 are strong values (if you type some alphabets in it and not just numbers), but itemonecost, itemtwocost, and itemthreecost are explicitly type casted to float. In line 22, 23, and 24 you’re trying to print a float, by adding it with the string. One cannot add numbers to string. Rather you can type cast the itemcost to string while printing.
Add str(itemonecost) instead of itemonecost in print statement. Do this for other float variables too.
However do note that there are multiple ways to correct this issue, and I’ve just pointed one out.
Answer:
Multiple devices can be connected
Keywords are the reserved words of a language.Identifiers are the user defined names of variable, function and labels. Hope that this helped
Answer:
This is false
The text just goes out of the slide and you can't see it until you lower the font size or until you delete some of it.
Explanation: