Python - Removing the whitespace before the output -
I am quite new to Python .. I was wondering how to remove whitespace just before the output. Output is = is the text slot marked with "White location" I need to remove .. Thanks guys! I hope that I have found what you say here: < Pre> I think the bus (height) and altitude 1 instead of 1 operand -1 seems to be for example It did the trick. If this is not what you want, please just tell me.
Paid Enter height: 5 * *** ***** ******* = ******** * *
height = input ("Please enter tree height:") height1 = height trunk = height / (I + 1) * 2) -1) Height = height for -1 / 3 spacewise = str (i ) For category (0, height): print spacebar * (height -1) + "*" * ((i + 1) * 2) for category P (0, trunk): print spacebar * (height 1 -1) + "*"
Comments
Post a Comment