When I taught a class of engineering students Python in 2015 they were all copying from each other, did some basic plagiarism checks and 40% had submitted identical code. The University then didn’t care, lots of international students paying higher fees than domestic students.
It is plagiarism, we’re not talking simple weekly assignment, it was a core course and it was a 40% of the module. They had to write a report along with it and two Chinese students had copied much of that from Wikipedia and had the same exact passages!