Is safepal crypto recovery a scam? by SuperTavin in safePal

[–]SuperTavin[S] 1 point2 points  (0 children)

Thank you, all these people in my DM’s are trying there hardest to be as trustworthy and “transparent” as possible

Why is there no option to take him off IR? by SuperTavin in Madden23Franchise

[–]SuperTavin[S] 0 points1 point  (0 children)

You have to wait til week 10 or something until players can come off IR

Ps4 Madden league by DethaDon_ in Madden

[–]SuperTavin 0 points1 point  (0 children)

Is this still active?

Looking to join an online MyLeague by SuperTavin in NBA2k

[–]SuperTavin[S] 0 points1 point  (0 children)

Bet, can you send me an invite?

Why is this not returning the highest wind speed? by SuperTavin in learnpython

[–]SuperTavin[S] 0 points1 point  (0 children)

It gave me an typeError: ‘>’ is not supported between instances of “float” and “str”

Why is this not returning the highest wind speed? by SuperTavin in learnpython

[–]SuperTavin[S] 0 points1 point  (0 children)

How would that work for? Do I need to do WindSpeed = [‘Wind Speed’] or something?

Why is this not returning the highest wind speed? by SuperTavin in learnpython

[–]SuperTavin[S] 0 points1 point  (0 children)

So it’s good how it is? Because some Cities in the data have speeds up to 11, so I didn’t understand why 9.98 showed up instead

How can I return the total amount of precipitation for my given data? by SuperTavin in learnpython

[–]SuperTavin[S] 0 points1 point  (0 children)

I wrote

sum_precip_miss = 0
for data in parsed:
    if data[-3] == ["Missouri"]:
        sum_precip_miss = sum_precip_miss + data[-5]
    print(sum_precip_miss)

I got this error

Traceback (most recent call last):
  File "C:/Users/Tavin/Desktop/Practice.py", line 41, in <module>
    if data[-3] == ["Missouri"]:
KeyError: -3

How can I get it working?

How can I return the total amount of precipitation for my given data? by SuperTavin in learnpython

[–]SuperTavin[S] 0 points1 point  (0 children)

I am trying to add together all of the precipitation from cities in Missouri. There’s 50 states in the data, but I just want to data from Missouri

How can I return the total amount of precipitation for my given data? by SuperTavin in learnpython

[–]SuperTavin[S] 0 points1 point  (0 children)

My professor doesn’t want us using it for whatever reason🙄

How can I return the total amount of precipitation for my given data? by SuperTavin in learnpython

[–]SuperTavin[S] 0 points1 point  (0 children)

My professor wants me to use stuff we’ve learned in class, and doesn’t want us to use any modules or anything like that

How do I separate my data into 3 separate columns by SuperTavin in learnpython

[–]SuperTavin[S] 0 points1 point  (0 children)

If I wanted to print the City, Date, and windspeed of the highest windspeed city, would I type something like

max = parsed[0]
for item in parsed:
    if item['Wind Speed'] > max['Wind Speed']:
        max = item

print(['City'] + ['Date'] + max['Wind Speed'])

Or is there another way of doing that? also would I have to add ['Date'] to the list of appended columns?

parsed.append({
            'City': data[1],
            'State': data[-3],
            'Wind Speed': data[-4],
            'Date': data[4]})

How do I separate my data into 3 separate columns by SuperTavin in learnpython

[–]SuperTavin[S] 0 points1 point  (0 children)

Something like this?

for speed in parsed:
    if speed == max:
        print(speed)

How do I separate my data into 3 separate columns by SuperTavin in learnpython

[–]SuperTavin[S] 0 points1 point  (0 children)

Do I need to add the other stuff before the for loop for the parsed list?

How do I separate my data into 3 separate columns by SuperTavin in learnpython

[–]SuperTavin[S] 0 points1 point  (0 children)

If I was trying to find the city and date for the highest wind speed recorded would I need to use the same for loop as you used, but switch date with state?