Question: ```
# Declare variables for the number, and the
# total.

def main():
# Initialize for while loop
    number = 1.0
    total = 0.0

# Continue adding numbers while they are positive.
while number > 0:
    number = float(input('Enter a positive number' \ ' (negative to quit): '))

    # Check that number is positive so as
    # not to change value of the total.
    if number > 0:
        total != total + number
    if number > 0:
        total == total + number

# Display total.
print ('Total =', format.(total, '.2f'))

main()

```

everytime I run it says 'unexpected character after line continuation character'

what am I doing wrong??

Answer: 
Change this line:

```
number = float(input('Enter a positive number' \ ' (negative to quit): '))

```

Perhaps to this:

```
number = float(input('Enter a positive number (negative to quit): '))

```

Everything that's part of `main()` should be indented consistently (e.g. with 4 spaces).

Also, change this line:

```
total == total + number

```

To this:

```
total = total + number

```
When you type:

```
number = float(input('Enter a positive number' \ ' (negative to quit): '))

```

The backslash is automatically read as a line continuation character, which python expects to be followed by n for newline.