Spaces:
Running
Running
File size: 398 Bytes
4407ef6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
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) |