diff options
-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) |