Ramesh Sahoo added the comment:
Thank Steven for correcting and guiding me.
--
___
Python tracker
<https://bugs.python.org/issue41518>
___
___
Python-bugs-list m
Ramesh Sahoo added the comment:
Additional note:
The following program completes all 5 iterations.
#!/usr/bin/python3
stack = [s for s in range(5)]
c = 0
for i in stack:
c += 1
print(f"{'='*10} loop {c} {'='*10}")
if i == 0 or i == 1 or i == 2:
pri
Ramesh Sahoo added the comment:
Hi all,
Thanks for your valuable response. I would like to inform you that I found this
issue while playing with the following code. This is reproducible with Python
3.8.
Please find the following details and let me know if I am doing something
wrong
Change by Ramesh Sahoo :
--
resolution: works for me ->
___
Python tracker
<https://bugs.python.org/issue41518>
___
___
Python-bugs-list mailing list
Un
New submission from Ramesh Sahoo :
With for loop, I am able to print all elements in the list 'a'
a = ['a','a','b','b','c']
for i in a:
print(i)
O/P:
a
a
b
b
c
but with the following loop, python only prints 3 uniq element