MY code:-
def looping():
for i in range(1,4):
print('*')
def not_looping():
for j in range(1,4):
print('-')
looping()
not_looping()
Output I got:-
*
*
*
-
-
-
Output I want
*
-
*
-
*
-
I've also visited this post, And applied my logic as per the post, But still It's providing me same output.