Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
PyStack
#python 3.6.9 #PyStack: example of Python stack #this code is created by Rezaul Hoque on May 07,2022; #contact:jewelmrh@yahoo.com;Dhaka,Bangladesh;https://rezaulhoque.wordpress.com,https://hoquestake.blogspot.com #note: codes shared by Rezaul Hoque on rextester are not for sale; they are created and shared to facilitate the algorithm learning process; many like Hoque use this platform to practice programming ;Rezaul hopes his contribution helps others to fine tune their learning; star=[] for k in range(0,9): if k%2==0: star.append('<') star.append('<') star.append('<') star.append('<') star.append('<') star.append('<') star.append('<') star.append('<') star.append('<') else: star.append('>') star.append('>') star.append('>') star.append('>') star.append('>') star.append('>') star.append('>') star.append('>') star.append('>') if k%2==0: print(star.pop()*9) else: print(star.pop()*9)
run
|
edit
|
history
|
help
0
cod
Python
31 dec string
isStrong.py
list_copy_shallow_deep.py
Python3 complete func.
😚😚😚
.....✓[Guess the number]®®®®®®®â€¢$$$$✓.....
Task1.py
Lesson#6