Latest web development tutorials

Python includes exercises 86

Python 100 Li Python 100 Li

Title: two strings linker.

Program Analysis: None.

Source Code:

#!/usr/bin/python
# -*- coding: UTF-8 -*-

if __name__ == '__main__':
    a = "acegikm"
    b = "bdfhjlnpq"

    # 连接字符串
    c = a + b
    print c

The above example output is:

acegikmbdfhjlnpq

Python 100 Li Python 100 Li