TheAlgorithms / Python

All Algorithms implemented in Python
https://thealgorithms.github.io/Python/
MIT License
194.4k stars 45.66k forks source link

Common errors used in python #11586

Closed Phyhoncoder13 closed 1 month ago

Phyhoncoder13 commented 1 month ago

What would you like to share?

IOError Raised when an I/O operation fails for an I/O-related reason, e.g., "file not found".

ImportError: Raised when an important statement fails to find the module definition

IndexError: Raised when a sequence index is out of range

KeyError: Raised when a dictionary key is not found

NameError: Raised when a local or global name is not found

TypeError Raised when an operation or function is applied to an object of inappropriate type

For a complete list of all errors go to https://docs.python.org/3/library/expectations.html.

Additional information

No response

Anjani87 commented 1 month ago

WHAT IS TO BE FIX IN THIS?

Phyhoncoder13 commented 1 month ago

WHAT IS TO BE FIX IN THIS?

What do you mean

eeshan15 commented 1 month ago

Hi Author can you tell how to take part in Hacktoberfest ?? I am new to this thing

Phyhoncoder13 commented 1 month ago

Hi Author can you tell how to take part in Hacktoberfest ?? I am new to this thing

Hi I'm new also and I put this on because it was in a book I've got that's teaching me python so I'm not actually sure sorry

jatingarg36 commented 1 month ago

Hi Author can you tell how to take part in Hacktoberfest ?? I am new to this thing

Hi, @eeshan15! To take part in Hackoberfest, you will need to work on any open-source git repository that either has the topic “hacktoberfest", or has the “hacktoberfest-accepted” label on the issue. The PR/MR will only be considered if its created btw 1st oct and 31st oct. For further details you can check out HacktoberFest 2024

tianyizheng02 commented 1 month ago

This issue doesn't seem to be related to this repo at all, so I'm closing this. Please read our contributing guidelines if you wish to contribute for Hacktoberfest.