program which will generate flowchart of codes given by user
def drawflowchart(n): for i in range(n): print("|-------------|") print("| |") print("| |") print("| start |") print("| |") print("| |") print("| |") print("|-------------|") print("| |") print("| |") print("| stop |") print("| |") print("| |") print("|-------------|") drawflowchart(5)