Even though my statement said enter a number, in particular, raw input here simply takes in a set of characters and treats it as a string.
即使我的陈述说的是应该输入一个数字,实际上,这里的原始输入会被当做一个字符,的集合来提取并被当做一个字符串来对待。
I'm going to run through a loop, and I'm going to request some input, which I'm going to read in with raw input.
我要运行一个循环,我需要一些输入,需要读入一些原始的输入。
I'm doing a little trick by the way, I'm using raw input in my function here as a just a way to stop the display.
顺便说下在这儿我有个小恶作剧,在这个函数中,我使用了raw,input方法。
应用推荐