This file contains 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
/** | |
* Definition for a binary tree node. | |
* function TreeNode(val) { | |
* this.val = val; | |
* this.left = this.right = null; | |
* } | |
*/ | |
/** | |
* @param {number[]} preorder | |
* @return {TreeNode} |
This file contains 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
migration_1 | Operations to perform: | |
migration_1 | Apply all migrations: admin, auth, contenttypes, sessions, survey | |
migration_1 | Running migrations: | |
migration_1 | Applying survey.0006_auto_20200616_1856...Traceback (most recent call last): | |
migration_1 | File "manage.py", line 23, in <module> | |
migration_1 | main() | |
migration_1 | File "manage.py", line 19, in main | |
migration_1 | execute_from_command_line(sys.argv) | |
migration_1 | File "/usr/local/lib/python3.8/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line | |
migration_1 | utility.execute() |
This file contains 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
Traceback (most recent call last): | |
File "manage.py", line 23, in <module> | |
main() | |
File "manage.py", line 19, in main | |
execute_from_command_line(sys.argv) | |
File "/Users/efuquen/.pyenv/versions/3.8.3/lib/python3.8/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line | |
utility.execute() | |
File "/Users/efuquen/.pyenv/versions/3.8.3/lib/python3.8/site-packages/django/core/management/__init__.py", line 395, in execute | |
self.fetch_command(subcommand).run_from_argv(self.argv) | |
File "/Users/efuquen/.pyenv/versions/3.8.3/lib/python3.8/site-packages/django/core/management/base.py", line 328, in run_from_argv |
This file contains 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
from sense_hat import SenseHat | |
import time | |
import random | |
sense = SenseHat() | |
#declare color tuples | |
r = (255,0,0) | |
w = (255,255,255) | |
k = (0,0,0) |
OlderNewer