很多小伙伴在使用Python的时候,想知道怎么查看数据类型,下面小编就为大家分享Python查看数据类型教程,感兴趣的小伙伴不要错过哦!
Python怎么查看数据类型?Python查看数据类型教程
1、首先在官网上下载PyCharm Community软件,安装完成后打开软件,选择需要编写代码的文件夹。

2、然后右击选择的python文件夹—>选择弹出的New选项—>在弹出的选项卡中选择Python File。

3、在弹出的文件夹中给python文件命名,此时后缀名要以.py结尾。

4、接着在新建的.py文件中输入相应的查看数据类型的代码。

5、右击代码文件的空白处—>在弹出的选项卡中选择Run 文件选项。

6、最后点击运行之后,在下方控制台显示出代码中出现的数据类型的结果。

以上这篇文章就是Python查看数据类型教程,更多教程尽在下载之家。