美文网首页Learn to Code
《笨办法学Python3》练习九:打印!打印!打印!

《笨办法学Python3》练习九:打印!打印!打印!

作者: 雨开Ame | 来源:发表于2019-02-28 19:42 被阅读0次

    练习代码

    # 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-qoutes.
    We'll be able to type as much as we like.
    Even 4 lines if we want, or 5, or 6.
    """)
    

    Study Drills

    1. Do your checks, write down your mistakes, and try not to make the same mistakes on the next exercise. In other words, repeat the Study Drills from Exercise 7.

    相关文章

      网友评论

        本文标题:《笨办法学Python3》练习九:打印!打印!打印!

        本文链接:https://www.haomeiwen.com/subject/pbgkuqtx.html