Raspi does not provide screenshots functionality by default. you use software and tool to take a screenshot in raspi.
Install pycharm in raspberry pi 4