RosettaCodeData/Task/String-prepend/Python/string-prepend.py

7 lines
103 B
Python
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
#!/usr/bin/env python
# -*- coding: utf-8 -*-
s = "12345678"
s = "0" + s # by concatenation
print(s)