Spaces:
Running
Running
import streamlit as st | |
from repo_directory import WDC_Contenders | |
from repo_directory import button | |
# Get the current drivers standings | |
driver_standings = WDC_Contenders.get_drivers_standings() | |
# Get the maximum amount of points | |
points = WDC_Contenders.calculate_max_points_for_remaining_season() | |
# Print which drivers can still win | |
WDC_Contenders.calculate_who_can_win(driver_standings, points) |