+ 11

[SOLVED] Help with Python game

I am working on a game in Python but I am having a problem: I want to have a “from random import choice” of names for the player, but it causes an error because of the if/elif statements. If someone could help me I would greatly appreciate it. (I removed the link)

24th Jul 2018, 5:10 PM
🐺Michael🐺
🐺Michael🐺 - avatar
26 Respostas
+ 10
wow guys, seriously? If you can't help don't bother. I found the error. Give me a minute or two for fixed code. You cannot put any code between an if and elif statements. This was the error
24th Jul 2018, 7:38 PM
Jax
Jax - avatar
+ 4
.teew You didn’t mention him, just so you know. Also, I asked for Beth ‘s help.
24th Jul 2018, 7:19 PM
🐺Michael🐺
🐺Michael🐺 - avatar
+ 4
okay
27th Jul 2018, 12:47 AM
hi user, #Have_Hope
hi user, #Have_Hope - avatar
+ 4
is jax the robot that is gold level?? I met that guy today. he is pretty nice. and Thank you too
27th Jul 2018, 12:48 AM
hi user, #Have_Hope
hi user, #Have_Hope - avatar
+ 4
thank you jax and Micheal
27th Jul 2018, 12:49 AM
hi user, #Have_Hope
hi user, #Have_Hope - avatar
+ 4
no. I always wanted to learn that
27th Jul 2018, 12:56 AM
hi user, #Have_Hope
hi user, #Have_Hope - avatar
+ 3
.teew What do you mean?
24th Jul 2018, 6:28 PM
🐺Michael🐺
🐺Michael🐺 - avatar
+ 3
James Flanders oh python master can you help us find the error in this code?
24th Jul 2018, 7:14 PM
Rtvq
Rtvq - avatar
+ 3
.teew then pray tell what is wrong with the code?
24th Jul 2018, 7:17 PM
Rtvq
Rtvq - avatar
+ 3
.teew hes not the god of python but there is no shame in asking for help from someone who knows what they are doing
24th Jul 2018, 7:19 PM
Rtvq
Rtvq - avatar
+ 3
.teew WE TRIED THAT AND IT DIDNT WORK
24th Jul 2018, 7:19 PM
Rtvq
Rtvq - avatar
+ 3
.teew What do you mean “We have an answer” ?
24th Jul 2018, 7:21 PM
🐺Michael🐺
🐺Michael🐺 - avatar
+ 3
I'm bad at python
27th Jul 2018, 12:23 AM
hi user, #Have_Hope
hi user, #Have_Hope - avatar
+ 3
Sky Ace if you ever need any help, just ask me, or Jax
27th Jul 2018, 12:25 AM
🐺Michael🐺
🐺Michael🐺 - avatar
+ 3
Sky Ace thanks a lot, and yes, that’s me
27th Jul 2018, 12:49 AM
Jax
Jax - avatar
+ 3
Sky Ace You type @ and then the person’s username. So, when I mention you, I type @ and then Sky Ace and tap the little rectangle that has your profile picture. The username will become blue if it worked. Try it on me!
27th Jul 2018, 1:01 AM
🐺Michael🐺
🐺Michael🐺 - avatar
27th Jul 2018, 1:05 AM
hi user, #Have_Hope
hi user, #Have_Hope - avatar
+ 2
Akash Nikam What do you mean?
24th Jul 2018, 6:55 PM
🐺Michael🐺
🐺Michael🐺 - avatar
+ 2
Akash Nikam ❓❓❓❓❓❓❓❓❓❓
24th Jul 2018, 6:57 PM
🐺Michael🐺
🐺Michael🐺 - avatar
+ 2
.teew Parentheses are not mandatory, some people (not me) think it is more readable to have them.
24th Jul 2018, 7:01 PM
🐺Michael🐺
🐺Michael🐺 - avatar