pyhton--输入语句

Posted on 2020-05-24 23:57  RorinL  阅读(108)  评论(0编辑  收藏  举报

一,输入语句的语法格式;

str = input();
print (type (str))#type 判断类型
>>>(class 'str')