Guess Number

Introduction

In this exercise you will practice

General Instructions

This is an individual assignment.

Collaboration at a reasonable level will not result in substantially similar code. Students may only collaborate with fellow students currently taking this course, the TA’s and the lecturer. Collaboration means talking through problems, assisting with debugging, explaining a concept, etc. You should not exchange code or write code for others.

Notes:

Problem Description

You like guessing secret numbers and your friends won’t play with you.

Solution Description

Write a program in a file called guess_number.py that randomly chooses a secret number from 1 to 10, inclusive, and asks the user to guess the number.

For this assignment you may assume that you get valid input from the user.

Tips and Considerations

Turn-in Procedure

Submit your guess_number.py file on Canvas as an attachment. When you’re ready, double-check that you have submitted and not just saved a draft.

Verify the Success of Your Submission to Canvas

Practice safe submission! Verify that your HW files were truly submitted correctly, the upload was successful, and that your program runs with no syntax or runtime errors. It is solely your responsibility to turn in your homework and practice this safe submission safeguard.