Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Can’t get program to run properly
Post: RE: File issues

#Purpose: create a program that reads the customer files and determines the person’s age. # Then display info in letter format. from datetime import date def get_customer_info(): #open file ...
ITnet20 General Coding Help 11 9,065 Dec-04-2019, 06:16 PM
    Thread: Can’t get program to run properly
Post: RE: Can’t get program to run properly

from datetime import date def calculateAge(birthDate): #function calculates the customers age. today = date.today() age = today.year - birthDate.year - (today.month, today.day) < (birthDate.month,...
ITnet20 General Coding Help 11 9,065 Dec-04-2019, 06:07 PM
    Thread: Can’t get program to run properly
Post: File issues

#Purpose: create a program that reads the customer files and determines the person’s age. # Then display info in letter format. from datetime import date def calculate_age(birthDate): #funct...
ITnet20 General Coding Help 11 9,065 Dec-04-2019, 05:58 AM
    Thread: Can’t get program to run properly
Post: RE: Can’t get program to run properly

So okay spelled the customers.txt file correctly but my goal here is I’m trying to take information for about 4 or 5 lines of data in the customers file and take that data and apply a discount with th...
ITnet20 General Coding Help 11 9,065 Dec-04-2019, 05:25 AM
    Thread: Can’t get program to run properly
Post: Can’t get program to run properly

#Program is written in python from datetime import date def calculateAge(birthDate): today = date.today() age = today.year - birthDate.year - ((today.month, today.day) < (birthDate.month, birthDat...
ITnet20 General Coding Help 11 9,065 Dec-03-2019, 05:42 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020