Earlier quoted context omitted.
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?
It did run python code when I asked for a random number: https://gemini.google.com/share/dcd6658d7cc9 Then I said: "don't run code, just pick one" and it replied "I'll go with 7."
Mine also gave me 42 before I specified 1-10.
Does it always start with 42 thinking its funny?