Posts: 1,298
Threads: 38
Joined: Sep 2016
Please post
your code and the output you are expecting.
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Posts: 1,298
Threads: 38
Joined: Sep 2016
(Oct-24-2017, 04:12 PM)atux_null Wrote: The code is posted in my post #1 that i openened this thread.
If that is your code, you would not have gotten "ABAB", in fact that code would not even run:
Error:
Traceback (most recent call last):
File "C:/Python/Math/scratch.py", line 28, in <module>
print(___, end='')
NameError: name '___' is not defined
I would suggest you first add some print()'s so you can see what's actually happening with i, k and j. You say you are also supposed to use a number. Where is that?
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition