Skip to content

christopher-burke/warmups

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python scripts

These are python scripts I have created, modified or used. Some scripts are for fun, while others have valuable use in production.

There's now 248 python files in this repo.

Script DocString
python/misc/parenthesis_checker.py Parenthesis Checker.
python/misc/password_generator.py Password generator.
python/misc/return_the_objects_keys_and_values.py Return the Objects Keys and Values.
python/misc/is_the_dictionary_empty.py Is the Dictionary Empty.
python/misc/convert_kilometers_to_miles.py Convert Kilometers to Miles.
python/misc/today_birthday.py Today Birthday.
python/misc/array_three_sum.py Determine if the sum of three integers is equal to the given value.
python/misc/valid_zip_code.py Valid Zip Code.
python/misc/repeat_letters_n_times.py Repeating Letters N Times.
python/misc/array_of_word_lengths.py Array of Word Lengths.
python/misc/get_the_sum_of_all_list_elements.py Get the Sum of All List Elements.
python/misc/count_letters_in_a_word_search.py Count Letters in a Word Search.
python/misc/middle_element.py Finding middle element in a linked list.
python/misc/stock_buy_sell.py Stock buy and sell.
python/misc/char_to_ascii.py Character to ASCII.
python/misc/collatz_conjecture.py Collatz Conjecture.
python/misc/rotate_list.py Rotate a Linked List.
python/misc/happy_number.py Happy Numbers.
python/misc/merge_sort_example.py Merge Sort Example.
python/misc/next_element.py Next Element - Next Element in Arithmetic Sequence.
python/misc/k_th_smallest_element.py K’th Smallest/Largest Element in Unsorted Array.
python/misc/kadanes_algorithm.py Kadane's Algorithm
python/misc/name_greeting.py Name Greeting!
python/misc/split_username.py Split usernames.
python/misc/consecutive_numbers.py Consecutive Numbers.
python/misc/convert_to_decimal_notation.py Convert to Decimal Notation.
python/misc/find_element_that_appears_only_once.py Find the element that appears once in sorted array.
python/misc/swap_case.py Swap case.
python/misc/last_digit_ultimate.py Last Digit Ultimate.
python/misc/difference_of_max_min_in_list.py Difference of Max and Min Numbers in List.
python/misc/power_ranger.py Power Ranger.
python/misc/compare_days.py Compare Days - Find the number of days between two dates.
python/misc/chocolate_distribution_problem.py Chocolate Distribution Problem.
python/misc/international_greetings.py International Greetings.
python/misc/find_smallest_number.py Find the Smallest Number in a List.
python/misc/return_remainder_from_two_numbers.py Return the Remainder from Two Numbers.
python/misc/intersecting_intervals.py Intersecting Intervals.
python/misc/free_coffee_cups.py Free Coffee Cups.
python/misc/double_letters.py Double Letters.
python/misc/check_string_for_spaces.py Check String for Spaces.
python/misc/to_the_power_of.py To the Power of.
python/misc/progress_days.py Progress.
python/misc/seconds_in_hours.py Seconds in Hours.
python/misc/replace_letters_with_position.py Replace Letters With Position In Alphabet.
python/misc/profitable_gamble.py Profitable Gamble.
python/misc/less_than_100.py Less Than 100.
python/misc/reverse_array_in_groups.py Reverse Array In Groups.
python/misc/check_if_lines_are_parallel.py Check If Lines Are Parallel.
python/misc/modifying_the_last_character.py Modifying the Last Character.
python/misc/area_triangle.py Area of a Triangle.
python/misc/football_points.py Football Points.
python/misc/minutes_to_seconds.py Minutes to Seconds.
python/misc/adviceslip.py Advice Slip - Random.
python/misc/is_the_string_empty.py Is the string empty.
python/misc/index_string_characters.py Return the Index of All Capital Letters.
python/misc/initialize.py Initialize.
python/misc/binary_to_ascii_conversion.py Binary to ASCII Conversion.
python/misc/slices_of_pie.py Slice of Pie.
python/misc/concat.py Concatenate Variable Number of Input Lists.
python/misc/ascii_charts_progress_bar.py ASCII Charts (Part 1: Progress Bar).
python/misc/doctors_clinic.py Doctors Clinic.
python/misc/unique_character_mapping.py Unique Character Mapping
python/misc/return_first_and_last_parameter.py Return First and Last Parameter.
python/misc/is_leap_year.py Determine Leap Year.
python/misc/subarray_with_given_sum.py Subarray with given sum.
python/misc/how_much_is_true.py How much is True.
python/misc/pandigital_numbers.py Pandigital Numbers.
python/misc/phone_number_formatting.py Phone Number Formatting.
python/misc/remainder_two_numbers.py Return the Remainder from Two Numbers.
python/misc/sort_a_string_by_its_last_character.py Sort a String by its Last Character.
python/misc/is_symmetrical.py Number Symmetrical.
python/misc/count_args.py Count the Arguments.
python/misc/divides_evenly.py Divides Evenly.
python/misc/drinks_allowed.py Drinks Allowed.
python/misc/find_the_perimeter_of_a_rectangle.py Find the Perimeter of a Rectangle.
python/misc/missing_third_angle.py Missing Third Angle.
python/misc/area_triangle_heron.py Area of triangle - Heron's Formula.
python/misc/minimum_difference_pair.py Minimum Difference Pair.
python/misc/find_the_odd_integer.py Find the Odd Integer.
python/misc/anagram.py Anagram.
python/misc/__init__.py No docstring provided.
python/misc/multiple_of_one_hundred.py Multiple of 100.
python/misc/symmetric_difference.py Symmetric Difference.
python/misc/retrieve_subreddit.py Retrieve the Subreddit.
python/misc/are_the_numbers_equal.py Are the Numbers Equal? - warmup.
python/misc/additive_inverse.py Additive Inverse.
python/misc/is_even_or_odd.py Is the Number Even or Odd.
python/misc/permutations.py Permutations of a given string.
python/misc/maskify.py Maskify the String.
python/misc/volume_of_a_pizza.py Volume of a Pizza.
python/misc/equilibrium_point.py Equilibrium point
python/misc/missing_num_in_array.py Missing number in array
python/misc/magic_date.py You are to read each part of the date into its own integer type variable.
python/misc/find_the_largest_number_in_a_list.py Find the Largest Number in a List.
python/misc/create_random_username.py Create random usernames.
python/misc/fewest_bills_coins.py Fewest bills and coins.
python/misc/find_duplicate_in_array.py Find duplicate in array.
python/misc/max_of_all_subarrays_of_size_k.py Maximum of all subarrays of size k.
python/misc/return_a_string_as_an_integer.py Return a String as an Integer.
python/misc/minimum_platforms.py Minimum Platforms.
python/misc/karacas_encryption_algorithm.py The Karaca's Encryption Algorithm.
python/misc/multiply_by_length.py Multiply by Length.
python/misc/string_to_integer_and_vice_versa.py String to Integer and Vice Versa.
python/misc/sort_string.py Sort String.
python/misc/full_house.py Poker Full House.
python/misc/sort_numbers_in_descending_order.py Sort Numbers in Descending Order.
python/misc/maximum_difference.py Maximum Difference.
python/misc/smooth_sentence.py Smooth Sentences.
python/misc/format_number.py Format Number with Comma(s) Separating Thousands.
python/misc/positive_count_negative_sum.py Positive Count / Negative Sum.
python/misc/max_of_three.py Max Of Three.
python/misc/hours_minutes_to_seconds.py Hours and Minutes to Seconds.
python/misc/convert_filename.py Convert file names.
python/misc/remove_smallest.py The Museum of Incredibly Dull Things.
python/misc/return_first_element_in_a_list.py Return the First Element in a List.
python/misc/two_distinct_elements.py Two Distinct Elements.
python/misc/compound_interest.py Compound Interest.
python/misc/evaluate_an_equation.py Evaluate an Equation.
python/misc/equality_of_three_values.py Equality of 3 Values.
python/misc/partially_hidden_string.py Partially Hidden String.
python/misc/remove_every_vowel_from_a_string.py Remove Every Vowel from a String.
python/misc/stuttering_function.py Stuttering Function.
python/misc/numbers_in_strings.py Numbers in Strings.
python/misc/odd_up_even_down_n_times.py Odd Up, Even Down - N Times.
python/misc/blackjack.py Blackjack.
python/misc/convert_age_to_days.py Convert Age to Days.
python/misc/making_a_box.py Making a Box.
python/misc/intro_to_map_reduce_pattern.py An Introduction to the Map-Reduce Pattern
python/misc/current_military_time.py Current Military Time.
python/misc/grocery_store_prices.py Grocery Store Prices.
python/misc/split_item_codes.py Split Item Codes.
python/misc/solving_exponential_equations_with_logarithms.py Solving Exponential Equations With Logarithms.
python/misc/hashes_and_pluses.py Hashes and Pluses.
python/misc/whos_the_oldest.py Find the oldest. Who's The Oldest?
python/misc/hacker_speak.py Hacker Speak - H4ck3r Sp34k.
python/misc/stack_the_boxes.py Stack the Boxes.
python/misc/is_prime.py Is the number Prime.
python/misc/days_in_month.py Days in a Month.
python/misc/russian_roulette.py Russian roulette.
python/misc/divisible_by_five.py Check if an Integer is Divisible By Five.
python/misc/compare_strings_by_count_of_characters.py Compare Strings by Count of Characters.
python/misc/sort_array_012.py Sort an array of 0s, 1s and 2s
python/misc/return_the_next_number_from_the_integer_passed.py Return the Next Number from the Integer Passed.
python/misc/number_to_month.py Number to month.
python/misc/concatenate_variable_number_of_input_lists.py Concatenate Variable Number of Input Lists.
python/misc/the_farm_problem.py The Farm Problem.
python/misc/basic_statistics_mode.py Basic Statistics: Mode.
python/misc/largest_number_formed.py Largest Number formed from an Array.
python/misc/calculate_profit.py Calculate the Profit.
python/misc/first_repeated_char.py Print the first repeated character in a string.
python/misc/apocalyptic_numbers.py Apocalyptic Numbers.
python/misc/the_three_programmers_problem.py The Three Programmers Problem.
python/misc/complete_the_word.py Complete the Word.
python/misc/decode_message.py Number of Ways to Decode an encoded string.
python/misc/fiscal_year.py Fiscal Year.
python/misc/first_before_second_letter.py First Before Second Letter.
python/misc/min_max_length_average.py Find the Minimum, Maximum, Length and Average Values.
python/misc/seven_boom.py Seven Boom!
python/misc/reverse_words_in_a_given_string.py Reverse words in a given string.
python/misc/sum_of_the_odd_numbers.py Sum of the Odd Numbers.
python/misc/less_than_equal_to_zero.py Less than or equal to zero.
python/misc/add_x_chars_to_start_end_of_string.py Add x Characters to the Start and End of a String.
python/misc/linked_list_two_int.py Linked Lists - Add Two Integers.
python/misc/zig_zag.py Zig Zag.
python/misc/string_flips.py String Flips.
python/misc/find_sum.py Example find sum from a collection.
python/misc/concatenating_two_integer_lists.py Concatenating Two Integer Lists.
python/misc/vowel_consonant_replacer.py Vowel and Consonants Replacer.
python/misc/using_the_and_operator.py Using the "and" Operator.
python/misc/convert_number_to_string_of_dashes.py Convert Number to String of Dashes.
python/misc/combinations.py Combinations.
python/misc/find_odd.py Find the Odd Integer.
python/misc/accumulating_product.py Accumulating Product.
python/misc/does_the_dictionary_contain_a_given_key.py Does the Dictionary Contain a Given Key.
python/misc/maximum_edge_of_a_triangle.py Maximum Edge of a Triangle.
python/misc/match_last_item.py Match the Last Item.
python/misc/baseball.py Baseball stat formulas.
python/misc/pythagorean_triplet.py Pythagorean Triplet.
python/misc/concatenate_first_and_last_name_into_one_string.py Concatenate First and Last Name into One String.
python/misc/hello_name.py Hello name.
python/misc/switcharoo.py Switcharoo.
python/misc/trapping_rain_water.py Trapping Rain Water.
python/misc/change_to_next_letter.py Change Every Letter to the Next Letter.
python/misc/single_swap.py Single Letter Swaps.
python/misc/pentagonal_number.py Pentagonal Number
python/misc/check_if_a_list_contains_a_given_number.py Check if a List Contains a Given Number.
python/misc/day_of_week.py Day of the week.
python/misc/maximum_sum_increasing_subsequence.py Maximum sum increasing subsequence.
python/misc/leaders_in_an_array.py Leaders in an array.
python/misc/convert_to_hex.py Convert to Hex.
python/misc/two_dimensional_array.py Set columns and rows as zeros.
python/misc/frames_per_second.py Frames per second.
python/misc/words_with_duplicate_letters.py Words With Duplicate Letters.
python/misc/remove_duplicates.py Remove Duplicates.
python/misc/majority_vote.py Majority Vote.
python/misc/linked_list_intersection.py Intersection Point of Two Linked Lists.
python/misc/remove_duplicates_from_list.py Remove Duplicates from a List.
python/misc/is_isogram.py Isogram.
python/misc/capitalization_families.py Capitalization Families.
python/misc/atm_pin_code_validation.py ATM PIN Code Validation.
python/misc/random_number_generation_exercises.py Python Random Number Generation Exercises.
python/misc/sandwich_fillings.py Sandwich Fillings
python/projecteuler/src/largest_product_in_a_series.py Largest Product in a series.
python/projecteuler/src/ten_k_one_prime.py 10001th prime.
python/projecteuler/src/number_letter_counts.py Number letter counts.
python/projecteuler/src/__init__.py No docstring provided.
python/projecteuler/src/largest_prime.py Largest prime factor.
python/projecteuler/src/maximum_path_sum_i.py Maximum path sum I
python/projecteuler/src/multiples_of_3_and_5.py Multiples of 3 and 5.
python/projecteuler/src/largest_palindrome_product.py Largest Palindrom Product.
python/projecteuler/src/large_sum.py Large Sum
python/projecteuler/src/special_pythagorean_triplet.py Special Pythagorean triplet
python/projecteuler/src/summation_of_primes.py Summation of primes.
python/projecteuler/src/largest_product_in_a_grid.py Largest product in a grid
python/projecteuler/src/sum_square_difference.py Sum square difference.
python/projecteuler/src/even_fibonacci_numbers.py Even Fibonacci Numbers.
python/projecteuler/src/longest_collatz_sequence.py Longest Collatz sequence.
python/projecteuler/src/lattice_paths.py Lattice paths.
python/projecteuler/src/smallest_multiple.py 2520 is the smallest number that can be divided by
python/projecteuler/src/power_digit_sum.py Power digit sum
python/projecteuler/src/highly_divisible_triangular_number.py Highly divisible triangular number.
python/common/tools.py Common functions needed for warmups.
python/common/__init__.py No docstring provided.
python/codingbat/readme.py Generate the README.md file a repo.
python/codingbat/src/make_abba.py Make abba.
python/codingbat/src/array123.py Array 1 2 3.
python/codingbat/src/missing_char.py Missing Character.
python/codingbat/src/array_count9.py Array Count 9.
python/codingbat/src/string_splosion.py String Splosion.
python/codingbat/src/front_back.py Front Back.
python/codingbat/src/string_bits.py String bits.
python/codingbat/src/makes_10.py Makes 10.
python/codingbat/src/sum_double.py sum_double
python/codingbat/src/array_front9.py Array Front 9
python/codingbat/src/not_string.py Not String.
python/codingbat/src/__init__.py No docstring provided.
python/codingbat/src/string_times.py String times.
python/codingbat/src/pos_neg.py Positive Negative.
python/codingbat/src/front3.py Given a string, we'll say that the front is the
python/codingbat/src/parrot_trouble.py Parrot trouble.
python/codingbat/src/monkey_trouble.py monkey_trouble
python/codingbat/src/front_times.py Front Times.
python/codingbat/src/near_hundred.py Near Hundred.
python/codingbat/src/sleepin.py sleep_in
python/codingbat/src/hello_name.py Hello Name.
python/codingbat/src/last_two.py Last Two.
python/codingbat/src/string_match.py String Match.
python/codingbat/src/diff21.py Difference 21.

About

Collection of coding exercises.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published