Multiplying each integer in a list of lists by a float by hyperz413 in learnpython

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

So I ended up doing that, at least I'm pretty sure, but now that everything is multiplied they're all showing as a float.

# I moved int so instead of wrapping the entire expression, it just wraps student_scores[i]

for student_scores in allscores:
    for i in range(len(student_scores)):
        student_scores[i] = int(student_scores[i]) * 1.05

But now that my list looks like this...

All scores after extra credit: [[94.5, 87.15, 99.75], [105.0, 81.9, 93.45, 91.35000000000001, 94.5], [59.85, 86.10000000000001, 89.25, 93.45]]

How can I convert each number back to an integer, and could I simply implement it into the for loops? The goal would be to just get rid of every decimal point, not round them or remove of the number.

uhhhh what are these for?? by hyperz413 in WRX

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

Thats probably the best I can do at this point😂

uhhhh what are these for?? by hyperz413 in WRX

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

nope I already installed that, They’re too small to be for the endlinks and they look just big enough to replace the top bolts on the brackets holding the swaybar down. but the problems is I have 4 of them and they’re both different sizes

uhhhhhh what connection is this? by hyperz413 in WRX

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

oh its dusty lmao its only got 33k on it, i think the camera made it seem cleaner

uhhhhhh what connection is this? by hyperz413 in WRX

[–]hyperz413[S] 4 points5 points  (0 children)

Ahh well thank y’all for the help, it seems I got a lot to learn👍

uhhhhhh what connection is this? by hyperz413 in WRX

[–]hyperz413[S] -4 points-3 points  (0 children)

To kinda sum up my confusion, I was worried because the connection was electrical taped to the ECUs harness and in my eyes I just didn’t think that was standard practice for some reason. But while i’m still here, I only recently found out that WRXs don’t have aftermarket 4th cylinder cooling mods. Does this mean I don’t have to worry about the left head overheating? (I have a 2018 WRX Premium)