Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

If the variable dayOfWeek is set to Friday, I would like the computer to display Happy Friday on my computer screen. If not, then

 

If the variable dayOfWeek is set to "Friday", I would like the computer to display "Happy Friday" on my computer screen. If not, then I would like it to show "Not Friday yet". Show the Python code that would be required to make this happen..

Step by Step Solution

3.55 Rating (152 Votes )

There are 3 Steps involved in it

Step: 1

You can use an if statement to check the value of the dayOfWeek v... 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

Foundations of Financial Management

Authors: Stanley Block, Geoffrey Hirt, Bartley Danielsen, Doug Short, Michael Perretta

10th Canadian edition

1259261018, 1259261015, 978-1259024979

More Books

Students also viewed these Programming questions