Python

post-image

The Weekly Challenge - Guest Contributions

Sunday, Dec 29, 2024 by Mohammad Sajid Anwar Ada, APL, Awk, BASIC, Bash, Bc, Befunge-93, Bourne Shell, BQN, Brainfuck, C3, C, CESIL, Chef, COBOL, Coconut, C Shell, C++, Clojure, Crystal, D, Dart, Dc, Elixir, Elm, Emacs Lisp, Erlang, Excel VBA, F#, Factor, Fennel, Fish, Forth, Fortran, Gembase, GNAT, Go, GP, Groovy, Haskell, Haxe, HTML, Hy, Idris, IO, J, Janet, Java, JavaScript, Julia, K, Korn Shell, Kotlin, Lisp, Logo, Lua, M4, Maxima, Miranda, Modula 3, MMIX, Mumps, Myrddin, Nelua, Nim, Nix, Node.js, Nuweb, Oberon, Octave, OCaml, Odin, Ook, Pascal, PHP, Python, PostgreSQL, Postscript, PowerShell, Prolog, R, Racket, Rexx, Ring, Roc, Ruby, Rust, Scala, Scheme, Sed, Smalltalk, SQL, Standard ML, SVG, Swift, Tcl, TypeScript, Uiua, V, Visual BASIC, WebAssembly, Wolfram, XSLT, YaBasic, Zig

As you know, The Weekly Challenge, primarily focus on Perl and Raku. During the Week #018, we received solutions to The Weekly Challenge - 018 by Orestis Zekai in Python. It was pleasant surprise to receive solutions in something other than Perl and Raku. Ever since regular team members also started contributing in other languages like Ada, APL, Awk, BASIC, Bash, Bc, Befunge-93, Bourne Shell, BQN, Brainfuck, C3, C, CESIL, Chef, COBOL, Coconut, C Shell, C++, Clojure, Crystal, D, Dart, Dc, Elixir, Elm, Emacs Lisp, Erlang, Excel VBA, F#, Factor, Fennel, Fish, Forth, Fortran, Gembase, GNAT, Go, GP, Groovy, Haskell, Haxe, HTML, Hy, Idris, IO, J, Janet, Java, JavaScript, Julia, K, Korn Shell, Kotlin, Lisp, Logo, Lua, M4, Maxima, Miranda, Modula 3, MMIX, Mumps, Myrddin, Nelua, Nim, Nix, Node.

Continue Reading
post-image

Advent Calendar - December 23, 2024

Monday, Dec 23, 2024 by Luca Ferrari Java, PostgreSQL, Raku, Python

Advent Calendar 2024 | Day 22 | Day 23 | Day 24 | The gift is presented by Luca Ferrari. Today he is talking about his solution to The Weekly Challenge - 298. This is re-produced for Advent Calendar 2024 from the original post. Perl Weekly Challenge 298 This post presents my solutions to the Perl Weekly Challenge 298. I keep doing the Perl Weekly Challenge in order to mantain my coding skills in good shape, as well as in order to learn new things, with particular regard to Raku, a language that I love.

Continue Reading
post-image

Advent Calendar - December 22, 2024

Sunday, Dec 22, 2024 by Packy Anderson Perl, Raku, Python, Elixir

Advent Calendar 2024 | Day 21 | Day 22 | Day 23 | The gift is presented by Packy Anderson. Today he is talking about his solution to The Weekly Challenge - 286. This is re-produced for Advent Calendar 2024 from the original post. Spammer Game For some reason, my brain saw “Order Game” and I thought “Circle Game“. Perhaps because my wife and I watched a Joni Mitchell documentary last week.

Continue Reading
post-image

Advent Calendar - December 16, 2024

Monday, Dec 16, 2024 by Ryan Thompson Perl, Python

Advent Calendar 2024 | Day 15 | Day 16 | Day 17 | The gift is presented by Ryan Thompson. Today he is talking about his solution to The Weekly Challenge - 276. This is re-produced for Advent Calendar 2024 from the original post. Maximum Frequency and now my Day is Complete This post is part of a series on Mohammad Anwar’s excellent Weekly Challenge, where hackers submit solutions in Perl, Raku, or any other language, to two different challenges every week.

Continue Reading
post-image

Advent Calendar - December 11, 2024

Wednesday, Dec 11, 2024 by Simon Green Perl, Python

Advent Calendar 2024 | Day 10 | Day 11 | Day 12 | The gift is presented by Simon Green. Today he is talking about his solution to The Weekly Challenge - 261. This is re-produced for Advent Calendar 2024 from the original post. Weekly Challenge 261 Task #1: Element Digit Sum You are given an array of integers, @ints. Write a script to evaluate the absolute difference between element and digit sum of the given arra My solution Given that Perl doesn’t care (most of the time) between numbers and strings, this is one of those challenges that is easier to do in Perl.

Continue Reading
post-image

Advent Calendar - December 23, 2023

Saturday, Dec 23, 2023 by Ian Rifkin Perl, Raku, Python

Advent Calendar 2023 | Day 22 | Day 23 | Day 24 | The gift is presented by Ian Rifkin. Today he is talking about his solution to The Weekly Challenge - 240. This is re-produced for Advent Calendar 2023 from the original post. A.A.B.A. (Acronym And Build Array) Task 1: Acronym You are given an array of strings and a check string. Write a script to find out if the check string is the acronym of the words in the given array.

Continue Reading
post-image

Advent Calendar - December 19, 2023

