def multi_show(self):
for i in range(2):
a = simple_harmonic_motion(time_step = float(input('time step: ')), time_duration = float(input('time duration: ')), initial_theta = float(input('initial theta: ')), length = float(input('length: ')), strength_of_damping = float(input('stength of damping: ')), amplitude = float(input('amplitude of driving force: ')), anguluar_frequency = float(input('angular frequency of driving force: ')))
a.calculate()
a.show()
pl.show()
#class please_input():
# string_input = input('xlocation ,ylocation: ')
# numbers = [float(n) for n in string_input.split()]
# x = numbers[0]
# y = numbers[1]
#b = simple_harmonic_motion()
#b.calculate_delta()
#b.show()
7 code plus.py 文件源码
python
阅读 25
收藏 0
点赞 0
评论 0
评论列表
文章目录