+ 1
Help with apostrophes in input
Iâm just starting to learn, but my problem is: Input; s= input(âWho\âs that?â) print(s) Output: Error WhoĂs that?â) among other things. Earlier in the lessons it said that you could do a \ before an apostrophe to not prematurely end the string, but i keep getting that error. If i try to do; input(âWhoâs That?â) it says that the â is an invalid character. Any help is appreciated, thank you!
1 Answer
+ 15
Kendall u r really using wrong character it is " not â or â. It's the straighter apostrophe. And even the single apostrophe u posted is not right. It should be the straight one - '
s = ("Who's that?")
print (s)
or
s = ('Who\'s that?')
print (s)