Tuesday, Dec 19, 2023 by Packy Anderson Perl, Raku, Python

Advent Calendar 2023 | Day 18 | Day 19 | Day 20 | The gift is presented by Packy Anderson. Today he is talking about his solution to The Weekly Challenge - 234. This is re-produced for Advent Calendar 2023 from the original post. Common, but Unequal, Triplet Characters Ok, trying to be creative with my title for this week’s Perl Weekly Challenge 334 blog title is probably a miss.

Continue Reading
post-image

Advent Calendar - December 18, 2023

Monday, Dec 18, 2023 by Lubos Kolouch Perl, Python

Advent Calendar 2023 | Day 17 | Day 18 | Day 19 | The gift is presented by Lubos Kolouch. Today he is talking about his solution to The Weekly Challenge - 233. This is re-produced for Advent Calendar 2023 from the original post. Task 1 - Similar Words Introduction Programming often presents challenges that may seem trivial at first glance, but when delved into, bring out intriguing nuances.

Continue Reading
post-image

Advent Calendar - December 12, 2023

Tuesday, Dec 12, 2023 by Simon Green Perl, Python

Advent Calendar 2023 | Day 11 | Day 12 | Day 13 | The gift is presented by Simon Green. Today he is talking about his solution to The Weekly Challenge - 220. This is re-produced for Advent Calendar 2023 from the original post. Common Squares Weekly Challenge 220 This is the second consecutive week I’ve done the task and written the blog 40,000+ feet in the air.

Continue Reading
post-image

Advent Calendar - December 23, 2022

Friday, Dec 23, 2022 by Lance Wicks Python

Advent Calendar 2022 | Day 22 | Day 23 | Day 24 | The gift is presented by E. Alvarez. Today he is talking about his solution to “The Weekly Challenge - 191”. This is re-produced for Advent Calendar 2022 from the original post by him. Lambdas & Printf Task I: Binary String Ok, another great week and I was glad that it did not require too much effort on my part, as I’ve started participating in AoC, AoCyber, and also doing Gabor Szabo’s 2022 December CI Challenge.

Continue Reading
post-image

Advent Calendar - December 10, 2022

Saturday, Dec 10, 2022 by Bruce Gray Perl, Raku, Python

Advent Calendar 2022 | Day 9 | Day 10 | Day 11 | The gift is presented by Bruce Gray. Today he is talking about his solution to “The Weekly Challenge - 154”. This is re-produced for Advent Calendar 2022 from the original post by him. In which we search for a needle in a lendee (or maybe a chatchka in a haystack), and delight in some lazy CPAN comfort.

Continue Reading
post-image

Advent Calendar - December 7, 2022

Wednesday, Dec 7, 2022 by Simon Green Perl, Python

Advent Calendar 2022 | Day 6 | Day 7 | Day 8 | The gift is presented by Simon Green. Today he is talking about his solution to “The Weekly Challenge - 157”. This is re-produced for Advent Calendar 2022 from the original post by him. Weekly Challenge 157 I’m back after the three week hiatus! [Challenge] [My solution] TASK #1 › Pythagorean Means You are given a set of integers.

Continue Reading
post-image

Meet The Champion: March 2022

Thursday, Apr 14, 2022 by Mohammad S Anwar Python, Excel VBA

Get to know about Eric Cheung. Welcome to the monthly series Meet The Champion. Last month we spoke to Robert DiCicco, the winner of February 2022. Today we are talking to Eric Cheung, the winner of March 2022 of The Weekly Challenge. I hope you are going to enjoy the interview. Mohammad: Tell us about your technical background? Eric: Well, I use different programming languages to suit to different tasks in my jobs, currently in Hong Kong Observatory, for example HTML, Linux Shell, PHP and etc.

Continue Reading
post-image

Advent Calendar - December 15, 2021

Wednesday, Dec 15, 2021 by Lubos Kolouch Perl, Python

Advent Calendar 2021 | Day 14 | Day 15 | Day 16 | The gift is presented by Lubos Kolouch. Today he is talking about his solution to “The Weekly Challenge - 088”. This is re-produced for Advent Calendar 2021 from the original post by Lubos Kolouch. Task #2: Spiral Matrix You are given m x n matrix of positive integers. Write a script to print spiral matrix as list.

Continue Reading
post-image

Meet The Champion: March 2021

Sunday, May 30, 2021 by Mohammad S Anwar Clojure, Lua, Python, Perl, Raku

Get to know about Tyler Wardhaugh Welcome to the monthly series Meet The Champion. Last month we spoke to Aaron Smith, the winner of April 2021. Today we are talking to Tyler Wardhaugh, the winner of March 2021 of The Weekly Challenge. I hope you are going to enjoy the interview. Mohammad: Tell us about your technical background? Tyler: I began my career doing web development in the early ’90s.

Continue Reading
post-image

[ Perl | Raku | The ] Weekly Challenge - 2020

Tuesday, Nov 19, 2019 by Mohammad S Anwar Perl, Raku, C++, Python, Postscript, Rust, HTML

It has been wonderful journey so far in the year 2019. When I started the journey in March, I didn’t know it would take this shape. All credit goes to the support of Perl/Raku community in general. It would be unfair if I pick few names. You know who I am talking about anyway. Let me share the story with you all. I was working on 2 ideas at the start of the year 2019, “Perl Weekly Challenge” and “London Hack Day”.

Continue Reading

SO WHAT DO YOU THINK ?

If you have any suggestions or ideas then please do share with us.

Contact with me