Jun-30-2020, 07:27 AM
(This post was last modified: Jun-30-2020, 07:50 AM by Gribouillis.)
[hey, im trying to get an odd number that the number that follows it will be divisible by 243 wrote the followring but i dont get any result, please help :)
def answer3(): i = 1 while i < 100001: if i % 2 == 1: if (i + 1) % 243 == 0: return i i += 1 print(answer3())