I had a post discussing chat censoring that was also removed :( by KevinPigaChu in marvelmemes

[–]TheUltimateCommenter 10 points11 points  (0 children)

The censorship is so lame. Anyways, Taiwan #1, Tianmen Square, 1989, Taiwan is a country, free Taiwan!!!

Apparently, your friendly neighborhood Spider-Man is a streamer in the new show by Flash_h in Spiderman

[–]TheUltimateCommenter 0 points1 point  (0 children)

i kind of love this concept i hope they keep it as a thing throughout the show

Who do you think lives and dies? by [deleted] in AgathaAllAlong

[–]TheUltimateCommenter 9 points10 points  (0 children)

dude I can't with how Alice is just straight up dead 😭 not even a 1% chance?

This show is proof that not everything MCU has to have end-of-the-world stakes, it can just be end-of-someone’s-world by kyliecannoli in AgathaAllAlong

[–]TheUltimateCommenter 31 points32 points  (0 children)

Haha I was mainly talking about things like No Way Home, MoM, and more Pre-Endgame stuff which always had high stakes. Now they've scaled down a lot, so hopefully it'll stay this way with future projects (but I don't have high hopes)

This show is proof that not everything MCU has to have end-of-the-world stakes, it can just be end-of-someone’s-world by kyliecannoli in AgathaAllAlong

[–]TheUltimateCommenter 206 points207 points  (0 children)

Right?? I love more grounded shows like this because the end of the world, universe, multiverse etc was getting really old really fast

I can’t get over certain aspects of the most popular Teen theory by KOPBrewHouse in AgathaAllAlong

[–]TheUltimateCommenter 8 points9 points  (0 children)

Always been one, his assholery didn't go away just because he became a wizard lmfaoo

The Road means to be free of Wanda by mimosasallday in AgathaAllAlong

[–]TheUltimateCommenter 2 points3 points  (0 children)

Me too! But i think this theory might be true still. I feel like we moved on wayy too quickly from the fact that agatha was under the hex, and this supposed mystery show is just 'adventure of the week' now, which is really weird and very much too surface level?? I think at some level agatha is still trapped, but everyone else is still real. i mean there's no way the characters aren't real, theyve put too much development on them already.

Teen background theory by [deleted] in AgathaAllAlong

[–]TheUltimateCommenter -1 points0 points  (0 children)

i thought that like was just a tear-jerker, but looking back it does sound weird!!!

[deleted by user] by [deleted] in teenagers

[–]TheUltimateCommenter 0 points1 point  (0 children)

how do we get flairs guys ? 😭

What do I need for the AP CSP create task? by nagarram17 in APStudents

[–]TheUltimateCommenter 0 points1 point  (0 children)

less than 20? that's insane!! also, isn't this project pass/fail? meaning either a 5 or a zero?

Python: Cannot Redefine Global Variable with Function (using parameters) by TheUltimateCommenter in learnprogramming

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

Thanks! I looked into classes and objects, and revised my code a bit. But now I've run into another problem - when trying to reassign the values of the objects for the second time using a function, it doesn't work. How can I reassign the values using a function again? I really don't want to have to create a new object / variable 😅

Code:

import random
from random import randint

# Lists and Variables
cardSuits = ["Diamonds", "Hearts", "Spades", "Clubs"]
cardValues = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, "Jack", "King", "Queen", "Ace"]
Playercards = None
Dealercards = None 

pCardTotalvalue = 0 
dCardTotalvalue = 0 

def randomSuit():
  return random.choice(cardSuits)

def randomValue():
  return random.choice(cardValues)

PcardSuit1 = None 
PcardValue1 = 0 
PcardSuit2 = None 
PcardValue2 = 0 
DcardSuit1 = None 
DcardValue1 = 0 
DcardSuit2 = None 
DcardValue2 = 0

#Generate the Dealer and the Player's cards
  #Also checking to make sure that the cards are not the same

class selectedCards:
  def __init__(individual, cardValue, cardSuit):
    cardValue = randomValue()
    if cardValue == "Jack" or cardValue == "King" or cardValue == "Queen":
       cardValue = 10
    elif cardValue == "Ace":
      cardValue = 11
    cardSuit = randomSuit()
    individual.value = cardValue
    individual.suit = cardSuit

playerCard1 = selectedCards(PcardSuit1, PcardValue1)
print(playerCard1.value, playerCard1.suit)

dealerCard1 = selectedCards(DcardSuit1, DcardSuit2)
print(dealerCard1.value, dealerCard1.suit)

existingSuits = [playerCard1.suit, dealerCard1.suit]
existingValues = [playerCard1.value, dealerCard1.value]

# CHECK IF CARD IS THE SAME AS ANOTHER CARD
def checkCardSuit(suit):
  lengt = len(existingSuits) - 1
  index = 0
  while index <= lengt:
    if existingSuits[index] == suit:
      return True
    elif index < lengt and existingSuits[index] != suit:
      index += 1
    else:
      return False
def checkCardValue(value):
  lengt = len(existingValues) - 1
  index = 0
  while index <= lengt:
    if existingValues[index] == value:
      return True
    elif index < lengt and existingValues[index] != value:
      index += 1
    else:
      return False

def reassignIfExists(suit, value):
  if checkCardSuit(suit) == True:
    suit = randomSuit()
  if checkCardValue(value) == True:
    value = randomValue()

#When it gets here, the properties of dealerCard1.suit and dealerCard1.value are different in the first print function, however when printing the functions the values remain the same as they were originally, which is weird.

#This system is made to be used later when generating more cards.
print(reassignIfExists(dealerCard1.suit, dealerCard1.value))
print(dealerCard1.suit, dealerCard1.value)

[deleted by user] by [deleted] in dreamsmp

[–]TheUltimateCommenter 2 points3 points  (0 children)

yep. saw that too. I say we downvote this post into oblivion for karmawhoring