As someone who has taught and graded multiple coding courses, I've had students try to pull things like this off where they just change the formatting a bit and think they've pulled a fast one. This has resulted in many hard conversations and decisions. The code above would absolutely warrant an investigation in any course I taught.
Variable names and code comments are character-for-character identical. Highly unlikely for two programmers in different industries in different countries who speak different languages.