1、打开Python集成编译器,点击【File】-【New File】。
2、在py文件中输入代码print('hello'),print(补朱锚卦39;world'),print('百度'),print('经验')。
3、使用F5运行程序,在输出窗口中可以看到内容全部换行输出,这是因为print函数自带换行效果,会将不同的输出分行展示。
时间:2024-10-14 15:27:53
1、打开Python集成编译器,点击【File】-【New File】。
2、在py文件中输入代码print('hello'),print(补朱锚卦39;world'),print('百度'),print('经验')。
3、使用F5运行程序,在输出窗口中可以看到内容全部换行输出,这是因为print函数自带换行效果,会将不同的输出分行展示。