|
| 1 | +# 1000 Python Programs - Complete Index |
| 2 | + |
| 3 | +Organized by category with proper program names for individual GitHub issues. |
| 4 | + |
| 5 | +--- |
| 6 | + |
| 7 | +## Category 1: Basic Print & Variables (Programs 1-50) |
| 8 | + |
| 9 | +| # | Program Name | File Name | Category | |
| 10 | +|---|--------------|-----------|----------| |
| 11 | +| 001 | Print Bio Data | 001_print_bio_data.py | Variables | |
| 12 | +| 002 | Print Current Date Time | 002_print_datetime.py | DateTime | |
| 13 | +| 003 | Calculate Subject Total | 003_subject_total.py | Arithmetic | |
| 14 | +| 004 | Store Book Details | 004_book_details.py | Variables | |
| 15 | +| 005 | Multiply Three Numbers | 005_multiply_three.py | Arithmetic | |
| 16 | +| 006 | Calculate Square Perimeter | 006_square_perimeter.py | Geometry | |
| 17 | +| 007 | Calculate Triangle Perimeter | 007_triangle_perimeter.py | Geometry | |
| 18 | +| 008 | Calculate Circle Circumference | 008_circle_circumference.py | Geometry | |
| 19 | +| 009 | Convert Days to Years Weeks Days | 009_days_conversion.py | Conversion | |
| 20 | +| 010 | Convert Minutes to Hours | 010_minutes_to_hours.py | Conversion | |
| 21 | +| 011 | Swap Two Numbers | 011_swap_numbers.py | Variables | |
| 22 | +| 012 | Convert KM to M CM MM | 012_distance_conversion.py | Conversion | |
| 23 | +| 013 | Convert KG to Grams MG | 013_weight_conversion.py | Conversion | |
| 24 | +| 014 | Calculate Profit Loss | 014_profit_loss.py | Business Math | |
| 25 | +| 015 | Calculate Discount | 015_calculate_discount.py | Business Math | |
| 26 | +| 016 | Calculate GST Bill | 016_gst_bill.py | Business Math | |
| 27 | +| 017 | Calculate Rectangle Perimeter | 017_rectangle_perimeter.py | Geometry | |
| 28 | +| 018 | Calculate Triangle Area | 018_triangle_area.py | Geometry | |
| 29 | +| 019 | Calculate Parallelogram Area | 019_parallelogram_area.py | Geometry | |
| 30 | +| 020 | Calculate Cube Volume | 020_cube_volume.py | Geometry | |
| 31 | +| 021 | Calculate Student Percentage | 021_student_percentage.py | Input Math | |
| 32 | +| 022 | Calculate Simple Compound Interest | 022_interest_calculator.py | Business Math | |
| 33 | +| 023 | Calculate Triangle Area Input | 023_triangle_area_input.py | Geometry Input | |
| 34 | +| 024 | Calculate Sphere Volume | 024_sphere_volume.py | Geometry | |
| 35 | +| 025 | Calculate Cuboid Volume | 025_cuboid_volume.py | Geometry | |
| 36 | +| 026 | Celsius to Kelvin | 026_celsius_kelvin.py | Temperature | |
| 37 | +| 027 | Fahrenheit to Celsius | 027_fahrenheit_celsius.py | Temperature | |
| 38 | +| 028 | Kilometers to Meters Centimeters | 028_km_m_cm.py | Conversion | |
| 39 | +| 029 | Hours Minutes to Total Minutes | 029_hours_to_minutes.py | Time | |
| 40 | +| 030 | Seconds to H M S | 030_seconds_to_hms.py | Time | |
| 41 | +| 031 | Calculate Gross Salary | 031_gross_salary.py | Business Math | |
| 42 | +| 032 | Find Square and Cube | 032_square_cube.py | Math | |
| 43 | +| 033 | All Arithmetic Operations | 033_all_arithmetic.py | Math | |
| 44 | +| 034 | Calculate Cylinder Volume | 034_cylinder_volume.py | Geometry | |
| 45 | +| 035 | Calculate Pentagon Area | 035_pentagon_area.py | Geometry | |
| 46 | +| 036 | Calculate Circle Area from Diameter | 036_circle_area_diameter.py | Geometry | |
| 47 | +| 037 | Check Valid Triangle Sides | 037_valid_triangle_sides.py | Validation | |
| 48 | +| 038 | Check Valid Triangle Angles | 038_valid_triangle_angles.py | Validation | |
| 49 | +| 039 | Find Square Root | 039_square_root.py | Math | |
| 50 | +| 040 | Find Cube Root | 040_cube_root.py | Math | |
| 51 | +| 041 | Count Characters in String | 041_count_characters.py | String | |
| 52 | +| 042 | Count Vowels in String | 042_count_vowels.py | String | |
| 53 | +| 043 | Count Consonants in String | 043_count_consonants.py | String | |
| 54 | +| 044 | Count Digits in String | 044_count_digits.py | String | |
| 55 | +| 045 | Count Spaces in String | 045_count_spaces.py | String | |
| 56 | +| 046 | Count Uppercase Letters | 046_count_uppercase.py | String | |
| 57 | +| 047 | Count Lowercase Letters | 047_count_lowercase.py | String | |
| 58 | +| 048 | Reverse String | 048_reverse_string.py | String | |
| 59 | +| 049 | Check String Starts with Vowel | 049_starts_with_vowel.py | String | |
| 60 | +| 050 | Check String Ends with Vowel | 050_ends_with_vowel.py | String | |
| 61 | + |
| 62 | +--- |
| 63 | + |
| 64 | +## Category 2: Input Output Programs (Programs 51-100) |
| 65 | + |
| 66 | +| # | Program Name | File Name | Category | |
| 67 | +|---|--------------|-----------|----------| |
| 68 | +| 051 | Convert First Letter Uppercase | 051_first_letter_upper.py | String | |
| 69 | +| 052 | Convert Last Letter Uppercase | 052_last_letter_upper.py | String | |
| 70 | +| 053 | Replace All A with E | 053_replace_a_with_e.py | String | |
| 71 | +| 054 | Remove All Vowels | 054_remove_vowels.py | String | |
| 72 | +| 055 | Count Words in String | 055_count_words.py | String | |
| 73 | +| 056 | Find First Word | 056_find_first_word.py | String | |
| 74 | +| 057 | Find Last Word | 057_find_last_word.py | String | |
| 75 | +| 058 | Convert to Title Case Manually | 058_manual_title_case.py | String | |
| 76 | +| 059 | Check String Contains Number | 059_contains_number.py | String | |
| 77 | +| 060 | Check String Contains Special Character | 060_contains_special.py | String | |
| 78 | +| 061 | Check Divisible by 3 | 061_divisible_by_3.py | Condition | |
| 79 | +| 062 | Check Divisible by 7 | 062_divisible_by_7.py | Condition | |
| 80 | +| 063 | Check Divisible by 3 and 5 | 063_divisible_by_3_and_5.py | Condition | |
| 81 | +| 064 | Check Character is Alphabet | 064_is_alphabet.py | Condition | |
| 82 | +| 065 | Check Character is Digit | 065_is_digit.py | Condition | |
| 83 | +| 066 | Check Character is Special Symbol | 066_is_special.py | Condition | |
| 84 | +| 067 | Check 2 Digit Number | 067_is_two_digit.py | Condition | |
| 85 | +| 068 | Check 3 Digit Number | 068_is_three_digit.py | Condition | |
| 86 | +| 069 | Find Absolute Value | 069_absolute_value.py | Math | |
| 87 | +| 070 | Check Multiple of 4 | 070_multiple_of_4.py | Condition | |
| 88 | +| 071 | Check Multiple of 10 | 071_multiple_of_10.py | Condition | |
| 89 | +| 072 | Check Leap Year | 072_leap_year.py | Condition | |
| 90 | +| 073 | Check Perfect Square | 073_perfect_square.py | Condition | |
| 91 | +| 074 | Check Perfect Cube | 074_perfect_cube.py | Condition | |
| 92 | +| 075 | Find Maximum of 4 Numbers | 075_max_of_4.py | Condition | |
| 93 | +| 076 | Find Minimum of 4 Numbers | 076_min_of_4.py | Condition | |
| 94 | +| 077 | Check All 3 Numbers Equal | 077_all_equal.py | Condition | |
| 95 | +| 078 | Check Any 2 Numbers Equal | 078_any_two_equal.py | Condition | |
| 96 | +| 079 | Arrange 2 Numbers Ascending | 079_arrange_2_ascending.py | Sorting | |
| 97 | +| 080 | Arrange 3 Numbers Descending | 080_arrange_3_descending.py | Sorting | |
| 98 | +| 081 | Print First 20 Natural Numbers | 081_print_natural_20.py | Loop | |
| 99 | +| 082 | Print First 20 Even Numbers | 082_print_even_20.py | Loop | |
| 100 | +| 083 | Print First 20 Odd Numbers | 083_print_odd_20.py | Loop | |
| 101 | +| 084 | Print Table of 3 | 084_table_of_3.py | Loop | |
| 102 | +| 085 | Print Table of Any Number | 085_table_of_any.py | Loop Input | |
| 103 | +| 086 | Print Squares 1 to 20 | 086_print_squares.py | Loop | |
| 104 | +| 087 | Print Cubes 1 to 15 | 087_print_cubes.py | Loop | |
| 105 | +| 088 | Print Numbers Divisible by 5 | 088_divisible_by_5.py | Loop | |
| 106 | +| 089 | Print Numbers Not Divisible by 3 | 089_not_divisible_by_3.py | Loop | |
| 107 | +| 090 | Print Alphabet A to Z | 090_print_alphabet.py | Loop | |
| 108 | +| 091 | Print Alphabet a to z | 091_print_alphabet_lower.py | Loop | |
| 109 | +| 092 | Print 5 Rows of Stars | 092_pattern_5rows.py | Pattern | |
| 110 | +| 093 | Print Numbers Each Line | 093_pattern_numbers.py | Pattern | |
| 111 | +| 094 | Print Repeating Number Pattern | 094_pattern_repeating.py | Pattern | |
| 112 | +| 095 | Print Alphabet Pattern | 095_pattern_alphabet.py | Pattern | |
| 113 | +| 096 | Print Sequential Number Pattern | 096_pattern_sequential.py | Pattern | |
| 114 | +| 097 | Print Reverse Number Pattern | 097_pattern_reverse.py | Pattern | |
| 115 | +| 098 | Print Decreasing Even Pattern | 098_pattern_decreasing_even.py | Pattern | |
| 116 | +| 099 | Print Square Number Pattern | 099_pattern_squares.py | Pattern | |
| 117 | +| 100 | Print Power of 2 Pattern | 100_pattern_powers.py | Pattern | |
| 118 | + |
| 119 | +--- |
| 120 | + |
| 121 | +## Category 3: List Programs (Programs 101-150) |
| 122 | + |
| 123 | +| # | Program Name | File Name | Category | |
| 124 | +|---|--------------|-----------|----------| |
| 125 | +| 101 | Create List of 10 Numbers | 101_create_list_10.py | List | |
| 126 | +| 102 | Create List of 5 Fruits | 102_create_fruit_list.py | List | |
| 127 | +| 103 | Find Sum of List Elements | 103_sum_list.py | List | |
| 128 | +| 104 | Find Average of List | 104_average_list.py | List | |
| 129 | +| 105 | Count Even Numbers in List | 105_count_even_list.py | List | |
| 130 | +| 106 | Count Odd Numbers in List | 106_count_odd_list.py | List | |
| 131 | +| 107 | Find Largest Number in List | 107_largest_in_list.py | List | |
| 132 | +| 108 | Find Smallest Number in List | 108_smallest_in_list.py | List | |
| 133 | +| 109 | Count Positive Numbers | 109_count_positive.py | List | |
| 134 | +| 110 | Count Negative Numbers | 110_count_negative.py | List | |
| 135 | +| 111 | Remove Duplicates from List | 111_remove_duplicates.py | List | |
| 136 | +| 112 | Merge Two Lists | 112_merge_lists.py | List | |
| 137 | +| 113 | Find Common Elements | 113_common_elements.py | List | |
| 138 | +| 114 | Create List of Squares | 114_list_of_squares.py | List | |
| 139 | +| 115 | Create List of Cubes | 115_list_of_cubes.py | List | |
| 140 | +| 116 | Reverse List Without Reverse | 116_reverse_list.py | List | |
| 141 | +| 117 | Sort List Without Sort | 117_sort_list.py | List | |
| 142 | +| 118 | Find Second Largest | 118_second_largest.py | List | |
| 143 | +| 119 | Find Second Smallest | 119_second_smallest.py | List | |
| 144 | +| 120 | Count Occurrences of Each Element | 120_count_occurrences.py | List | |
| 145 | +| 121 | Create Student Marks Dictionary | 121_student_marks_dict.py | Dict | |
| 146 | +| 122 | Print All Dictionary Keys | 122_print_dict_keys.py | Dict | |
| 147 | +| 123 | Print All Dictionary Values | 123_print_dict_values.py | Dict | |
| 148 | +| 124 | Find Student with Highest Marks | 124_highest_marks.py | Dict | |
| 149 | +| 125 | Find Student with Lowest Marks | 125_lowest_marks.py | Dict | |
| 150 | +| 126 | Calculate Class Average | 126_class_average.py | Dict | |
| 151 | +| 127 | Count Students Who Passed | 127_count_passed.py | Dict | |
| 152 | +| 128 | Count Students Who Failed | 128_count_failed.py | Dict | |
| 153 | +| 129 | Create Product Price Dictionary | 129_product_prices.py | Dict | |
| 154 | +| 130 | Find Most Expensive Product | 130_most_expensive.py | Dict | |
| 155 | +| 131 | Find Cheapest Product | 131_cheapest_product.py | Dict | |
| 156 | +| 132 | Calculate Total Product Value | 132_total_value.py | Dict | |
| 157 | +| 133 | Create Phonebook Dictionary | 133_phonebook.py | Dict | |
| 158 | +| 134 | Search Contact by Name | 134_search_contact.py | Dict | |
| 159 | +| 135 | Add New Contact | 135_add_contact.py | Dict | |
| 160 | +| 136 | Delete Contact | 136_delete_contact.py | Dict | |
| 161 | +| 137 | Update Contact Number | 137_update_contact.py | Dict | |
| 162 | +| 138 | Count Total Contacts | 138_count_contacts.py | Dict | |
| 163 | +| 139 | Print Contacts Alphabetically | 139_sort_contacts.py | Dict | |
| 164 | +| 140 | Search Contact by Partial Name | 140_partial_search.py | Dict | |
| 165 | +| 141 | Create Tuple of 5 Numbers | 141_create_tuple.py | Tuple | |
| 166 | +| 142 | Find Sum of Tuple Elements | 142_sum_tuple.py | Tuple | |
| 167 | +| 143 | Find Maximum in Tuple | 143_max_tuple.py | Tuple | |
| 168 | +| 144 | Find Minimum in Tuple | 144_min_tuple.py | Tuple | |
| 169 | +| 145 | Count Occurrences in Tuple | 145_count_tuple.py | Tuple | |
| 170 | +| 146 | Create Tuple with Name Age City | 146_bio_tuple.py | Tuple | |
| 171 | +| 147 | Unpack Tuple into Variables | 147_unpack_tuple.py | Tuple | |
| 172 | +| 148 | Create Set from List | 148_list_to_set.py | Set | |
| 173 | +| 149 | Find Unique Elements Using Set | 149_unique_with_set.py | Set | |
| 174 | +| 150 | Find Union of Two Sets | 150_set_union.py | Set | |
| 175 | + |
| 176 | +--- |
| 177 | + |
| 178 | +## Category 4: Function Programs (Programs 151-200) |
| 179 | + |
| 180 | +| # | Program Name | File Name | Category | |
| 181 | +|---|--------------|-----------|----------| |
| 182 | +| 151 | Find Intersection of Two Sets | 151_set_intersection.py | Set | |
| 183 | +| 152 | Find Difference of Two Sets | 152_set_difference.py | Set | |
| 184 | +| 153 | Check if Set is Subset | 153_check_subset.py | Set | |
| 185 | +| 154 | Check if Set is Superset | 154_check_superset.py | Set | |
| 186 | +| 155 | Add Element to Set | 155_add_to_set.py | Set | |
| 187 | +| 156 | Remove Element from Set | 156_remove_from_set.py | Set | |
| 188 | +| 157 | Create Set of Vowels | 157_vowel_set.py | Set | |
| 189 | +| 158 | Check if Character is Vowel Using Set | 158_is_vowel_set.py | Set | |
| 190 | +| 159 | Find Common Letters in Two Words | 159_common_letters.py | Set | |
| 191 | +| 160 | Find Unique Letters in Word | 160_unique_letters.py | Set | |
| 192 | +| 161 | Function to Add 3 Numbers | 161_func_add_3.py | Function | |
| 193 | +| 162 | Function to Find Largest of 3 | 162_func_largest_3.py | Function | |
| 194 | +| 163 | Function to Find Smallest of 3 | 163_func_smallest_3.py | Function | |
| 195 | +| 164 | Function to Check Even or Odd | 164_func_even_odd.py | Function | |
| 196 | +| 165 | Function to Check Positive or Negative | 165_func_pos_neg.py | Function | |
| 197 | +| 166 | Function to Find Factorial | 166_func_factorial.py | Function | |
| 198 | +| 167 | Function to Find Power | 167_func_power.py | Function | |
| 199 | +| 168 | Function to Check Prime | 168_func_is_prime.py | Function | |
| 200 | +| 169 | Function to Find HCF | 169_func_hcf.py | Function | |
| 201 | +| 170 | Function to Find LCM | 170_func_lcm.py | Function | |
| 202 | +| 171 | Function to Reverse Number | 171_func_reverse_num.py | Function | |
| 203 | +| 172 | Function to Check Palindrome | 172_func_is_palindrome.py | Function | |
| 204 | +| 173 | Function to Count Digits | 173_func_count_digits.py | Function | |
| 205 | +| 174 | Function to Sum Digits | 174_func_sum_digits.py | Function | |
| 206 | +| 175 | Function to Multiply All Numbers in List | 175_func_multiply_list.py | Function | |
| 207 | +| 176 | Function to Filter Even Numbers | 176_func_filter_even.py | Function | |
| 208 | +| 177 | Function to Find Unique Elements | 177_func_unique.py | Function | |
| 209 | +| 178 | Function to Check Perfect Number | 178_func_is_perfect.py | Function | |
| 210 | +| 179 | Function to Check Armstrong Number | 179_func_is_armstrong.py | Function | |
| 211 | +| 180 | Function to Generate Fibonacci | 180_func_fibonacci.py | Function | |
| 212 | +| 181 | Create Text File and Write Name | 181_create_write_file.py | File | |
| 213 | +| 182 | Read File and Print Content | 182_read_file.py | File | |
| 214 | +| 183 | Count Lines in File | 183_count_lines.py | File | |
| 215 | +| 184 | Count Words in File | 184_count_words_file.py | File | |
| 216 | +| 185 | Count Characters in File | 185_count_chars_file.py | File | |
| 217 | +| 186 | Copy File Content to Another | 186_copy_file.py | File | |
| 218 | +| 187 | Append Name to Existing File | 187_append_file.py | File | |
| 219 | +| 188 | Read First Line of File | 188_read_first_line.py | File | |
| 220 | +| 189 | Read Last Line of File | 189_read_last_line.py | File | |
| 221 | +| 190 | Find Longest Word in File | 190_longest_word_file.py | File | |
| 222 | +| 191 | Find Shortest Word in File | 191_shortest_word_file.py | File | |
| 223 | +| 192 | Count Occurrences of Word in File | 192_count_word_file.py | File | |
| 224 | +| 193 | Replace Word in File | 193_replace_word_file.py | File | |
| 225 | +| 194 | Remove Line Containing Specific Word | 194_remove_line.py | File | |
| 226 | +| 195 | Create File with Numbers 1-50 | 195_file_numbers.py | File | |
| 227 | +| 196 | Create File with Alphabet A-Z | 196_file_alphabet.py | File | |
| 228 | +| 197 | Read File and Store in List | 197_file_to_list.py | File | |
| 229 | +| 198 | Write List Content to File | 198_list_to_file.py | File | |
| 230 | +| 199 | Compare Two Files | 199_compare_files.py | File | |
| 231 | +| 200 | Merge Two Files into Third | 200_merge_files.py | File | |
| 232 | + |
| 233 | +--- |
| 234 | + |
| 235 | +## How to Use This Index |
| 236 | + |
| 237 | +1. Pick a program number from the table |
| 238 | +2. Create file at: `exercises/1000_programs/<category>/<file_name>` |
| 239 | +3. Add docstring with program number and description |
| 240 | +4. Test with multiple inputs |
| 241 | +5. Submit PR referencing the program number |
| 242 | + |
| 243 | +--- |
| 244 | + |
| 245 | +## Progress Tracking |
| 246 | + |
| 247 | +| Category | Total | Completed | Progress | |
| 248 | +|----------|-------|-----------|----------| |
| 249 | +| Basic Print & Variables | 50 | 0 | 0% | |
| 250 | +| Input Output | 50 | 0 | 0% | |
| 251 | +| List Programs | 50 | 0 | 0% | |
| 252 | +| Function Programs | 50 | 0 | 0% | |
| 253 | +| **Total** | **200** | **0** | **0%** | |
| 254 | + |
| 255 | +--- |
| 256 | + |
| 257 | +**Part of 1000 Python Programs Challenge** |
0 commit comments