Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this module you learned about making decisions. You learned about the syntax and rules used to develop programs containing decisions and how the logic

image text in transcribed
In this module you learned about making decisions. You learned about the syntax and rules used to develop programs containing decisions and how the logic can make your programs more robust. Draw a flowchart for a program that shows the logic for a program that generates a random number. The program will simulate tossing coin. The program should generate a random number(o and 1). If the random number is 0, then it should display the word "Heads". If the random number is 1, then it should display the word "Tails". You want to add the code so the player can enter their name, then display a welcome message using their name. You also want to display a message that describes what the program will do. When your program ends, thank the person for playing. There are NO LOOPS, NO Functions or NO MODULES at this point. Everything at this point is in sequence(Line-By-Line). You can add comments at the beginning of each block to explain what the code is doing.. Make a working version of this program in Python. Complete the flowchart. Upload it to the Blackboard assignment area by clicking on the Browse My Computer button below the text editor. Complete the Python code using IDLE. Upload your .py file to the Blackboard assignment area by clicking on the Browse My Computer button below the text editor. This assignment is worth 20 points and will be evaluated using the objectives listed in the assignment

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

Computer Aided Database Design

Authors: Antonio Albano, Valeria De Antonellis, A. Di Leva

1st Edition

0444877355, 978-0444877352

More Books

Students also viewed these Databases questions

Question

Develop a program for effectively managing diversity. page 303

Answered: 1 week ago

Question

List the common methods used in selecting human resources. page 239

Answered: 1 week ago