Skip to content

Instantly share code, notes, and snippets.

View audhiaprilliant's full-sized avatar
🎯
Focusing

Audhi Aprilliant audhiaprilliant

🎯
Focusing
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# Dictionary for QWERTY keyboard
dict_qwerty = {
'Q': [['Q', 'W'], ['Q', 'S'], ['Q', 'A']],
'A': [['A', 'W'], ['A', 'Q'], ['Q', 'S'], ['A', 'Z'], ['A', 'X']],
'Z': [['Z', 'A'], ['Z', 'S'], ['Z', 'X']],
'W': [['W', 'Q'], ['W', 'A'], ['W', 'S'], ['W', 'D'], ['W', 'E']],
'S': [['S', 'Q'], ['S', 'W'], ['S', 'E'], ['S', 'A'], ['S', 'D'], ['S', 'Z'], ['S', 'X'], ['S', 'C']],
'X': [['X', 'Z'], ['X', 'A'], ['X', 'S'], ['X', 'D'], ['X', 'C']],
'E': [['E', 'W'], ['E', 'S'], ['E', 'D'], ['E', 'F'], ['E', 'R']],
'D': [['D', 'W'], ['D', 'E'], ['D', 'R'], ['D', 'S'], ['D', 'F'], ['D', 'X'], ['D', 'C'], ['D', 'V']],
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.