0
How we can compare strings using if statement..?
I used the comparison operator(==) but didn't received an output.. https://code.sololearn.com/c8vC7QLfRT2i/?ref=app
2 Answers
+ 4
if "anand' '
. ^
You have used single quotation mark. If a string start swith double quotation, it should end with double quotation đ