Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.
Login
Login
OnlineGDB Q&A
Questions
Unanswered
Tags
Ask a Question
Ask a Question
how do i display whitch key was pressed, internet does'nt help
–1
vote
asked
Sep 25, 2020
by
astin
(
110
points)
im trying to make a program that tells what key was pressed
couldnt-find-answer-on-internet
probably-isnt-hard-im-just-dumb
very-urgent
python-3
-trying-to-start-coding-
Please
log in
or register to answer this question.
2 Answers
0
votes
answered
Sep 30, 2020
by
Peter Minarik
(
101,420
points)
Does this help?
https://stackoverflow.com/questions/24072790/detect-key-press-in-python
Please
log in
or register to add a comment.
0
votes
answered
Oct 6, 2020
by
G4BR13l R0S4
(
440
points)
print('Press a key pls')
key=input('')
print(key)
Please
log in
or register to add a comment.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and receive answers from other members of the community.
...