mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2026-01-01 07:27:55 -08:00
MAINT: Apply pre-commit
Remove byte-order-marker pre-commit check as there would be many adjustments necessary
This commit is contained in:
@@ -187,7 +187,7 @@ namespace Weekday
|
||||
TodaysDate = PromptForADate("Enter today's date in the form: 3,24,1978 ? ");
|
||||
BirthDate = PromptForADate("Enter day of birth (or other day of interest)? ");
|
||||
|
||||
DisplayOutput(TodaysDate, BirthDate);
|
||||
DisplayOutput(TodaysDate, BirthDate);
|
||||
|
||||
}
|
||||
}
|
||||
@@ -200,4 +200,4 @@ namespace Weekday
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ def get_date_from_user(prompt):
|
||||
print(prompt)
|
||||
date_str = input()
|
||||
try:
|
||||
month_num, day_num, year_num = [int(x) for x in date_str.split(",")]
|
||||
month_num, day_num, year_num = (int(x) for x in date_str.split(","))
|
||||
except Exception as e:
|
||||
print("I COULDN'T UNDERSTAND THAT. TRY AGAIN.")
|
||||
return month_num, day_num, year_num
|
||||
|
||||
@@ -104,7 +104,7 @@
|
||||
1080 GOSUB 1370
|
||||
1085 GOTO 1530
|
||||
1090 PRINT "YOU HAVE RELAXED ",K5,K6,K7
|
||||
1100 PRINT
|
||||
1100 PRINT
|
||||
1110 PRINT TAB(16);"*** YOU MAY RETIRE IN";E;" ***"
|
||||
1120 PRINT
|
||||
1140 PRINT
|
||||
|
||||
Reference in New Issue
Block a user