Please i need to delete all 0 in the beginning of numbre even the type of variable is char like :
Number = "0000386489"
"0000386489" --->> 386489
or having an integer numbre with 0 at first
You can accomplish this with several ways.
Using int and str casting operations:
txt_number = "00036"; txt_number = str(int(txt_number))
However, this will only work on integer numbers and may not be the best method for floating numbers.
Another way is to use lstrip operation on the string directly.
txt_number = "0036".lstrip("0")