Sep-04-2018, 06:23 AM
Great stuff!
BTW ReallyBigTeeth,
You can simplify your print statement below with:
BTW ReallyBigTeeth,
You can simplify your print statement below with:
print('loop', count)
(Jun-23-2018, 05:29 AM)ReallyBigTeeth Wrote: When I run:
import msvcrt count = 0 while True: count += 1 character = msvcrt.getch() print('loop ' + str(count)) print(character, end='\n\n') if character == b'q': break