tracinginsights commited on
Commit
d7c4560
1 Parent(s): aeebaeb

Update pages/Downforce_Levels.py

Browse files
Files changed (1) hide show
  1. pages/Downforce_Levels.py +3 -1
pages/Downforce_Levels.py CHANGED
@@ -7,9 +7,11 @@ from repo_directory import button
7
  # selections
8
  YEAR = st.selectbox(
9
  'Select Year',
10
- (2022, 2021, 2020, 2019, 2018))
11
 
12
  def total_rounds(YEAR):
 
 
13
  if YEAR == 2022:
14
  return (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
15
  if YEAR == 2021:
 
7
  # selections
8
  YEAR = st.selectbox(
9
  'Select Year',
10
+ (2023, 2022, 2021, 2020, 2019, 2018))
11
 
12
  def total_rounds(YEAR):
13
+ if YEAR == 2023:
14
+ return (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23)
15
  if YEAR == 2022:
16
  return (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
17
  if YEAR == 2021: