Computer Science, asked by Itzbigsecret28, 1 month ago

please answer 7a and 8 b,c,d,e
i want correct answers

Attachments:

Answers

Answered by SuspendedTrickster
23

I assume you are asking this on basis of Python v3.9

Answer:

8b)

s=int(input("Enter side of the square ")

area=s* *2

print('The area of sq is',s)

8c)

a=int(input('Enter the first term of AP ') or 5

n=int(input('Enter the number of terms ') or 10

d=6 or int(input('Enter the common diffrence: ')

AP= a+(n-1)*d

print(AP)

8d)

a=6

c=3

for i in range(4):

c=c+3

print(c,',',a)

Similar questions