推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
pythlo
V2EX  ›  Python

python 问题

  •  
  •   pythlo · Aug 26, 2016 · 3594 views
    This topic created in 3747 days ago, the information mentioned may be changed or developed.

    python 刚学不久,遇到这个,本数学有些差,但,还是无语,完全无头绪,求大神解答! 标题是, fill in the blanks to compare the variables and output the corresponding text: x = 10 y = 20 _ x> y_ print ("if statement") _ print ("else statement") 不知道是啥意思!

    5 replies  •  2016-08-28 12:17:40 +08:00
    ZEOH
    ZEOH
    Aug 26, 2016
    1
    1. if
    2. :
    3. else:
    吗?
    loryyang
    loryyang
    Aug 26, 2016
    2
    这和数学没什么关系吧。。这是就是让你填空。程序的功能就是 compare the variables and output the corresponding text
    ipconfiger
    ipconfiger
    Aug 26, 2016
    3
    一般说自己数学没学好的, 其实大多数是语文没学好
    Nico35
    Nico35
    Aug 28, 2016
    4
    就是一个 if else 语句呢
    tmackan
    tmackan
    Aug 28, 2016
    5
    发帖的时候,可以用 markdown 语法
    ```
    你的代码
    ```
    会有一个 pre 的效果
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1049 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 18:00 · PVG 02:00 · LAX 10:00 · JFK 13:00
    ♥ Do have faith in what you're doing.