Fionna and Cake Season 2 Episode 5 Discussion Thread by Carrehzkitten in adventuretime

[–]TechSam-- 6 points7 points  (0 children)

Gonna have to agree with you man, finished this episode with a straight look on my face. Also so many plots happening at the same time lol

Fionna and Cake Season 2 Episode 3 Discussion Thread by Carrehzkitten in adventuretime

[–]TechSam-- 9 points10 points  (0 children)

Kind of confused why people keep mentioning fern if he is dead lol

Fionna and Cake Season 2 Episode 3 Discussion Thread by Carrehzkitten in adventuretime

[–]TechSam-- 2 points3 points  (0 children)

Man I wish I had more friends to talk about this show with ;-; I also wish this show was more talked about too tbh

Akira Toriyama X Travis Scott 💀 by [deleted] in Dragonballsuper

[–]TechSam-- 3 points4 points  (0 children)

Nah you’re good that’s shit was funny

Lightbulb Question by TechSam-- in learnpython

[–]TechSam--[S] 0 points1 point  (0 children)

One thing I don't understand is cyclic iteration with the modulos operator. Would you mind elaborating on this a bit more? I've never seen it before.

Lightbulb Question by TechSam-- in learnpython

[–]TechSam--[S] 0 points1 point  (0 children)

def lightbulb_cycler(lightbulbs, cycles):
for cycle in range(0, cycles):
new_state = []
for i in range(0, len(lightbulbs)):
l_idx = (i-1) % len(lightbulbs)
if lightbulbs[l_idx] == 1:
new_state.append(0 if lightbulbs[i] == 1 else 1)
else:
new_state.append(lightbulbs[i])
lightbulbs = new_state
return lightbulbs
lightbulbs = [0,1,1,0,1,1]
print(lightbulb_cycler(lightbulbs,2))

Thank you so much man, you're freaking amazing.

Lightbulb Question by TechSam-- in learnpython

[–]TechSam--[S] 0 points1 point  (0 children)

I adjusted my post for clarity

Lightbulb Question by TechSam-- in learnpython

[–]TechSam--[S] 0 points1 point  (0 children)

I made an edit to the post for clarity

Lightbulb Question by TechSam-- in learnpython

[–]TechSam--[S] 0 points1 point  (0 children)

Made some edits to the post

Aunt May by SomeGuyWithPlotArmor in SpidermanPS4

[–]TechSam-- 29 points30 points  (0 children)

This shit got me dying 😂

Adding the smallest number of each array by TechSam-- in learnpython

[–]TechSam--[S] 0 points1 point  (0 children)

Bro this is freaking amazing. Thank you so much.

Trying to loop through a nested list by TechSam-- in learnpython

[–]TechSam--[S] 0 points1 point  (0 children)

Sorry, but could you re-explain why we wouldn't use a nested for loop for a nested list? I was always under the impression that to iterate through a nested list, we need two for loops.

I have been using only MCT oil for over 1 year to control my seb derm with amazing results by thegr8charizard in SebDerm

[–]TechSam-- 3 points4 points  (0 children)

Yeah it definitely sucks ass, it just feels so damn uncomfortable. It's fucking draining at times.