Placeholder

CIS115 Week 7 Lab Creating A GUI In Python

$15.00

Description

This week’s lab is to create a GUI in python and use the tkinter module
Use text boxes to retrieve the speed and time traveled (in minutes) from the user. From this calculate the distance traveled: distance  = rate * time
Deliverables
A source code Python file.
A Word document containing both source code and the screen print of the program outputs.
Lab Steps
Sample Output:
The output should be something similar to the following.
Hints:
The following code below is an implementation of a GUI to solve for miles per gallon. Use the code from the example below calculating miles per gallon, and modify it to display the distance traveled.
Instead of asking the user for miles driven and gas. You will need to ask for Time driving and Speed. You will also need to modify the formula.
SCREENSHOTS
SOLUTION
PAYMENT
ENTIRE COURSE
The solution includes a zip file.
Attachments [Move over files to preview content of those files]
CIS115_Week_7.zip (61.73 KB)
CIS115-Week-7-Screenshot.png
CIS115_Week7_Lab.docx
week7.py
Preview week7.py
xxxxxx xxxxxxx xx xx
xxxx xxxxxxx xxxxxx xxx
xxx xxxxx_xxxxxxxxxxxxxxx():
time_driving = float(timeText.get()) # get time_driving driven from the time textfield speed = float(speedText.get()) # get speed used from the speed textfield distance = time_driving * speed # do the math! distanceText.set(round(distance, 1)) # display the output
def command_exitButton(): root.destroy()
# xxxxxx xxxx xxxxxx
xxxx = xx.xx()
xxxx.xxxxx(“xxxxxxxx xxxxxxxxxx”)
xxxx.xxxxxxxx(“280×150”) # xxxx xx xxxxxx
# xxxxxx xxxxx xxx xxx xx xx xxx xxxx xxxxxx
Price: $15
Buy Now
Checkout
Added to cart
Add to Cart
Checkout
Added to cart
FLASH SALE
$89
$111
Save $22
CIS115 Entire Course
Get Entire Course
You May Also Like:
CIS115 Week 1 Lab Registration Form and Pay Calculator
CIS115 Week 2 Lab Even or Odd and Grade Checker
CIS115 Week 3 Lab Change Calculator and Shipping Calculator
CIS115 Week 4 Lab Multiplication Table
CIS115 Week 5 Lab Race Time Sorting
CIS115 Week 6 Lab Shopping List
CIS115 Course Project Guess The Number

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.