- 1
How?
How to do this?On every number you type every number gets dot or other symbol,and how to disable this?
3 Antworten
+ 1
Please use tags to let us know which language are you asking for, and specify your question. Where do you want this symbol to be? In front of the number, at the end or in the middle?
0
End,and sorry i learning python 3
0
The simplest way to do so is casting variable to string and adding this symbol.
x=str(x)+'#'
But remember that not every symbol can be added this way, sometimes backslash is required (for example if you want to put quotation mark, you have to make it "\' ").
I'm not best in python but it looks like the easiest way to achieve your goal