pls answer these questions
Answers
Answer:
A main.
1. 31.400000000000002 (or write it as 31.40)
2. 12.333333333333336 (or write it as 12.33)
B main.
1. x=150
y=200
print(x*y)
2. time = 3
dist = 192
average_speed = dist/time
print(average_speed)
3.
radius = float(input('Enter radius of circle: '))
area = 3.14 * radius * radius
circumference = 2 * 3.14 * radius
print('Area = ' + str(area))
print('Circumference = ' + str(circumference))
4.
name = input("name: ")
roll_no = input("roll number: ")
max_marks = float(input("TOTAL marks: "))
sub1 = float(input("subject 1 marks: "))
sub2 = float(input("subject 2 marks: "))
sub3 = float(input("subject 3 marks: "))
sub4 = float(input("subject 4 marks: "))
sub5 = float(input("subject 5 marks: "))
totalmarks = float(sub1+sub2+sub3+sub4+sub5)
total5 = float(max_marks*5)
percent = (totalmarks/total5)*100
print(name + " has scored " + str(totalmarks) + " totally. " + "His/her percentage is: " + str(percent) + "%")
It took 1.5 hours to make this answer . I hope you are pleased with it :)