This is a shortened version of my function. My function is: def data(number):
When you enter the number it'll end up showing a percentage as a float and some text behind it.
The next line is: print "total is: ", float(number), "%"
Which prints:
>>> data(22)
total is: 22.0 %
What I want to do is remove the space between the 22.0 and the %, so the result looks like this instead `
>>> data(22)
total is: 22.0%