The 365 Data Science team is proud to invite you to our own community forum. A very well built system to support your queries, questions and give the chance to show your knowledge and help others in their path of becoming Data Science specialists.
Ask
Anybody can ask a question
Answer
Anybody can answer
Vote
The best answers are voted up and moderated by our team

Python ELIF Statement Exercise

Python ELIF Statement Exercise

0
Votes
1
Answer


 I am unable to figure out why my code results are come out incorrectly. 
 
Kyle R.
 

1 Answer

365 Team
0
Votes

Hi Kyle,
As far as I can see from the photo, it seems to me that the ‘x’ in your function definition is uppercase, while the ‘x’ in the function itself is lowercase.
Note that it should be consistent, as the case matters. Either use only uppercase, or only lowercase!
Best,
The 365 Team