Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Python program to store and display the student name and marks of a student as shown in output Q1) Write a program to read the

Python program to store and display the student name and marks of a student as shown in output

Q1) Write a program to read the file "Subject.txt" and store the data in various variables. The data about a student are to be stored in a list. For example, data of the first student are stored as

[18447565, VANDERGRAFF, T, [74.0, 42.5, 57.0]]

where the marks are also stored in a list.

Print each of the student's detail as a list, each student on one line.

Attach your program (with suffice.py)andfiles, which show your outputs.

Subject.txt file give below

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction to Wireless and Mobile Systems

Authors: Dharma P. Agrawal, Qing An Zeng

4th edition

1305087135, 978-1305087132, 9781305259621, 1305259629, 9781305537910 , 978-130508713

More Books

Students also viewed these Programming questions

Question

In which of the following environments can sound travel fastest?

Answered: 1 week ago

Question

Which type of energy does an object have when it is in motion?

Answered: 1 week ago

Question

The working principle of a washing machine is?

Answered: 1 week ago