Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Quotation in Python

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 411
    Comment on it

    The quotes single ('), double (") and triple (''' or """) is used to denotes string literals are accepted by python but the same quotes should starts and ends the string.

    Triple quotes signify a multi-line string. Everything between the start and end quotes is part of a single string, including carriage returns and other quote characters.

    See the example:

    tempWord = 'word'
    temSentence = "This is a sentence."
    tempParagraph = """This is a paragraph. It is
    made up of multiple lines and sentences.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: