Latest web development tutorials

Python beinhaltet 86 Übungen

Python 100 Li Python 100 Li

Titel: zwei Strings Linker.

Programmanalyse: Keine.

Source Code:

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

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

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

Das obige Beispiel Ausgabe lautet:

acegikmbdfhjlnpq

Python 100 Li Python 100 Li