引导网站不会崩溃

时间:2018-08-08 18:19:37

标签: javascript jquery html css bootstrap-4

我正在制作有关引导程序的投资组合网页。一切正常,直到我将代码上传到引导程序并且页面仅停止滚动并且无法找到导致页面停止滚动的代码段的解决方案/标识。这是我的代码:

# importing csv file

import csv
text = open("yanks.csv").read()

# splitting rows

for row in text.split("\n"):
    columns = row.split(",")
    players = columns[0]
    year = columns[1]
    games_played = int(columns[2])
    home_runs = int(columns[3])

# Function to find max amount of home runs in a list
def most_hr(list):
    max = 0
    for i in list:
        if i > max:
            max = i
    return max

0 个答案:

没有答案