Skip to content
Reticux Engineering by Reticux Engineering

Print TREE In Python

Reticux Engineering —
How to Print Tree in Python??


it is very simple in python to print tree than in java

I tried to use the minimum code to fulfill the requirements. the code is of only 2 lines.

find the code below


for i in range(1,10):
     print('*'*i)

output: 





Video Tutorial: Click Here


#python #code #source #tutorial
#blog #knowledge

knowledgestreams.blogspot.com
Written by Reticux Engineering

Practical, lab-tested network engineering: Cisco, Juniper and Fortinet configurations, troubleshooting steps and exam-focused practice.

Learn BGP, Cisco routing and network security with daily lab-driven lessons, from CCNA basics to CCNP level policy design.