V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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 · 2016 年 8 月 26 日 · 2978 次点击
    这是一个创建于 3436 天前的主题,其中的信息可能已经有所发展或是发生改变。

    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 条回复    2016-08-28 12:17:40 +08:00
    ZEOH
        1
    ZEOH  
       2016 年 8 月 26 日
    1. if
    2. :
    3. else:
    吗?
    loryyang
        2
    loryyang  
       2016 年 8 月 26 日
    这和数学没什么关系吧。。这是就是让你填空。程序的功能就是 compare the variables and output the corresponding text
    ipconfiger
        3
    ipconfiger  
       2016 年 8 月 26 日
    一般说自己数学没学好的, 其实大多数是语文没学好
    Nico35
        4
    Nico35  
       2016 年 8 月 28 日
    就是一个 if else 语句呢
    tmackan
        5
    tmackan  
       2016 年 8 月 28 日
    发帖的时候,可以用 markdown 语法
    ```
    你的代码
    ```
    会有一个 pre 的效果
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   5663 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 06:39 · PVG 14:39 · LAX 22:39 · JFK 01:39
    ♥ Do have faith in what you're doing.