u/No-Medicine4892

Beginer Codespace and Github help
▲ 2 r/cs50

Beginer Codespace and Github help

I'm new to programming and just started CS50, in week 1. I have VS Code the program on my PC and was trying to follow along with the lesson and do the "same action, before doing problem sets and stuff.

I noticed the CS50 Codespace doesn't seem to be "on" my computer? it not really saving anywhere, and sometimes it opens on the browser, and I can't seem to get it to run? Where is the file save and what is going on? What am i doing wrong? How can I get the file running and following along.

I also don't really understand github, maybe thats whats wrong. i followed along the instructions and connected github. There is a check50 8/8 on gradebook, but no comment. Does that mean the score or some local check, as I don't see anything called mark and preset up files in the codespace.

Thanks

edit:

this is how my codespace look like now, follow is a file I made, the code runs on other online complier but I dont see run button on codespace.

https://preview.redd.it/hysvnd4if8bh1.png?width=1294&format=png&auto=webp&s=8939a72240567ca02ba0413e606dd080699190ef

am I supposed to click something in here

https://preview.redd.it/hz3m67umg8bh1.png?width=594&format=png&auto=webp&s=629c2c2aa56110c79fe0919784d8fa73bae21d49

or here

https://preview.redd.it/hj08cwewg8bh1.png?width=1010&format=png&auto=webp&s=872d3966193de3472af96114b3fd4f1d7fa02005

reddit.com
u/No-Medicine4892 — 1 day ago

is there a better way to go to edge and bound?

I am trying to make a ball go to the edge random part and bound to different directions. I try a couple of things and this is the closest I gotten. I feel like there has to be a better way. Can I group some blocks together? Can I sense where I am?

https://preview.redd.it/yl3j1tpife3h1.png?width=618&format=png&auto=webp&s=f24f18dd4e387c1e8835fa3c65d6768b8f2a7bae

also when i make a clone, can I do something with it?

Thank you

reddit.com
u/No-Medicine4892 — 1 month ago

What is the Try...Catch/Except?Why cant we use if... else?

new to coding

I seems to get that we use Try and except in converting inputs. Where else can I use this?

Why can't it use something like isinstance or is_Int?

if we can "foresee" the error and cases, why we still use try, and where else can we use it.

Thanks

reddit.com
u/No-Medicine4892 — 1 month ago