Commit Graph

1200 Commits

Author SHA1 Message Date
guru kiran
2da7bcd612 Updated frequencies.md, Resolves#362 2020-10-14 19:34:31 +05:30
Angelos Chalaris
4a6bd35d57 Update chunk_into_n.md 2020-10-13 22:37:49 +03:00
Angelos Chalaris
49c4e295a8 Update chunk_into_n.md 2020-10-13 19:09:35 +03:00
Isabelle Viktoria Maciohsek
d0d234ebed Update and rename split_list.md to chunk_into_n.md 2020-10-12 22:11:30 +03:00
jonas
9a3809c000 Add split_list
This code comes from one of my [gists][1], but could probably be more
useful here where it might be easier to find.

[1]: https://gist.github.com/JonasAlfredsson/6e30169c5c69813651baf050dbfc7203
2020-10-11 23:39:19 +02:00
guru kiran
e9db92ee22 refactored sum_of_powers, Resolves #354 2020-10-11 17:54:06 +05:30
Isabelle Viktoria Maciohsek
7df78ad5ed Add find_index_of_all 2020-10-11 13:45:19 +03:00
Isabelle Viktoria Maciohsek
281a9871e1 Update snippets 2020-10-11 13:40:42 +03:00
guru kiran
eca0ad5743 Added find all indices of occurrences of a value 2020-10-11 13:37:22 +03:00
guru kiran
6f09a19637 Use set instead of slicing 2020-10-11 13:36:53 +03:00
Isabelle Viktoria Maciohsek
3e5dc5c39c Merge pull request #335 from psyonara/better_collect_dict
Collect Dictionary: better readability when appending to list
2020-10-11 12:16:41 +03:00
Isabelle Viktoria Maciohsek
12a13d8bfb Update collect_dictionary.md 2020-10-11 12:16:27 +03:00
Isabelle Viktoria Maciohsek
c522ce673f Merge pull request #336 from psyonara/better_count_occurences
Use Python's built-in count method to do the counting for us.
2020-10-11 10:29:40 +03:00
Isabelle Viktoria Maciohsek
88dceb260a Update count_occurences.md 2020-10-11 10:29:24 +03:00
Helmut Irle
1e16cd5298 Use Python's built-in count method to do the counting for us. 2020-10-10 23:28:47 +02:00
Helmut Irle
367a747ad7 Better readability for appending to list. 2020-10-10 23:16:53 +02:00
Isabelle Viktoria Maciohsek
e84ade1aed Merge pull request #316 from pracheejaviya1/conversion
Added decimal to hex conversion
2020-10-09 09:45:59 +03:00
Isabelle Viktoria Maciohsek
8f0718916d Update and rename dec_to_hex.md to to_hex.md 2020-10-09 09:45:47 +03:00
Prachee Javiya
bf1afde0f7 Added decimal to hex conversion 2020-10-09 11:56:37 +05:30
Isabelle Viktoria Maciohsek
7bf106316a Update weighted_average.md 2020-10-09 09:12:38 +03:00
casalazara
0c377fe398 Create weighted_average.md 2020-10-08 23:00:33 -05:00
Isabelle Viktoria Maciohsek
f511b9189b Update and rename convert_to_binary.md to to_binary.md 2020-10-07 19:46:01 +03:00
tasbihaasim
950f08cf72 Update convert_to_binary.md 2020-10-07 16:39:56 +05:00
tasbihaasim
c91d5acdc1 Add convert_to_binary snippet 2020-10-07 16:32:56 +05:00
Isabelle Viktoria Maciohsek
ba2bf9c57b Add to_roman_numeral 2020-10-07 00:04:09 +03:00
Isabelle Viktoria Maciohsek
5cac993e28 Combine reverse_list and reverse_string 2020-10-06 19:02:30 +03:00
AkshatBhat
2afeb7d747 Merge branch 'master' of https://github.com/AkshatBhat/30-seconds-of-python into master 2020-10-06 01:15:47 +05:30
AkshatBhat
8bf824dc9b Add reverse_list 2020-10-06 01:15:12 +05:30
Isabelle Viktoria Maciohsek
8fbb356125 Update min_element_index.md 2020-10-05 22:41:15 +03:00
AkshatBhat
a2ff06d3a6 Add min_element_index 2020-10-06 01:02:00 +05:30
Jay Patel
336b5b78a8 Added slugify (#286)
Co-authored-by: Isabelle Viktoria Maciohsek <maciv@hotmail.gr>
2020-10-05 21:57:34 +03:00
Isabelle Viktoria Maciohsek
5a639e263b Update words.md
Fixes #280
2020-10-05 19:08:32 +03:00
Isabelle Viktoria Maciohsek
96a3c7890b Add new snippets 2020-10-04 14:21:41 +03:00
Angelos Chalaris
7ef6e0bc5b Add powerset 2020-10-04 13:14:01 +03:00
Isabelle Viktoria Maciohsek
f3b84995e3 Add num_to_range 2020-10-04 12:43:57 +03:00
Isabelle Viktoria Maciohsek
2fa4c62d88 Add geometric_progression 2020-10-04 12:19:28 +03:00
Angelos Chalaris
7dc83dcd92 Update snippets/binomial_coefficient.md 2020-10-04 11:58:15 +03:00
Isabelle Viktoria Maciohsek
562ccb547e Add binomial_coefficient 2020-10-04 11:56:31 +03:00
Isabelle Viktoria Maciohsek
26556cf02e Update arithmetic_progression.md 2020-10-04 11:03:31 +03:00
Isabelle Viktoria Maciohsek
898a89a0a6 Merge pull request #250 from 30-seconds/pad
Add pad
2020-10-04 01:53:45 +03:00
Angelos Chalaris
9d9753085a Add pad 2020-10-04 01:53:05 +03:00
Angelos Chalaris
76305cda37 Fix pad_number file suffix 2020-10-04 01:42:19 +03:00
Isabelle Viktoria Maciohsek
c176be1e90 Merge pull request #247 from azanbinzahid/patch-2
Create pad_number
2020-10-04 00:43:16 +03:00
Isabelle Viktoria Maciohsek
9022b4f08e Update pad_number 2020-10-04 00:42:53 +03:00
Isabelle Viktoria Maciohsek
ac6acd66e9 Add words 2020-10-04 00:35:00 +03:00
Azan Bin Zahid
726a761a95 Create pad_number 2020-10-04 02:26:40 +05:00
Isabelle Viktoria Maciohsek
40c43e87c1 Add miles-to-miles 2020-10-04 00:24:01 +03:00
Isabelle Viktoria Maciohsek
579ae74782 Add km-to-miles 2020-10-04 00:23:49 +03:00
Isabelle Viktoria Maciohsek
d1b7d0eff4 Add is_prime 2020-10-03 18:03:32 +03:00
Isabelle Viktoria Maciohsek
ece05ed413 Update to_dictionary
Fixes #203
2020-10-03 17:24:50 +03:00