| Since its unclear whats going on, Gemini first gave me some python. import random random_number = random.randint(1, 10)
print(f"{random_number=}") Then it stated the output. Code output
random_number=8 "This time, the dice landed on 8." Code output
random_number=9 "Your next random number is 9." I would guess its not actually executing the python it displayed? Just a simulation, right? |
Then I said: "don't run code, just pick one" and it replied "I'll go with 7."