From 8b0be0d6bd5721fa49d1be567d91ae06356b10ec Mon Sep 17 00:00:00 2001 From: Bram Barbieri Date: Wed, 13 Mar 2024 12:49:48 +0100 Subject: [PATCH] bram documentation --- .../Sprint1/FirstDocumentation.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/docs/LearningProcessBram/Sprint1/FirstDocumentation.md b/docs/LearningProcessBram/Sprint1/FirstDocumentation.md index 60abfc7..5636200 100644 --- a/docs/LearningProcessBram/Sprint1/FirstDocumentation.md +++ b/docs/LearningProcessBram/Sprint1/FirstDocumentation.md @@ -219,17 +219,28 @@ The following were used: After still not getting it very well i asked Dano (a teammate of mine) if he could teach me some basics, and so we did. He taught me how to make a simple calculator and told me why my code worked the way it did. -(This was the code: +(This was the code: + +// this prints a cheatsheet to know if the user wants plus or minus. print("1 = + 2 = -") c = int(input()) + +// a input is given for the first number. print("first number") a = input() + +//a input is given for the second number. print("second number") b= input() + +//a if-statement to see if it is plus or minus. if c == 1: print(int(a) + int(b)) elif c == 2: print(int(a) - int(b)) ) -Even if it looked simple, this was the ignition I needed to understand python better and continue my own research. \ No newline at end of file +Even if it looked simple, this was the ignition I needed to understand python better and continue my own research. + +### Python for dummmies pt2 +after some intense trail and error, I managed to connect to the websocket \ No newline at end of file