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-08-26 11:24:17 +08:00 · 2347 次点击
    这是一个创建于 2798 天前的主题,其中的信息可能已经有所发展或是发生改变。

    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-08-26 12:22:04 +08:00
    1. if
    2. :
    3. else:
    吗?
    loryyang
        2
    loryyang  
       2016-08-26 12:58:13 +08:00
    这和数学没什么关系吧。。这是就是让你填空。程序的功能就是 compare the variables and output the corresponding text
    ipconfiger
        3
    ipconfiger  
       2016-08-26 13:03:57 +08:00
    一般说自己数学没学好的, 其实大多数是语文没学好
    Nico35
        4
    Nico35  
       2016-08-28 11:02:50 +08:00
    就是一个 if else 语句呢
    tmackan
        5
    tmackan  
       2016-08-28 12:17:40 +08:00
    发帖的时候,可以用 markdown 语法
    ```
    你的代码
    ```
    会有一个 pre 的效果
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   987 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 20:30 · PVG 04:30 · LAX 13:30 · JFK 16:30
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.