已解决KfcError: KFC Crazy Thursday WhoEver Gives me 50 CNY, I Will Thank Him.



已解决Traceback (most recent call last):
File “C:/python/kfc.py”, line 8, in
KfcError: KFC Crazy Thursday WhoEver Gives me 50 CNY, I Will Thank Him.









error code



A small friend of the fan group reported an error when running the program in Python (at that time, he felt a lot of cold in his heart, and he came to me for help, and then helped him solve it smoothly. By the way, I hope it can help more people who encounter this bug. The friend who will solve it), the error message is as follows:

有没有懂Python的大佬,我辛苦写了一早上突然报错了,找不到原因
Traceback (most recent call last):
File "C:/python/kfc.py", line 8, in 
KfcError: KFC Crazy Thursday WhoEver Gives me 50 CNY, I Will Thank Him.


insert image description here



error translation



Error message translation :

Traceback (most recent call):
File "C:/python/kfc.py", line 8, in
KFC: KFC went crazy on Thursday. No matter who gives me 50 yuan, I will thank him.





Reason for error



The reason for the error : Good guy, it turned out to be an error reported by a fan about the KFC Thursday event (dog head saves life)





Solution



Solution : Buy a KFC family bucket for 50 yuan to solve it (dog head saves your life), don't hurry up and copy the error message to test your programmer friends! ! !



help



This article has been included in: "Farewell to Bug" column

This column is used to record various difficult bugs encountered in study and work, as well as various problems raised by small partners in the fan group. Article format: error code + error translation + error reason + solution, including program installation, operation If you encounter other problems in the process of the program, if you encounter other problems after subscribing to the column + following the blogger, you can privately chat to help solve them! ! !

Guess you like

Origin blog.csdn.net/yuan2019035055/article/details/126400086
KFC