Notas
strings
Conteúdo das notas (1)
Página 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
Informações
- Descrição
- python study Notas sobre strings, criado por Ryan Monaghan em 30-03-2019.
- Criado por
- Ryan Monaghan · mar 2019
- Atualizado
- 30 mar 2019
- Visualizações
- 0
- Avaliação