diff --git a/CONTRIBUTE.md b/CONTRIBUTE.md index f833537..e91dcf5 100644 --- a/CONTRIBUTE.md +++ b/CONTRIBUTE.md @@ -19,7 +19,7 @@ Become part of our Code Park family by contributing. Your support not only adds 4. **Restrictions:** - Do not modify or remove any folder or file in this reposity starting with (.) or all the letters are in uppercase. These are called admin files. Place an proper issue in github if you wanna suggest any modification here. -- Currently we are only accepting codes in [c, c++], which is best for raw code and DSA. +- Currently we are only accepting codes in [c, c++, py, java], which is best for raw code and DSA. 5. **Before Submission:** - Make sure you removed all the unnecessary folders/files. diff --git a/READY_REPO.cpp b/READY_REPO.cpp index 51625c8..02dd477 100644 --- a/READY_REPO.cpp +++ b/READY_REPO.cpp @@ -97,7 +97,7 @@ bool: true if file is a correct source code file, else false bool is_source_code_file(std::string file_name) { // check if the file is a valid file - std::string language_extension[] = {".c", ".cpp"}; + std::string language_extension[] = {".c", ".cpp", ".py", ".java"}; for (std::string extension : language_extension) { size_t extension_index = file_name.find(extension);