This assignment is
considered a gateway for the future assignments.
This assignment
will be graded as pass or fail.
You must submit and
pass this assignment, otherwise your future assignments will
receive a grade of zero.
Objective:
Verify that you have Python 3.x
installed and can run Python programs.
Ensure adherence to the Assignment
Submission Guidelines.
Confirm that you can log into Canvas
and upload your assignments.
Review and understand the class
syllabus.
Assignment Task:
Write a program to
create the following drawing in a window on your
screen:
Draw a line from the upper left
corner to the lower right corner of the window.
Draw another line from the upper
right corner to the lower left corner of the window.
Draw an oval centered in the middle
of the window. The oval's width should be 50% of the window's
width, and its height should be 50% of the window's
height.
Ensure the window is resizable, and
all drawn elements adjust their size accordingly.
Purpose:
This assignment
provides a foundation and framework for your future work. It will
help you:
Create a window
Add menu items
Set up panels, widgets, and
buttons
Position objects
Implement callback routines for
button clicks
Request user input
Create a canvas
Draw lines and ovals
Query window size
Capture mouse clicks
How to Proceed:
Be sure to follow these steps and check off
each box as you complete them:
Open the MS Word document, update the
first four lines according to the Assignment Submission
Guidelines, enter your
last name, first name, and student ID, and save the
document.
Adhering strictly
to the format specified in theAssignment Submission
Guidelines is
essential. Submissions are processed automatically based on these
guidelines, which means that any deviation from the exact format
will prevent your assignment from being properly graded. If your
submission does not match the required format precisely, it will be
rejected by the system, and you will receive no credit for that
assignment. Ensure that you follow every detail of the guidelines
to avoid any issues with your submission.