Give me the solution of this error? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Give me the solution of this error?

a=hello hi bye. b=buddies print(a) print(b)

1st Jul 2019, 5:21 PM
Anurag aghara
Anurag aghara - avatar
3 Answers
+ 2
You didn't put your string in quotation marks. You have to do: a = "hello hi bye" (or) a = 'hello hi bye'
1st Jul 2019, 5:29 PM
Airree
Airree - avatar
+ 2
a="hello hi bye" or a='hello hi bye' And you made the same mistake for b value also
1st Jul 2019, 5:36 PM
tejaswi kanneganti
tejaswi kanneganti - avatar
0
ThanQ
1st Jul 2019, 5:50 PM
Anurag aghara
Anurag aghara - avatar