Skip to content

Instantly share code, notes, and snippets.

View kaansan's full-sized avatar
🏠
Working from home

Kaan Şan kaansan

🏠
Working from home
View GitHub Profile
@kaansan
kaansan / new-programmer-dvorak-layout.md
Last active March 10, 2023 12:41
Programmer Dvorak Layout with Dvorak/Qwerty number order

I updated and created a programmer dvorak layout with dvorak/qwerty number order. I did not touch the shifted keys, I've found it easier with programming. When you have to use calculators, this layout will be helpful more with normal number order. Otherwise it's pretty efficient with shifted number keys for me.

Capslock closed pd-ss-lower-chars

Capslock open pd-ss

Pressed Shift key pd-ss-shift

ilk = int(input("gir\n"))
son = int(input("gir \n"))
sonuc = set()
for i in range(ilk, son, 1):
for bolen in range(2, i, 1):
if i % bolen == 0 and i % i == 0:
pass
else:
sonuc.add(i)
print(sonuc)