just recently started learning in python. I am using Pycharm as my IDE and I noticed that when I run a program with an input function, and not enter anything and stops it. I get a traceback error. I don't know if it is normal or I should fix something. I'm just bothered when I get an error when doing it. Thank you I'm really new to this. Here is error:
C:\Users\admin\Desktop\Python\new\venv\Scripts\python.exe "C:/Users/admin/Desktop/Python/new/main.py"
try: Traceback (most recent call last):
File "C:\Users\admin\Desktop\Python\new\main.py", line 3, in <module>
n = int(input('try: '))
File "C:\Users\admin\AppData\Local\Programs\Python\Python310\lib\codecs.py", line 319, in decode
def decode(self, input, final=False):
KeyboardInterrupt
Process finished with exit code -1073741510 (0xC000013A: interrupted by Ctrl+C)