V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
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 · 3111 views
    This topic created in 3535 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
        1
    ZEOH  
       Aug 26, 2016
    1. if
    2. :
    3. else:
    吗?
    loryyang
        2
    loryyang  
       Aug 26, 2016
    这和数学没什么关系吧。。这是就是让你填空。程序的功能就是 compare the variables and output the corresponding text
    ipconfiger
        3
    ipconfiger  
       Aug 26, 2016
    一般说自己数学没学好的, 其实大多数是语文没学好
    Nico35
        4
    Nico35  
       Aug 28, 2016
    就是一个 if else 语句呢
    tmackan
        5
    tmackan  
       Aug 28, 2016
    发帖的时候,可以用 markdown 语法
    ```
    你的代码
    ```
    会有一个 pre 的效果
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3482 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 52ms · UTC 00:15 · PVG 08:15 · LAX 17:15 · JFK 20:15
    ♥ Do have faith in what you're doing.