output of the program
Attachments:
![](https://hi-static.z-dn.net/files/ddc/b0cd4d14d9c15cb121d2cb1a4c05eea4.jpg)
Answers
Answered by
1
Answer:
length,gravity = input("enter l and g: ").split()
ls=float(l)
gs=float(g)
pie=22/7
a=ls/gs
sqrt=a**0.5
t=2*pie*sqrt
print("time period of simple pendulum: ",t)
Explanation:
In python,
here,the l and g takes as string.
to covert this ls, gs are taken.
Similar questions