You are viewing a single comment's thread. Return to all comments →
width = int(input()) c = "H" for i in range(width): print((c*i).rjust(width-1)+c+(c*i).ljust(width-1)) for i in range(width+1): print((c*width).rjust(width+(int((width/2)-0.5)))+(c*width).rjust(width*4)) for i in range(int((width/2)+0.5)): print(((c*(width*5)).rjust((width*5)+(int((width/2)-0.5))))) for i in range(width+1): print((c*width).rjust(width+(int((width/2)-0.5)))+(c*width).rjust(width*4)) for i in range(width): print(((c*(width-(i+1))).rjust((width*5)-1))+c+(c*(width-(i+1))))
Seems like cookies are disabled on this browser, please enable them to open this website
Text Alignment
You are viewing a single comment's thread. Return to all comments →