There are 3 types of hackers. White hat hackers have a reputation for hacking securities to find and improve weak spots for businesses. Gray hats are usually not to serious but can easily lead to black hats.
Gray hats mostly just go on to games and troll. Often found in console games and fps's they just us hacking to level up or hack player accounts. They do have to potential to be arrested.
Black hats are the worst however. They can go anywhere from hacking websites to government files. These activities are illegal and should not be performed during python enhancement learning.