Skip to content Skip to sidebar Skip to footer

Getting Error On If And Elif

Does anyone know why I keep getting an error with this section of my code? if db_orientation2 =='Z': a='/C=C\' elif db_orientation2=='E': a='\C=C\' This

Solution 1:

String literals cannot end with a backslash. You'll have to double it:

a="/C=C\\"
#       ^

The highlighting of your code also clearly shows the problem.


Post a Comment for "Getting Error On If And Elif"