Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CSE260 Sir it is urgent.do fast. Please solve this code in python3 paste with proper intendent blocks by pressing (CTRL+SHIFT+V),Also please provide code screenshot, Thank

CSE260

Sir it is urgent.do fast. Please solve this code in python3 paste with proper intendent blocks by pressing (CTRL+SHIFT+V),Also please provide code screenshot, Thank you.

Do not need comments just give me solution as fast as possible. I am running out of time. Attach a screenshot with your solve.

: Write the MNSStudent and EEEStudent class with the required methods to give the following outputs as shown [Designed methods needed to be worked for any number of parameters. The course fee is 18900.]

class Student: def init(self, name, credit): self.name = name self.credit = credit

def str(self): s = f"Name: {self.name} Credit completed: {self.credit}" return s

# Write your codes here. # Do not change the following lines of code. s1 = MNSStudent("David", 56, 21336007) s1.addCourses("PHY201","PHY112","PHY270","MAT110","CSE330") print('====================================') s1.showTuitionFee() print('====================================') print(s1) print('====================================') s2 = EEEStudent("Mike", 32, 21321168) s2.addCourses("CSE110", "EEE201", "EEE480", "EEE449") print('====================================') s2.showTuitionFee() print('====================================') print(s2)

OUTPUT: ================================ David, your tuition fee is 94500 ================================ Name: David Credit completed: 56 ID: 21336007 Course Details: 100 Level: ['PHY112', 'MAT110'] 200 Level: ['PHY201', 'PHY270'] 300 Level: ['CSE330'] ================================ ================================ Mike, your tuition fee is 75600 ================================ Name: Mike Credit completed: 32 ID: 21321168 Course Details: 100 Level: ['CSE110'] 200 Level: ['EEE201'] 400 Level: ['EEE480', 'EEE449']

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

Making Databases Work The Pragmatic Wisdom Of Michael Stonebraker

Authors: Michael L. Brodie

1st Edition

1947487167, 978-1947487161

More Books

Students also viewed these Databases questions

Question

a valuing of personal and psychological privacy;

Answered: 1 week ago