2020.7.21 Python学习第一天

1、在Python IDLE中写代码;

2、type方法可返回数值类型,如: type(1),输出:class 'int';

3、除法得整型结果,方法为“//”,如:“2//2”;

 

posted @ 2020-07-21 22:03  小哪吒呀  阅读(122)  评论(0)    收藏  举报