Latest web development tutorials

Python beinhaltet 60 Übungen

Python 100 Li Python 100 Li

Titel: Stringlänge zu berechnen.

Programmanalyse: Keine.

Source Code:

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

sStr1 = 'strlen'
print len(sStr1)

Das obige Beispiel Ausgabe lautet:

6

Python 100 Li Python 100 Li