GoConqr has a new look! Let us know what you think.

Notes

strings

Ryan Monaghan python study English 1 page

Content of the notes (1)

Page 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

Information

Description
python study Note on strings, created by Ryan Monaghan on 30/03/2019.
Created by
Ryan Monaghan · Mar 2019
Updated
Mar 30, 2019
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?