Python Tutorial 8 - Concatenation and Multiplying Strings

preview_player
Показать описание


~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~

🅑 Bitcoin - 3HnF1SWTzo1dCU7RwFLhgk7SYiVfV37Pbq
🅔 Eth - 0x350139af84b60d075a3a0379716040b63f6D3853
Рекомендации по теме
Комментарии
Автор

To add the space, you can also do something like this:

first_name = first_name + " "
;
print(first_name + last_name);

kj_
Автор

Great video thank you for the content.

skylerbrown
Автор

Thank you for increasing the font size. It clear and better learning.

afaf
Автор

Caleb, can I ask a question regarding this?
spaces = ' ' * 25
print('%s 12 Butts Wynd' % spaces)
print('%s Twinklebottom Heath' % spaces)
print('%s West Snoring' % spaces)
print()
print()
print('Dear Sir')
print()
print('I wish to report that tiles are missing from the')
print('outside toilet roof.')
print('I think it was bad wind the other night that blew them away.')
print()
print('Regards')
print('Malcolm Dithering')

everytime I enter this code into the python IDLE i get a syntax error saying multiple statements found while compiling a single statement. It highlights the spaces after "spaces = ' ' * 25"
What does this mean?

divadonarres
welcome to shbcf.ru