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

7 lines
91 B
Python

#!/usr/bin/env python
# -*- coding: utf-8 -*- #
str = "12345678";
str += "9!";
print(str)