Beginner Python Tutorial 22 - Multiline Strings (Three Double Quotes)

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


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

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

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

Caleb you’re the Robert Frost of our time 😅 thanks for making these tutorials, I appreciate you!

tournesol-eq
Автор

hey Caleb, thank you so much for this. I want to ask what if I'm taking the poem as an input from the user?
how can I make the program accept a multi line string and display it line by line.
I would very much appreciate it if you answer me

bushraw
Автор

Hi! What if I want the user to input the poem, and I want to assign it to a variable and print it? When the user inputs multiple lines, Python takes the first line as the input, and the rest of the lines as if they are their own separate commands to the terminal. Returns an error. Is there a way around this?

mayedalshamsi
Автор

I like this format. Quick and accessible

Vl
Автор

22 for 22. I tested it and this works for three single quotes too. Or at least it did for me.

mearapellar-kosbar
Автор

What if we have a bunch of strings and we want the output to be in this form? How to do it. PLEASE REPLY.

vineethkamble
Автор

That was a nice little 'Sestet'.

vikrantnagyal
Автор

Thanks, this video helped me out a lot.

andrxde
Автор

oh, wait, I hadn't finished the video

doctorjjjulius
Автор

Bro you are so fast, im not catching up you :^)

mutlu