17 Reputation Points
Ranked #1K
- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
100% Quality Score
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
0 Endorsements
Ranked #31.8K
The button in question is supposed to calculate the cost of a car rental, from inputs for how many months, how many weeks and how many days. This is the entire code at the moment: import tkinter as tk from datetime import * # Create a tkinter window window = … | |
how exactly would I get an age validator and a rental cost calculator to work (python tkinter)? the code I used for the age validator is as follows: def validate_age(): dob = dob_entry.get() age = calculate_age(dob) if age < 24: tk.Label(text="You must be aged 24 or over to complete this … |