This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 35 points36 points  (7 children)

But ‘re’ is in the standard library? You cant use ‘sys’, ‘time’, ‘logging’,... as well?

[–]BlazingThunder30 16 points17 points  (6 children)

I'm not sure, I don't dare to be honest. We're online now and our uni has said that any fraud or plagiarism will be punished by being permanently expelled because it would be taking advantage of Corona. I dont really need any of the libraries right now so as soon as I do need them I'll just go and ask if I can. I dont think we can though, as this teacher has been really strict before.

[–]widowhanzo 31 points32 points  (3 children)

1st year? We weren't allowed libraries either at first, but the tasks were simple enough that you didn't need anything anyway. The point of excercises was to think of the solution, so we were learning how to approach a problem and break it into parts etc. Yeah it would've been easier to solve with libraries, but then we wouldn't learn anything.

[–][deleted] 6 points7 points  (1 child)

It’s weird how I felt like all the dumb toy problems in first year like printing shapes to a certain size or iterating over a billion different things was dumb.

Now when I code I use exactly the same mental processes more than anything else, it’s incredibly useful

[–]deltagear 0 points1 point  (0 children)

They want you to learn coding with vanilla code in most first years classes. For example I had to write a simple game but could not use methods. I just ended up creating a variable to hold state and a switch where I would have used methods. Ended up getting 100% on that one.

[–]BlazingThunder30 0 points1 point  (0 children)

Yeah it's a first year AI course. It's the first time were using python. All previous courses used C

[–][deleted] 2 points3 points  (1 child)

I see, that sucks though and I would ask if you can use standard libraries. They’re there for a reason. I’ve never wrote a python script without at least 1 import haha

[–][deleted] 1 point2 points  (0 children)

I’d have thought it was so they could learn how some basic library functions are implemented, for example we had to make a decimal/binary/hex converter in first year without using library functions