mercredi 29 novembre 2017

how to write a link in python in two different lines?

i have the following code i want to write the links i two different line but i can't your the triple quotation """ and i want a valid way to do that :

toy_story data

toy_story = media.Movie("Toy Story", "A story of a boy an his toy that come to life", "http://ift.tt/2lR4mwv", "https://www.youtube.com/watch?v=KYz2wyBy3kc")

avatar data

avatar = media.Movie("Avatar", "A marine on an alien planet", "http://ift.tt/2zyOiD7", "https://www.youtube.com/watch?v=5PSNL1qE6VY")




Aucun commentaire:

Enregistrer un commentaire