Help me create a selection statement flowchart for this python code   print("SEASON APPLICATIONS") print("Use numbers 1-12 for months, and 1-31 for days.") print(" ") m = int(input("Input month: ")) day = int(input("Input day: ")) print(" ")   #MonthsAndTemperatures if m == 1:         month = 'January'         C = '0'         Description = 'the freezing point of water' elif m == 2:         month = 'February'         C = '0'         Description = 'the freezing point of water' elif m == 3:         month = 'March'         C = '10'         Description = 'a cool day' elif m == 4:         month = 'April'         C = '10'         Description = 'a cool day' elif m == 5:         month = 'May'         C = '21'         Description = 'the room temperature' elif m == 6:         month = 'June'         C = '30'         Description = 'a beach weather' elif m == 7:         month = 'July'         C = '30'         Description = 'a beach weather' elif m == 8:         month = 'August'         C = '37'         Description = 'the body temperature' elif m == 9:         month = 'September'         C = '30'         Description = 'a cool day' elif m == 10:         month = 'October'         C = '21'         Description = 'the room temperature' elif m == 11:         month = 'Novermber'         C = '10'         Description = 'a cool day' elif m == 12:         month = 'December'         C = '0'         Description = 'the freezing point of water' elif m>12:         month = 'INPUT ERROR'         C = 'INPUT ERROR'         Description = 'INPUT ERROR'       #Seasons if month in ('January', 'February', 'March'):         s = 'Winter Season' elif month in ('April', 'May', 'June'):         s = 'Spring Season' elif month in ('July', 'August', 'September'):         s = 'Summer Season' elif month in ('October', 'November', 'December'):         s = 'Fall Season'   elif (month == 'March') and (day > 15):         s = 'Spring Season' elif (month == 'June') and (day > 15):         s = 'Summer Season' elif (month == 'September') and (day > 15):         s = 'Fall Season' elif (month == 'December') and (day > 15):         s = 'Winter Season'   elif (month == 'INPUT ERROR'):         s = 'INPUT ERROR'   #Ascii if s == 'Winter Season':         print("       ,---------------------------------.    ,-- ")         print("       |,-------------------------------.|    |,- ")         print("       || o      /\  o     o       o    ||    ||  ")         print("   ,--.||    o  /  \    o             o ||    ||o ")         print("-. \    `. o   /-..-\         o       ,-:|    ||  ")         print("  \ )    _\  /\/    \     o          :   \    ||")         print("   )),;;'(. /  \  o  \o           o  |    )   ||")         print("  / ((.`   >/`'\.__..-\/\    /\      |   /    ||")         print("  \  ))   ") elif s == 'Spring Season':         print(" _,-._")         print("/ \_/ \ ")         print(">-(_)-<")         print("\_/ \_/")         print("  `-'  ") elif s == 'Summer Season':         print("     \     |     /")         print("       \       /")         print("         ,d8b,           ., ")         print(" (')-')_ 88888 ---   ;';'  ';'. ")         print("('-  (. ')98P'      ';.,;    ,; ")         print(" '-.(   )'     \       '.';.' ")         print("           |     \ ")         print("           | ") elif s == 'Fall Season':         print("     .\^/.  ")         print("   . |`|/| . ")         print("   |\|\|'|/| ")          print(".--'-\`|/-''--. ")              print(" \`-._\|./.-'/   ")         print("  >`-._|/.-'< ")         print(" '~|/~~|~~\|~' ")         print("       | ")     print('') print(f'It is {month} {day} and it is {s}.') print(f'The temperature is {C} degrees Celsius and it is {Description}.')

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Help me create a selection statement flowchart for this python code

 

print("SEASON APPLICATIONS")

print("Use numbers 1-12 for months, and 1-31 for days.")

print(" ")

m = int(input("Input month: "))

day = int(input("Input day: "))

print(" ")

 

#MonthsAndTemperatures

if m == 1:

        month = 'January'

        C = '0'

        Description = 'the freezing point of water'

elif m == 2:

        month = 'February'

        C = '0'

        Description = 'the freezing point of water'

elif m == 3:

        month = 'March'

        C = '10'

        Description = 'a cool day'

elif m == 4:

        month = 'April'

        C = '10'

        Description = 'a cool day'

elif m == 5:

        month = 'May'

        C = '21'

        Description = 'the room temperature'

elif m == 6:

        month = 'June'

        C = '30'

        Description = 'a beach weather'

elif m == 7:

        month = 'July'

        C = '30'

        Description = 'a beach weather'

elif m == 8:

        month = 'August'

        C = '37'

        Description = 'the body temperature'

elif m == 9:

        month = 'September'

        C = '30'

        Description = 'a cool day'

elif m == 10:

        month = 'October'

        C = '21'

        Description = 'the room temperature'

elif m == 11:

        month = 'Novermber'

        C = '10'

        Description = 'a cool day'

elif m == 12:

        month = 'December'

        C = '0'

        Description = 'the freezing point of water'

elif m>12:

        month = 'INPUT ERROR'

        C = 'INPUT ERROR'

        Description = 'INPUT ERROR'

 

 

 

#Seasons

if month in ('January', 'February', 'March'):

        s = 'Winter Season'

elif month in ('April', 'May', 'June'):

        s = 'Spring Season'

elif month in ('July', 'August', 'September'):

        s = 'Summer Season'

elif month in ('October', 'November', 'December'):

        s = 'Fall Season'

 

elif (month == 'March') and (day > 15):

        s = 'Spring Season'

elif (month == 'June') and (day > 15):

        s = 'Summer Season'

elif (month == 'September') and (day > 15):

        s = 'Fall Season'

elif (month == 'December') and (day > 15):

        s = 'Winter Season'

 

elif (month == 'INPUT ERROR'):

        s = 'INPUT ERROR'

 

#Ascii

if s == 'Winter Season':

        print("       ,---------------------------------.    ,-- ")

        print("       |,-------------------------------.|    |,- ")

        print("       || o      /\  o     o       o    ||    ||  ")

        print("   ,--.||    o  /  \    o             o ||    ||o ")

        print("-. \    `. o   /-..-\         o       ,-:|    ||  ")

        print("  \ )    _\  /\/    \     o          :   \    ||")

        print("   )),;;'(. /  \  o  \o           o  |    )   ||")

        print("  / ((.`   >/`'\.__..-\/\    /\      |   /    ||")

        print("  \  ))   ")

elif s == 'Spring Season':

        print(" _,-._")

        print("/ \_/ \ ")

        print(">-(_)-<")

        print("\_/ \_/")

        print("  `-'  ")

elif s == 'Summer Season':

        print("     \     |     /")

        print("       \       /")

        print("         ,d8b,           ., ")

        print(" (')-')_ 88888 ---   ;';'  ';'. ")

        print("('-  (. ')98P'      ';.,;    ,; ")

        print(" '-.(   )'     \       '.';.' ")

        print("           |     \ ")

        print("           | ")

elif s == 'Fall Season':

        print("     .\^/.  ")

        print("   . |`|/| . ")

        print("   |\|\|'|/| ") 

        print(".--'-\`|/-''--. ")     

        print(" \`-._\|./.-'/   ")

        print("  >`-._|/.-'< ")

        print(" '~|/~~|~~\|~' ")

        print("       | ")

 

 

print('')

print(f'It is {month} {day} and it is {s}.')

print(f'The temperature is {C} degrees Celsius and it is {Description}.')

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY