GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Notizen

strings

Ryan Monaghan python study Englisch 1 Seite

Inhalt der Notizen (1)

Seite 1

Strings :

print('This is a string{}')

print('The {} {} {}'.format('fox','brown','quick'))

.format will insert these in the format you entered

.format

float formatting - allows you to adjust the width and precision of your floating point number.

float formatting follows --> value:width.precision f

print('His name is {} '.format(name))

OR CAN DO -->

print(f'Hello his name is {name}')

Learning about: Strings

https://github.com/Pierian-Data/Complete-Python-3-Bootcamp/blob/master/00-Python%20Object%20and%20Data%20Structure%20Basics/02-Strings.ipynbhttps://github.com/Pierian-Data/Complete-Python-3-Bootcamp/blob/master/00-Python%20Object%20and%20Data%20Structure%20Basics/02-Strings.ipynb

Informationen

Beschreibung
python study Notiz am strings, erstellt von Ryan Monaghan am 30/03/2019.
Erstellt von
Ryan Monaghan · Mär 2019
Aktualisiert
30 Mär 2019
Aufrufe
1
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck