Home › Forums › KX Academy › greater than or less than ? › Reply To: greater than or less than ?
-
Hi @lestat-jin thanks for flagging this.
Upon review I agree it is confusing and badly worded, in fact there are a number of small changes I have made to make to make this example clearer including:
- changing the direction from > to <
- asking for longitude rather than latitude as this is what we are outputting to console with 0N! so we can better see if it is meeting the checks
- adding a missing semicolon at then end of the second if statement
I have attached the updated example with fixes above.
If you want to get the notebook with these changes you can delete your current directory from the terminal and relaunch the sandbox from the course.
Thanks for your feedback and helping us to improve the materials !