diff options
author | RossTheRoss <msattr@gmail.com> | 2019-10-15 10:48:02 -0500 |
---|---|---|
committer | RossTheRoss <msattr@gmail.com> | 2019-10-15 10:48:02 -0500 |
commit | 0934f8bdc0754708e099899b60d5dd4d90e25704 (patch) | |
tree | 2b0eb108563a0d0378ded7adb28710f4a9d52fd5 | |
parent | I should probably pay attention (diff) | |
download | homework-0934f8bdc0754708e099899b60d5dd4d90e25704.tar homework-0934f8bdc0754708e099899b60d5dd4d90e25704.tar.gz homework-0934f8bdc0754708e099899b60d5dd4d90e25704.tar.bz2 homework-0934f8bdc0754708e099899b60d5dd4d90e25704.tar.lz homework-0934f8bdc0754708e099899b60d5dd4d90e25704.tar.xz homework-0934f8bdc0754708e099899b60d5dd4d90e25704.tar.zst homework-0934f8bdc0754708e099899b60d5dd4d90e25704.zip |
THat was fun I guess
-rw-r--r-- | .vscode/launch.json | 15 | ||||
-rw-r--r-- | ee2301/collatz.py | 4 |
2 files changed, 10 insertions, 9 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json index 78d2d53..aaaa6be 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -4,6 +4,7 @@ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
+
{
"name": "Python",
"type": "python",
@@ -11,14 +12,14 @@ "program": "${file}",
"console": "integratedTerminal"
},
+ // {
+ // "type": "java",
+ // "name": "Java",
+ // "request": "launch",
+ // "mainClass": "Driver"
+ // },
{
- "type": "java",
- "name": "Java",
- "request": "launch",
- "mainClass": "Driver"
- },
- {
- "name": "(gdb) Launch",
+ "name": "C++ (make sure to build default)",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/debug",
diff --git a/ee2301/collatz.py b/ee2301/collatz.py index a9cff4c..d8d1ab8 100644 --- a/ee2301/collatz.py +++ b/ee2301/collatz.py @@ -15,8 +15,8 @@ def collatzConjecture(n): raise AssertionError #main -for i in range (1,3): +for i in range (1,2): print("") -collatzCount(10000) +collatzCount(100) |