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

  Paid Enter height: 5 * *** ***** ******* = ******** * *   

= 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> 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) + "*"

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.

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -