<span id="7ztzv"></span>
<sub id="7ztzv"></sub>

<span id="7ztzv"></span><form id="7ztzv"></form>

<span id="7ztzv"></span>

        <address id="7ztzv"></address>

            習題 9: 打印,打印,打印?

             1
             2
             3
             4
             5
             6
             7
             8
             9
            10
            11
            12
            13
            14
            # Here's some new strange stuff, remember type it exactly.
            
            days = "Mon Tue Wed Thu Fri Sat Sun"
            months = "Jan\nFeb\nMar\nApr\nMay\nJun\nJul\nAug"
            
            print "Here are the days: ", days
            print "Here are the months: ", months
            
            print """
            There's something going on here.
            With the three double-quotes.
            We'll be able to type as much as we like.
            Even 4 lines if we want, or 5, or 6.
            """
            

            你應該看到的結果?

            $ python ex9.py
            Here are the days:  Mon Tue Wed Thu Fri Sat Sun
            Here are the months:  Jan
            Feb
            Mar
            Apr
            May
            Jun
            Jul
            Aug
            
            There's something going on here.
            With the three double-quotes.
            We'll be able to type as much as we like.
            Even 4 lines if we want, or 5, or 6.
            
            $
            

            加分習題?

            1. 自己檢查結果,記錄你犯過的錯誤,并且在下個練習中盡量不犯同樣的錯誤。

            Project Versions

            Table Of Contents

            Previous topic

            習題 8: 打印,打印

            Next topic

            習題 10: 那是什么?

            This Page

            <span id="7ztzv"></span>
            <sub id="7ztzv"></sub>

            <span id="7ztzv"></span><form id="7ztzv"></form>

            <span id="7ztzv"></span>

                  <address id="7ztzv"></address>

                      亚洲欧美在线