Git Product home page Git Product logo

-'s People

Contributors

287928201 avatar

Watchers

 avatar

-'s Issues

输出结果问题

如果我没看错的话,你应该也是输出的时候没有去掉双引号,因为我自己的代码也是python,然后最后输出的没去掉双引号,交上去了才想起来怎么去

建议

你的这个只能满足十以内的转换,超出十的话就无法转换了,且开头缺少输出字符串的语句

建议

不可以支持以下运算等,只能按照固定样例句子输入运行。建议改善
286N`}GUAXKMUZM)~P )8K5

问题

输入 如果 小样 大于 三 则 看看 “你好” 否则 无 时
出现列表索引超出的问题 希望改进
H$J9KD}$6PJ)H(KH3PLTV

一点点建议

样例二1.pycharm一句句输入时在大于八如果一行后会提前输出无
整数 小杨年龄 等于 八
整数 小杨零花钱 等于 二
小杨年龄 增加 一
如果 小杨年龄 大于 八 则 小杨零花钱 增加 一 否则 无

看看 小杨零花钱

2.在小于八如果一行后会提前输出无,并且 看看后无输出

SunJC911的建议

1.可以用try...except来捕获异常,常见的为列表越界问题。
2.开头可以输出一句话来告诉用户数字为0-10等提示性语句,减少用户使用时发生的错误。

程序无法实现结果

我刚才测试的时候先输入:
整数 气温 等于 十
看看 气温
能得到结果十
然后又输入:
看看 “你好”
结果还是十

建议

image
小杨年龄每加一岁他的压岁钱都加了

问题

例二的结果是不对的,小杨年龄有加1,但是不应该输出无,这边需要再改进一下
image

问题

1.第二个样例输出结果有问题
2.运算形式上有点固定,不支持其他输入方式,希望改善

问题

同学,你的代码对输入是如果开头时的判断不够完善,缺少输出字符串的语句,建议可以利用利用否则在输入中位置的不同来判断是要输出字符串还是对变量进行操作

样例二

样例二的输出存在问题,当小杨年龄 增加 一后,看看 小杨年龄 ,输出的是小杨零花钱增加一后的结果

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.