This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| print('enter row count:'); | |
| row_count = int(input()); | |
| print('enter col count:'); | |
| col_count = int(input()); | |
| print(f'creating matrix size %dx%d' % (col_count, row_count)); | |
| m = []; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import pygame; | |
| import math; | |
| pygame.init(); | |
| pygame.display.init(); | |
| pygame.display.set_mode(size=(600,400)); | |
| to_render = [ | |
| # bottom edge | |
| [(0,0,0), (0,0,1), (1,0,0)], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //// | |
| //// | |
| //// GB.H | |
| //// | |
| //// | |
| // NOTE(bumboni): GameBoy technical data | |
| // | |
| // CPU: LR25902 | |
| // Clock speed: 4.194304MHz |
NewerOlder