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
| /** | |
| * Lorenzo Sketch | |
| */ | |
| @import url('https://fonts.googleapis.com/css2?family=Black+Ops+One&family=National+Park:wght@200..800&display=swap'); | |
| html { | |
| /* CSS HEX */ | |
| --white-smoke: #f5f5f5ff; | |
| --school-bus-yellow: #fbc429ff; |
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
| /* YASBA - branding.css - v0.1 */ | |
| /* Tokens + themes + small brand helpers. | |
| Manual theme override via html[data-theme="light|dark"] wins over system preference. */ | |
| /* ---------- Font imports (Google Fonts) ---------- | |
| Recommended: | |
| - Inter (UI) | |
| - Source Serif 4 (editorial headings / summaries) | |
| - JetBrains Mono (optional mono) |
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
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>Clean map with MyMaps KML</title> | |
| <meta name="viewport" content="initial-scale=1, width=device-width" /> | |
| <style> | |
| /* full-screen map */ | |
| html, body { | |
| height: 100%; |
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
| /** | |
| * Horizontally scrolling box | |
| */ | |
| .scrollbox { | |
| /*overflow: hidden;*/ | |
| display: block; | |
| outline: 1px solid red; | |
| padding: 0; | |
| margin: 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
| /** | |
| * Gwynne's Blocks | |
| */ | |
| div { | |
| width: 42rem; | |
| height: 59.4rem; | |
| position: relative; | |
| background-color: red; | |
| box-sizing: border-box; |
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
| test_liste = [1,2,"3", True, 10] | |
| test1 = sublist(test_liste, 2, 4) | |
| assert test1==["3", True] | |
| test2 = sublist(test_liste, None, 4) | |
| assert test2==[1, 2, "3", True] |
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
| '''Modus 0: | |
| 13*[(45+48+{20}+{29}*9)+15+7]+50+39 | |
| 13*[(45+48+20+29*9)+15+7]+50+39 | |
| 13*[374+15+7]+50+39 | |
| 13*396+50+39 | |
| 5237 | |
| Modus 1: | |
| 13*[(45+48+{20}+{29}*9)+15+7]+50+39 | |
| 13*[(45+48+20+29*9)+15+7]+50+39 |
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 traceback | |
| from PA06_v2 import multiply, power | |
| def do_test(A, B, C, POW): | |
| try: | |
| result = multiply(A, B) | |
| if result != C: | |
| print('multiply({}, {})'.format(A, B)) | |
| print('\tsollte sein: {}'.format(C)) | |
| print('\twar aber: {}'.format(result)) |
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
| def list_to_set(l): | |
| for i, e in enumerate(l): | |
| len_before = len(l[i]) | |
| l[i] = set(e) | |
| if len(l[i]) != len_before: | |
| l[i] = None | |
| return sorted(l) | |
| def test(): |
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
| def test(): | |
| def do_test(t, args): | |
| lok = False | |
| try: | |
| if len(args) == 3: | |
| p, l, r = args | |
| retVal = t(p, l) | |
| lok = retVal == r | |
| else: |
NewerOlder