Python


#1

I don't know why but it says syntax error everytime i try to complete this please help.


#2

Please post your formatted code.


#3

@sth12jlamyman1 If you could post your code exactly as you wrote it that would be very helpful, as well as the syntax error sent. If you do this, tag me and I'll try and help you out.

However, the .lower() function is usually used on a variable. For example, if you had a raw_input set to a variable called message then you could use .lower() as variable = message.lower() resulting in the lowercase form of your original string being set to variable.

This is useful for times when you have a program that can check for things inside the string, for example, a single word, but you don't want to include all the possible forms in the if statement, so you just have to put the lowercase one. Hope this helps. Good luck.