syntax error in the code in the line break list due to the input, how do you adjust this? [closed]

multiline strings in python are delimited by '''.

you should write:

o = ''' What operation do you want to use :

1. Add
2. Subtract
3. Multiply
4. Divide
5. Square the first number
6. Square the second number
7. Calculate the power of the first number to the second number
8. Square root the first number
9. Square root the second number'''

the rest seems ok.

Leave a Comment