Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

What code is needed in order for the message Contact assistant dean to be displayed from the following example? if s _ class.lower ( )

What code is needed in order for the message "Contact assistant dean" to be
displayed from the following example?
if s_class.lower()=="fr":
if techFee 100 :
print("Contact financial aid")
else:
print("Tech fee approved")
elif s_class.lower()=="so":
if techFee 100 and techFee 500 :
print("Contact financial aid")
elif techFee 500 :
print("Contact assistant dean")
else:
print("Tech fee approved")
else:
if techFee 700 :
print("Tech fee approved")
else:
print("Contact dean")
s_class="SO"
techFee =499
s_class="SO"
techFee =600
S_class="SR"
techFee =499
S_class="FR"
techFee =200
image text in transcribed

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_2

Step: 3

blur-text-image_3

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

Progress Monitoring Data Tracking Organizer

Authors: Teacher'S Aid Publications

1st Edition

B0B7QCNRJ1

More Books

Students also viewed these Databases questions

Question

Write an elaborate note on marketing environment.

Answered: 1 week ago