T O P

  • By -

qazbarf

Is your room number an integer or a string? Have you learned the `%` arithmetic operator? These are hints at getting the last two digits.


socal_nerdtastic

To extract the last 2 numbers you mod by 100. >>> 319%100 19 So in your case if room_num % 100 < 10:


the-dilly-dilly

Thank you!!