Computer Science, asked by kabi2006, 1 year ago

output of the program ​

Attachments:

Answers

Answered by vcharithacherry
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