"\n", "Consider the list presented below, where each pair represents a grade and attendance. Write a code using a for loop to find the student with the highest attendance in the course and print the student's name and endance." 1. "metadata":{ "id": "D4Z6GIVBWgeb "cell_type": "code", "execution_count": null, "metadata":{ "id": "dJGJCvfmeQd" }, "outputs": [], "source": [ "student_data-[['Ann', 3.2, 0.74],['Mark', 2.9, 0.78], ['Karla', 3.5, 0.81), ('Sarah', 2.5, 0.80), ('David', 3.4, 0.7911" 1 "cell_type": "markdown", "source": L

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter9: Advanced Array Concepts
Section: Chapter Questions
Problem 2PE
icon
Related questions
Question

Write a code in python for this exercise below 

"## Exercise 1 - 20 points ##\n",
"\n",
"Consider the list presented below, where each pair represents a grade and attendance. Write a code using a for loop to find the student with the highest attendance in the course and print the student's name and
attendance."
"metadata": {
"id": "D4Z6GIWBWgeb"
}
"cell_type": "code",
"execution_count": null,
"metadata":{
"id": "dJGJCvfmWcQd"
},
"outputs": [],
"source": [
"student_data-=[['Ann', 3.2, 0.74], ['Mark', 2.9, 0.78], ['Karla', 3.5, 0.81], ['Sarah', 2.5, 0.80], ['David', 3.4, 0.79]]"
]
},
"cell_type": "markdown",
"source": [
Transcribed Image Text:"## Exercise 1 - 20 points ##\n", "\n", "Consider the list presented below, where each pair represents a grade and attendance. Write a code using a for loop to find the student with the highest attendance in the course and print the student's name and attendance." "metadata": { "id": "D4Z6GIWBWgeb" } "cell_type": "code", "execution_count": null, "metadata":{ "id": "dJGJCvfmWcQd" }, "outputs": [], "source": [ "student_data-=[['Ann', 3.2, 0.74], ['Mark', 2.9, 0.78], ['Karla', 3.5, 0.81], ['Sarah', 2.5, 0.80], ['David', 3.4, 0.79]]" ] }, "cell_type": "markdown", "source": [
Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Array
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning