GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Python/3.9 Breaking Out of Loops at main · marikullom/Python Expand file tree/ Copy path3.9 Breaking Out of LoopsMore file actions 10 lines (10 loc) · 333 Bytes / Copy path3.9 Breaking Out of LoopsFile metadata and controls10 lines (10 loc) · 333 Bytes 1 2 3 4 5 6 7 8 9 10 # Write a for loop with range function for even numbers for num in range(6, 15, 2): a = num # Write a for loop with range function for odd numbers. for i in range(5, 15, 2): b = i # Use a variable called calc to calculate the sum of even # and odd nubers calc = a + b print(a, '+', b, '=', calc) |
| You are visitor 01402605 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |