PyCon India 2025

Programming is Playtime
2025-09-12 , Room 1

Why should coding always be about serious, big topics? Programming should be fun, it should be about trying out random things and learning new concepts in the process. In this workshop, we will work on Coding Katas -- these are small programs designed for us to learn and practise a skillset.

Here are the problems we will work on.

  1. FizzBuzz: Think FizzBuzz is only suitable for asking freshers as interview question? Try it with a twist -- without using 'for' or 'while' statements.
  2. Snakes and Ladders: We all played it as children. Can we now code it -- but no function more than five lines and none of the functions should return any value
  3. Card Counting: Given a hand of cards, sum up the value of the hand -- but beware, some cards can have multiple possible values

By the end of the session, you would have learnt some cool programming concepts -- generators, streams, continuations, monads and more!

Ready to level up your programming? Come and join us!


In this session, we will work through three coding challenges.

The overall flow will go like this:

  1. 5 mins introduction to the problem
  2. 20 mins discuss with others on your table and implement a solution
  3. 20 mins walkthrough the solution
  4. 10 mins Q & A
  5. 5 mins break

This pattern will repeat for each of the three problems that we will solve.

The workshop is suitable for those who are ready to step into intermediate level python programming. We will discuss slightly more complicated python features like generators, functional programming, structural pattern matching and so on.

This is a completely hands-on workshop. Please ensure you have a laptop and it has Python 3.10+ installed before coming to the workshop.


Prerequisites
  • Knowledge of python basics
  • Laptop with Python 3.10+ installed
Additional Resources
  • Projector
Target Audience

Intermediate

Hi .👋🏾 I'm Siddharta, a Python developer and trainer.

I first encountered python in 2002, and it has remained my favourite programming language ever since. I have been a speaker at PyCon India in 2009, 2011 and 2024,. I am the author of the book "Test-Driven Python Development" published by Packt in 2015.

Today I run the site https://www.playfulpython.com/ where I write about Python topics.