Answers for "python syntaxerror: unexpected character after line continuation character"

0

python syntaxerror: unexpected character after line continuation character

You must press enter after continuation character

Note: Space after continuation character leads to error

cost = {"apples": [3.5, 2.4, 2.3], "bananas": [1.2, 1.8]}

0.9 * average(cost["apples"]) + \ """enter here"""
0.1 * average(cost["bananas"])
Posted by: Guest on July-27-2021

Code answers related to "python syntaxerror: unexpected character after line continuation character"

Python Answers by Framework

Browse Popular Code Answers by Language