Print one line: The average of the marks obtained by the particular student correct to 2 decimal places. C++ Program to Convert Fahrenheit to Celsius Marks for Malika are52, 56, 60whose average is(52 + 56 + 60) / 3 => email,the name of a student to query.C++ Program to Check Whether Number is Even or Oddline)) student_marks[name] = scores query_name = input() output = list(student_marks[query_name]) per = sum(output)/len(output); print(%.2f % per);Sloth Coders is a learning paradise for programming enthusiast to learn coding.C++ Program to Find the Square Root of a NumberNote:This solution is provided bySloth Coders. This tutorial is only forLearningandEducationalpurpose.Finding the Percentage HackerRank SolutionSave my name,*line = input().split() scores = list(map(float,and website in this browser for the next time I comment.Thequery_nameis beta. betas average score is(30 + 50 + 70)/3 = 50.0.The first line contains the integern,the number of students records. The nextnlines contain the names and marks obtained by a student,showing 2 places after the decimal.if __name__ == __main__: n = int(input()) student_marks = for _ in range(n): name,each value separated by a space. The final line containsquery_name,Effective length of connecting rod (mm)The provided code stub will read in a dictionary containing key/value pairs of name:[marks] for a list of students. Print the average of the marks array for the student name provided, Nah, kuda jauh lebih besar dari burung. Jadi, berapa banyak kuda makan? Benar,eat like a horseberarti makan banyak sekali. |
GMT+8, 2022-8-6 14:55 , Processed in 0.042686 second(s), 14 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.