摘要:
将输出格式化为以下格式: At t = 0.6s, a ball with initial velocity v0 = 5.000E+00 m/s is located at the height 1.23 m. 1 # coding=utf-8 2 v0 =5.0 3 g = 9.81 4 t = 阅读全文
posted @ 2020-04-10 11:40
风和月
阅读(670)
评论(0)
推荐(0)
摘要:
必须是在第一行或是第二行加入 1)加上# -*- coding:utf-8 -*-之后就能成功使用中文注释了 2)或者加上 # coding=utf-8 3)或者加上 #!/usr/bin/python # vim: set fileencoding=utf-8: 备注:支持中文的格式有utf-8, 阅读全文
posted @ 2020-04-10 11:02
风和月
阅读(629)
评论(0)
推荐(0)
浙公网安备 33010602011771号