Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
0
First of all, you have to understand the meaning of both raw_input() and input(), raw_input() will be the user input content is converted into String type. input() does not change the type of content that the user entered. You can use the type () to try it. 首先,你必须要明白raw_input()和input()的含义,raw_input()会将用户输入的内容都转化为String类型。input()不会改变用户输入的内容的类型
25th Jun 2016, 8:39 AM
Pyer
Pyer - avatar