LaptopGuard AcademyLaptopGuard Academy
  • Kursus Online
    • MODUL

      • LGA Schematic 101
      • Transistor 101
      • Power Regulator & IC’s
      • Kapasitor
      • Resistor
      • Reballing Class
      • Dioda

      Promo

      • BASIC Class
      • ADVANCE Class
      • MASTER Class
  • Blog
  • Program Afiliasi
      • DAFTAR LOGIN

        Connect with:

        Login with Facebook Login with Google

        Login with your site account

        Lost your password?

        Not a member yet? Register now

    • Kursus Online
      • MODUL

        • LGA Schematic 101
        • Transistor 101
        • Power Regulator & IC’s
        • Kapasitor
        • Resistor
        • Reballing Class
        • Dioda

        Promo

        • BASIC Class
        • ADVANCE Class
        • MASTER Class
    • Blog
    • Program Afiliasi
    • Home
    • Strings

    Strings

    • Posted by anton
    • Date June 15, 2015

    Besides numbers, Python can also manipulate strings, which can be expressed in several ways. They can be enclosed in single quotes ('...') or double quotes ("...") with the same result.

    In the interactive interpreter, the output string is enclosed in quotes and special characters are escaped with backslashes. While this might sometimes look different from the input (the enclosing quotes could change), the two strings are equivalent. The string is enclosed in double quotes if the string contains a single quote and no double quotes, otherwise it is enclosed in single quotes.

    See also

    Sequence Types — str, unicode, list, tuple, bytearray, buffer, xrange
    Strings, and the Unicode strings described in the next section, are examples of sequence types, and support the common operations supported by such types.
    String Methods
    Both strings and Unicode strings support a large number of methods for basic transformations and searching.
    String Formatting
    Information about string formatting with str.format() is described here.
    String Formatting Operations
    The old formatting operations invoked when strings and Unicode strings are the left operand of the % operator are described in more detail here.

     

    • Share:
    anton

    Previous post

    Numbers
    June 15, 2015

    Next post

    Unicode Strings
    15 June, 2015

    Search

    Categories

    • Blog
    • Business
    • Design / Branding
    • Uncategorized

    Latest Courses

    Learn Python – Interactive Python Tutorial

    Learn Python – Interactive Python Tutorial

    Rp 69
    Your Complete Guide to Photography

    Your Complete Guide to Photography

    Rp 60
    Learning jQuery Mobile for Beginners

    Learning jQuery Mobile for Beginners

    Rp 30

    Latest Posts

    demo_image
    Why You Should Read Every Day
    20Jan2016
    demo_image
    Relaxing after work
    20Jan2016
    demo_image
    Online Learning Glossary
    20Jan2016
    • About Us
    • Blog
    • Contact
    • Become a Teacher

    LAPTOP GUARD ACADEMY

    Laptop Guard Academy adalah pusat pelatihan laptop yang menghasilkan alumni handal dan memiliki kompetensi yang berkualitas. Dan sekarang kami memiliki kelas online yang dapat diakses dimana saja, kapan saja.

    LaptopGuard Academy

    Jika ada yang ingin berkonsultasi lebih lanjut, silakan kontak langsung melalui akun Facebook saya Maula Hassan
    PS:
    Info tentang pelatihan teknisi laptop silakan hubungi
    081929041569
    085228201684
    BB 3144411b
    Laptopguard.co.id

    Jl. Glagahsari No. 100
    Umbulharjo, D.I. Yogyakarta
    Indonesia, 55164

    +62 274 419927

    academy@laptopguard.co.id

    JADI TEKNISI HANDAL SEKARANG JUGA!
    Daftar GRATIS Sekarang
    • Privacy
    • Terms
    • Sitemap

    Copyright © 2016 LaptopGuard Academy. All rights reserved.

    Made with ♥ in Yogyakarta by Pixld.co.