Zodiac Teller | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Zodiac Teller

This code isn't working, i don't know why🙁.... Can someone help?? https://code.sololearn.com/Wu5x6DzvAK35/?ref=app

15th Oct 2018, 1:18 PM
Anthonia Asikpo
2 Answers
+ 1
=== is strict equality what your testing is a string vs an int "5" === 5 is false, either compare str vs str, convert input to int, or use abstract comparison ==
15th Oct 2018, 6:13 PM
JME
0
Jason Edelson thank you so much, its working💃
16th Oct 2018, 2:54 PM
Anthonia Asikpo