Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a program to read the user's name and time of the day ( morning , afternoon, or evening ) , each into its own

Write a program to read the user's name and time of the day (morning, afternoon, or evening), each into its own variable. Then output a greeting to the user and a smiley face.
Notes:
end your input messages with
: input("message here:
")
there are spaces between most of the characters making the smiley face, but there must be no space at the end of each line of text.
Example 1:
Enter your name:
Jane
Enter time of day:
morning
Good morning, Jane. Here is a smiley face:
000
0..0
0\_/0
000

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

Case Studies In Business Data Bases

Authors: James Bradley

1st Edition

0030141346, 978-0030141348

More Books

Students also viewed these Databases questions

Question

9. Describe the characteristics of power.

Answered: 1 week ago

Question

3. Identify and describe nine cultural value orientations.

Answered: 1 week ago