Sep-30-2021, 07:09 PM
(This post was last modified: Sep-30-2021, 07:55 PM by Yoriz.
Edit Reason: removed unnecessary quote of previous post
)
I thought of it before, but sadly the list wont work that way.
I will try it ( although I tried before ).
Update if I success.
Thanks :)
Oh. I actually tried something, you are right, is that good? or bad?
I will try it ( although I tried before ).
Update if I success.
Thanks :)
Oh. I actually tried something, you are right, is that good? or bad?
def seven_boom_range(self): empty = [] for i in range(1, abs(self.small - self.big - 1)): if "7" in str(i) or i % 7 == 0: empty.append("BOOM") else: empty.append(i) empty.insert(0, 0) return emptyI used abs function, although I think its not allowed for me to use it lol... I will try another way of doing it without doing abs, I know its something on the range, problem is it can be minus so I dont know how to reverse it... Ill try.