Ask coding questions

← Back to all posts
how to do this in PYTHON.
ROCKINGRAYQUAZA

Recently i have been working on a game but i want to add a feature in it that when the game intro is on display ..I will print something like "PRESS ENTER"and until the user presses the enter key the program should not function so is there a way to do that?

any help would be appreciated..
and if you have any suggestions or comments about the game please provide them in the comments.

REGARDS,
rayquaza

Answered by PattanAhmed [earned 5 cycles]
View Answer
Voters
ROCKINGRAYQUAZA
Comments
hotnewtop
PattanAhmed

@ROCKINGRAYQUAZA Hi,
You can keep an If Statement like this:-

Now the main thing is to change this example to your code in the correct part.
For that, Try your best.

With my best wishes
Hope this helps
Please mark my answer if this helps

ROCKINGRAYQUAZA

thanks bro are you a proffessional coder or a [email protected]

PattanAhmed

@ROCKINGRAYQUAZA Welcome!
I am a little bit professional in coding dude.
LoL
Anyways, Happy to help you!

HahaYes

@PattanAhmed yes a bit professional smh

HahaYes

@PattanAhmed STOP SPOONFEEDING

HahaYes

@PattanAhmed BLATANT SPOONFEEDING STOP

Vandesm14

@HahaYes It's not spoonfeeding. Please stop reporting spoonfeeding altogether if you don't know what is and isn't spoonfeeding.

PattanAhmed

@Vandesm14 Thanks a lot...
This guy always accuses me by telling me spoonfeeding!
I have been accused 4 times publicly and I don't know what to do.
But, Thanks million times for your support.

ROCKINGRAYQUAZA

i joined discord @PattanAhmed

PattanAhmed
ROCKINGRAYQUAZA

ROCKINGRAYQUAZA#2811 @PattanAhmed

PattanAhmed