Kodeclik Logo

CODING CLASSES

LEARN MORE

SCHEDULE

Kodeclik offers several programs (summer camps, live online classes) to learn professional Python programming in a structured way. Our Python 1 class is meant for kids and teens looking to learn serious, real world Python programming. The class is offered 1:1, small group and other flexible formats to help each student succeed in their learning goals.

Kodeclik’s Python 2 class teaches Turtle Graphics and is a wonderful, fun class for students who have little to no experience with programming. Turtle is Python’s graphic library and is used to develop drawings, patterns and is a great tool to introduce Python to kids and teens.

Our self-learning courses in the Kodeclik Academy span a similar range of topics, from basic Python programming to turtle graphics.

Python programming on a desktop
Python programming - turtle graphics to draw stars
Python programming to draw turtles

There are no prerequisites to beginning your child’s Python coding journey. While it may be good to have some prior experience with a block based coding language like Scratch or Minecraft education edition, kids can start to learn Python with absolutely no coding experience.

The first step is to find a suitable IDE to write all your Python programs. There are several free options available and you can use either a web based hosted IDE or a desktop IDE.

Take a look at the following Kodeclik Blog posts.

How to convert a vector into a square matrix
How do we convert a vector into a matrix? This is one of the standard operations...
How to add four lists into one dictionary in Python
Learn how to squish four lists into one Python dictionary!
How to negate a number in Python
A rather mundane activity in Python is to negate a number - learn all the ways y...
How to check for multiples of 3 in Python
Let us write a program to test for divisibility by 3 and use it in different set...
How to use getkey in Python
Learn to use getkey, a module to easily read single chars and key strokes in Pyt...
Python 'switch' statement: the match-case
Learn one of the latest additions to the Python language!
Python’s try-except block
Make your Python code more robust and user-friendly by gracefully handling error...
numpy.percentile() in Python
Do you know how to compute percentiles in Python? What are percentiles, you won...
How to update a Python dictionary
Learn a handy way to update a Python dictionary in one line!
How to create a shopping list in Python
Learn to create a shopping list in Python in an object oriented programming styl...
How to sort a Python dictionary by key
Sorting a Python dictionary by keys is a cinch - learn how!
How to append to a Python dictionary
It is so easy to append entries to a Python dictionary. See how!
How to export a Python Dataframe into an SQL file
Learn to export a Python dataframe of entries into an SQL file.
How to change the dimensions of a numpy array
Learn how to alter the dimensions of a Python numpy array!
How to delete files in Python
Learn how to programmatically delete files on your computer using Python librari...
Multiples of 37
Learn the mystical properties of 37 and its multiples!
How to convert Celsius to Fahrenheit
Learn to convert C to F using Python and Javascript!
How to convert Fahrenheit to Celsius
Let us write simple programs to convert Fahrenheit to Celsius!
Control Structures in Python
Learn about the rich variety of control structures in Python and when to use eac...
How to convert days to years
Here is some math + coding for you to convert days to years!
Is 0.999… the same as 1?
The answer is 'it depends.'
Birthday Paradox Calculator
Learn about the Birthday Paradox with a simple calculator to understand its impl...
How to convert minutes to days
Here is some math + coding for you to convert minutes to days!
How to convert seconds to years
Here is some math + coding for you to convert seconds to years!
How to convert days to seconds
Here is some math + coding for you to convert days to seconds!
Python assertEqual()
assertEqual() is a useful way to test your Python programs and double-check that...
Is X a Prime?
Learn how to find if a given number is prime, using both math, and in Python!
How to pretty print a JSON object in Python
Learn how to pretty print complex JSON data objects in Python!
How to bold text in Python
Learn how to bold (and unbold) characters in your Python print statements!
How to determine if a Python object is iterable
How do you check if a Python object is iterable, i.e., can be iterated over? Lea...
Iterating over a Python list in reverse
How do you traverse a list in reverse order?
How to pass boolean command line arguments to a Python program
Learn how to pass a boolean command line argument to your Python program.
How to pass a list as a command-line argument to a Python program
Learn how to pass command line arguments to your Python program, in particular a...
How to convert a Python list to a string
How do you take a Python list and place its elements into a list interspersed wi...
How to list the alphabet in Python
Learn three handy ways to obtain a list of all the alphabetic characters in Pyth...
Python string buffers
You know about Python strings but do you know what a Python string buffer is?
How to truncate a Python string
Sometimes you will need to truncate a string in Python. Learn why and how!
How to remove punctuation from a Python string
Need a way to get rid of nuisance punctuation characters from a Python string? L...
How to remove newlines from a Python string
Learn four different ways to remove newline characters from a Python string!
How to print a line break in Python
Do you know how to print line breaks in Python? Learn the different ways!
How to skip a line in your Python program
Every once in a while you will encounter a need to skip a line of code in your P...
What are functors in Python?
You know about functions but do you know about functors in Python? Sounds funky!
How to multiply numbers in Python
Did you know there are six ways to multiply in Python? How? - you ask. Let us sh...
How to find the average of a list in Python
Learn three quick ways to compute the average of a list in Python.
How to convert a list to a tuple in Python
Here are handy ways to convert a Python list to a tuple!
How to return a tuple in Python
Want to return multiple values from your Python function and need to understand ...
How to end a Python program
Learn three ways to conclude a Python program, from the most natural to the most...
How to add Time Delays to your Python program
Learn three different ways to add time delays in your Python program.
How to set environment variables in Python
Learn what environment variables are in Python and how to set or change them!
How to access environment variable values in Python
Learn what environment variables are in Python and how to access them!
How to find the parent directory path in Python
Learn two handy ways to find the parent directory in Python!
Python numpy.eye()
Learn a useful Python numpy function to create identity matrices.
Python numpy.diag()
Learn a convenient Python numpy function to extract diagonals from arrays!
numpy.any() in Python
numpy.any() is a handy function to test if any element in a given input Python n...
numpy.isnan() in Python
numpy.isnan() is a quick way to check if a given value is not a number (NaN).
Calculating numerical gradients using numpy.gradient()
Learn how you can find the gradient of a function denoted by values in an array!
Python numpy.split()
Learn a handy way to split a numpy array into subarrays of possibly different si...
How to add Days to a Date in Python
Learn how to add days to a given date in Python to arrive at a new date!
Find the day of the week in Python
Haven’t you wondered what day of the week your future birthday will fall on? The...
Python numpy.cumsum()
numpy.cumsum() is a handy function used to compute cumulative sums. Learn how to...
Python numpy.repeat()
numpy.repeat() is a very useful function that can be used to repeat elements in ...
How to use numpy.roll() in Python
Learn to use numpy.roll() to rotate your array’s values circularly!
Data clipping with numpy.clip()
Use numpy.clip() to truncate values outside an interval in a given array.
How to compare dates in Python
Learn how to compare dates in Python using built-in functions and libraries!
Python’s math.log2() function
Learn what the log2() function in Python does!
How to convert a boolean to string in Python
Learn how to convert a Python boolean to a string value!
How to convert a string to boolean in Python
Learn how to convert a Python string to a boolean value!
How to pad a Python String
Learn how to pad a Python string so it looks just the way you want it!
How to remove the first character from a Python String
Learn three handy ways to remove the first character from a Python string!
How to print the first 10 records of a Pandas dataframe
When you wish to take a sneak peek at your Pandas dataframe, e.g., print only th...
How to reorder Pandas dataframe columns
Sometimes your Pandas dataframe contains the columns you need but in the wrong o...
Python Pandas crosstab()
Learn how to prepare useful summary tables using Pandas crosstab()!
How to find the column names of a Pandas dataframe
Learn three handy ways to obtain a list of all the column names in a Pandas fram...
Pandas date_range()
date_range() is a very useful function in Pandas that returns a set of evenly sp...
How to extract the nth row in a Pandas dataframe
Learn a handy way to extract the nth row of a Pandas dataframe!
Tuple comprehensions in Python
Learn how to construct tuple comprehensions in Python and what they are used for...
Everything you need to know about Python hash()
Learn how the hash() function works in Python, its uses, and applications!
Python regex groups
The 'group' feature of Python regular expressions allows you to extract parts of...
How to split strings in Python using re.split()
A useful skill to know is to split a string into multiple elements based on (som...
Named Tuples in Python
Want to create user-friendly tuples in your Python program? Use the namedtuple d...
How to unpack a tuple in Python
Tuples are incredibly useful data structures for your Python program. Learn how ...
How to rotate and scale a vector in Python
Use the Python math library to write your own rotating and scaling functions for...
numpy.linspace() in Python
Are you looking for a way to easily create evenly spaced numbers between two giv...
How to slice a dictionary in Python
What does it mean to slice a dictionary in Python?
Comparing two Python dictionaries
How do you go about comparing two Python dictionaries?
Shuffling a Python dictionary
What does it mean to shuffle a Python dictionary? Are there easy ways to shuffle...
Converting a Python dictionary into JSON
Learn useful methods to serialize a Python dictionary into JSON format!
Finding logarithms using Python’s math.log10()
Learn how to compute logarithms in regular base 10 using Python!
Finding the LCM using Python’s math.lcm()
Learn a handy way to compute the least common multiple of integer arguments in P...
Python math.comb()
In how many ways can you choose two candies from 4 candies? There is a Python ma...
Dictionary unpacking into variables
Sometimes you will have a dictionary mapping keys to values and you wish to unpa...
How to convert variables into dictionary entries
Sometimes you will have a list of variables and you would like to create a dicti...
How to check if a key exists in a Python dictionary
Here are three handy ways to check if a specified key exists in a Python diction...
Finding cross products using numpy.cross()
Learn what the cross product of two vectors is and how to find it in Python usin...
Find all factors of a number in Python
How can you systematically find all the factors of a given number so that you do...
Euler’s number in Python
Are you a math geek and looking to access Euler’s number (the transcendental num...
Accessing the Boltzmann Constant in Python
Are you a physics geek and looking to access the Boltzmann constant in your Pyth...
How can we concatenate a string to an integer in Python?
You will come across a need to concatenate a string to an integer in your Python...
Loop count in Python
In a Python loop what if you would like to know how many times you have been loo...
How to use numpy.sum() in Python
numpy.sum() is a handy function that returns the sum of elements of numpy arrays...
Negative Indexing in a Python String
A negative index into a string might seem counterintuitive but it has a very sim...
How to exit a function in Python
Learn how to effectively end a function in Python!
Python’s math.trunc() function
Python’s math.trunc() function is one of the easiest methods to grasp - it simpl...
Python numpy's np.unique() function
Learn how to find and return unique values from your numpy array!
How do you remove None from a Python list?
You might sometimes come across a Python list with None values. Learn how to rem...
How to split a list into sublists of given lengths
Learn how to split a list into sublists with predefined lengths!
Numbered squares from 1 to 100
Lets write a simple Python program to find all the square numbers from 1 to 100!
How to print a Python list without brackets and commas
Want to print a list in Python without the annoying brackets and commas? Learn h...
numpy.round()
numpy.round() is a handy function to round elements of your array. Learn how to ...
Removing the last character from a string in Python
Learn two handy ways to remove the last character from a string in Python!
Pi in Python numpy
Learn how to get access to pi, the irrational number, in your Python programs us...
How to increment a value in a Python dictionary
Learn three different ways to increment a value in a Python dictionary!
How to obtain the first key in a Python dictionary
Become a Python dictionary expert by learning how to find the first key in a giv...
How to convert a string to a float in Python
Learn how to convert a string to a float in Python using just one function call!
Find all permutations of a given string in Python
How do you find all permutations of characters in a given string? This is one of...
Flattening a nested list in Python
Learn how to flatten a nested list in Python!
When would you need a nested lambda in Python?
A lambda is an unnamed, anonymous function in Python. A nested lambda is a lambd...
How to convert a Python list to a numpy array
Learn the intricacies involved in converting a regular python list to a numpy ar...
How to check if two numpy arrays are equal
Sometimes you will want to make an element-wise comparison of two numpy arrays. ...
Python numpy.histogramdd()
Python’s numpy.histogramdd() is a very useful function to compute histograms out...
Python's numpy.ones() function
Python numpy has a handy function to create an array of specified shape and type...
How to compute the Manhattan distance in Python numpy
Want to find the distance by foot between two locations in Python? Learn how to ...
How to compute the Euclidean distance in Python numpy
Want to find the shortest distance between two cities in Python? The numpy modul...
Does Python allow multiline lambda functions?
Lambda functions are 'use and throw' functions. Learn if you can split a lambda ...
Python max() using lambda functions
Sometimes you just want to create your own custom maximum function; Python lambd...
How to convert a Python range to a list
In your Python journey you will encounter a need to convert a Python range into ...
How to reverse a range in Python
Ranges are a staple of iteration in Python. Learn how to reverse a range!
How to convert a comma-separated string into a list in Python
Learn how to convert a comma-separated string into a list in Python, a very comm...
Python program for finding the greatest common divisor
Learn how to distribute candy evenly by computing the greatest common divisor!
How to check if a Python String is CamelCase
A CamelCase string is one like Kodeclik or KodeclikOnlineAcademy, but not kodecl...
How to apply a function to all elements of a Python list
Applying a function to each element of a list is such a handy and useful capabil...
How to check for an empty string in Python
In your Python journey, you will come across scenarios where you will need to ch...
How to convert strings to bytes in Python
Ever wondered how Python internally represents a string as bytes? There are hand...
Python’s os.path.join() function
The os.path.join() function in Python is a clean way to concatenate different st...
How to import a class from another file in Python
Python modules help logically organize code into multiple files; learn how to im...
Python os.chdir()
Learn how to programmatically move between directories in Python!
Python os.remove()
Learn how to programmatically delete a file from within Python!
Python os.listdir()
Ever wanted to explore your directory but from within Python? Learn how!
How (and why) to nest classes in Python
Nested classes are those that are defined inside other classes. Learn when you w...
How to skip values in a Python list
In processing lists in Python you might find a need to skip values in the list. ...
How to sort a list of tuples in Python
What if you have a list of tuples and desire to sort it in your own way? Learn t...
Python Nested Lists
Nested lists are useful data structures that are basically lists comprised of ot...
How to unzip a list of tuples in Python
Learn how to unzip a list of tuples in Python, from the easiest to the most Pyth...
List subtraction in Python
Learn six different ways to do element-by-element subtraction of two lists in Py...
Python os.mkdir()
Ever wanted to create directories programmatically from within Python? It is so ...
Python vars()
The vars() function in Python inspects an object and returns a dictionary identi...
The next function in Python
The next() function in Python retrieves the next item from an iterator (construc...
How to swap positions of values in a Python dictionary
Looking for a Python-ic way to swap positions of values in a Python dictionary? ...
Is Python case sensitive?
As your journey into Python goes forward you will come to a point where you wond...
How to create an inclusive range in Python
The Python range function behaves in an off-by-one manner in how it does not inc...
How to reverse a range in Python
Sometimes you will need a loop in Python that counts down rather than counts up....
Python's divmod() function
Python’s divmod() is a very handy function that returns both the quotient and re...
Math.tan() in Python
Learn to compute the tangent trigonometric ratio in Python with the Math.tan() f...
Math.cos() in Python
Learn to compute the cosine trigonometric ratio in Python with the Math.cos() fu...
Math.sin() in Python
Learn to compute the sine trigonometric ratio in Python with the Math.sin() func...
Math Domain Error in Python
Learn to solve 'math domain errors' in Python, one of the most common but someti...
Python’s math.isclose() function
Learn about the math.isclose() function in Python and how to use it!
Python program to print all prime factors of a given number
Learn how to factorize a number into its prime factors in Python, in two differe...
math.floor() in Python
Learn about the math.floor() function and when to use it!
math.ceil() in Python
Learn about the math.ceil() function and when to use it!
Computing the nth row of Pascal’s Triangle
Pascal’s triangle is a very useful construct in discrete math and can be easily ...
What does [-1] mean in Python?
Did you know you can retrieve the -1th element of a Python list? What? What does...
Histograms in Python
A histogram is a plot of the counts of (grouped) items in a given dataset. Learn...
How to iterate through a Python dictionary
Have a Python dictionary and would like to loop through it? Here are four ways t...
How to merge multiple files into a single file in Python
Given two or more files how do you merge them into a single file? Learn to write...
How to implement a Stack in Python
A stack is a last-in-first-out (LIFO) data structure. Learn the many ways to cre...
How to initialize a Queue in Python
A queue is a first-in-first-out (FIFO) data structure. Learn the many ways to cr...
How to count in a Python loop
Python loops are so expressive that you can do two things at once: count and ite...
How to remove parentheses from strings in Python
Have a Python string and need to remove parentheses from it? Learn three ways to...
How to iterate through multiple lists in Python
Have two or more lists and need to iterate through them simultaneously? Here are...
How to check if two dictionaries are equal in Python
Looking for a quick way to compare two dictionaries in Python? Learn how!
How to take input until Enter is pressed in Python
Can you write an interactive Python program to take inputs from the user till th...
Python’s range() function
Python’s range() function is very handy to write loops because it returns a list...
Python’s sum() function
Python’s sum function takes an iterable and returns the sum of elements in it. L...
Splitting a Text File by Lines in Python
Learn about four different ways to split a text file in Python into lines. Which...
How to convert a set to a tuple in Python
Have a Python set and want to convert it into a tuple? Learn three ways to do so...
How to remove trailing zeros in Python
Have a Python string denoting a decimal and need to remove trailing zeros? Learn...
How to remove leading zeros in Python
Have a Python string denoting a number and need to remove leading zeros? Learn h...
Stacks in Python
Stacks are one of the most useful data structures in Python. Learn how to use th...
Python’s file naming convention
How should you name your Python files, functions, classes, modules, and packages...
Method Overloading in Python
Can you have a Python program where a method has different meanings at different...
Tuple Index Out of Range!
Do you get the dreaded “Tuple Index Out of Range” error in your Python program? ...
Measuring Elapsed Time in Python
Would you like to time your Python program to see how fast it runs? Learn about ...
Ordered Sets in Python
An ordered set is just like a set in that it disallows duplicates but it maintai...
Python Set pop()
Have a Python set and want to pop an element? Here’s how to do it!
How do you measure file size in Python?
You will sometimes encounter the need to measure the size of files from within a...
Python toString()
Learn how to print any object into a string using Python’s custom methods!
Python's str() function
It is sometimes handy to take an object and convert it into a string. Learn Pyth...
Can your Python string be an integer?
Have a string and need to check if it actually denotes an integer? Here are 4 wa...
Prepending to a list in Python
If you dabble in Python lists, here are useful ways to prepend elements to a lis...
Python’s Double Slash
Do you know the difference between 5/2 and 5//2 in Python? When do you use which...
Boolean Operators in Python
Learn how to write boolean expressions using Python’s in built boolean operators...
Private Methods in Python
Private methods in a Python class are a good way to encapsulate functionality. L...
Formatting strings in Python
Python has versatile ways to format strings, i.e., to create strings from templa...
How to send emails using Python
Need to send hundreds of emails and looking for a convenient solution? Learn how...
The Python __call__ method
Learn about Python’s special method __call__ which makes objects callable, leadi...
Print a Python List (5 ways)
Python is one of the most multifaceted languages out there; learn about 5 diffe...
Python hasattr()
hasattr() is a very useful function in Python that can be used to check if a giv...
Python's not in operator
'not in' as the name indicates is an operator that checks if a given input is no...
Python pow()
What is the remainder when 7 to the power of 49 is divided by 5? Python’s pow() ...
Python chr()
Ever wonder how Python stores characters internally? Learn about the Python chr(...
Python’s min function
Analogous to max(), the min() function in Python takes an iterable (e.g., a list...
Python’s max function
The max() function in Python is a versatile function that takes any type of iter...
Initializing a Python dictionary
Learn about 8 different ways to initialize a Python dictionary. Which one is you...
Empty Dictionaries in Python
Learn how to work with empty dictionaries in Python: creating them and testing f...
Python Dictionary Length
Dictionaries hold key-value pairs in a data structure and it is often useful to ...
Python’s Inline If
If...else statements are important to any Python programmer; the inline if is a ...
Python Memory Errors: Why they happen and how to fix them
Memory errors can occasionally happen in your Python program. Learn four reasons...
Printing to stderr in Python
stderr, or standard error, is the channel where error messages from your Python ...
How to capitalize the first letters of words in a string
Haven’t you found it necessary to sometimes take a string and capitalize the fir...
Python’s XOR Operator
The XOR operator in Python computes the logical exclusive disjunction of two boo...
Python’s If Not Operator
Python’s if not operator tests if some condition is not true and can be a succin...
How to Copy a List in Python
Learn about the many ways to copy a list in Python and which one to use in a giv...
Python startswith(): A Simple Guide
Python startswith() is a very handy method to check if a string starts with a ce...
Python’s isnumeric() method
Python strings sometimes are made up of numbers and can thus be interpreted in a...
Finding the length of a Python list
How do you find the length of a list in Python? Learn about Python’s built-in le...
Python's Ternary Operator
Ternary operators in Python are nice syntactic shorthands for conditional statem...
All about Python Empty Lists
Checkout this handy tutorial to create empty lists in Python or check if a given...
Writing to a File in Python
Python has very useful functions that make it easy to write to text files and ev...
How to Open a Text File in Python
It is easy to use Python to read content from a file and process them in your pr...
How to Concatenate Strings
Concatenating strings refers to joining them one after the other. Python provide...
Python Pointers: Do we need them?
Pointers are very common in low-level languages like C and C++ and although you ...
Python reduce()
Python’s reduce() function takes a function and uses it to perform a rolling com...
Python map()
Python’s map() function can be viewed as a shorthand for a for loop. It takes a ...
Python Set Operations
Discover Python sets! Python provides a very flexible set data structure and a w...
The Fibonacci Sequence
Fibonacci numbers are a famous sequence of numbers that occur in many natural co...
What is a loop in programming?
A loop is a basic building block of coding and is referred to as a programming s...
The Beginner's Guide to Python Turtle
Python’s Turtle is a popular module that provides many useful functions for draw...
What is Python used for?
Learn why Python is one of the most popular programming languages out there and ...
The Python sqrt() function
Python’s sqrt() computes square roots and you can use it in interesting ways to ...
The Python print() function
Python’s print() is a versatile function that provides various options to format...
Recursion in Python
Recursion is a style of programming where a function calls itself one or more ti...
Magic Square Generator
Magic squares add up to the same number along rows, columns, and diagonals. Here...
Pygame Tutorial
Learn to use the Pygame library in Python to create your first game. This tutori...
Everything you wanted to know about pygame
Learn about the Python pygame library and its capabilities.
Arrays versus Lists in Python: What is the Difference?
Arrays and Lists are two very similar data structures in Python but have importa...
Solving the Tower of Hanoi in Python
Learn about this ancient mathematical puzzle and the classical computer science ...
How to make a password generator in Python
Learn to write your own Python program that will generate a random password.
5 Algorithms and their popular applications
Algorithms are pervasive in computer science - read this post to learn about fiv...
Quicksort Primer
Quicksort is a very popular in-place sorting algorithm so named because it is si...
Merge Sort Primer
Merge sort is a classical divide-and-conquer algorithm. Learn the details of how...
Insertion Sort Primer
Insertion sort is a very simple algorithm for sorting, mimicking the way you sor...
Bubble Sort Primer
Bubble Sort is a very popular and simple algorithm for sorting. Learn how Bubble...
Learn Python enumerate()
Python’s enumerate() function is used to loop through strings, list, arrays and ...
What are algorithms?
What is an algorithm? How do they surface in our everyday lives? Learn about the...
How to make a Random Number Generator in Python
Random numbers are crucial to realism in gaming, cryptography, and simulation. L...
Top 6 Python libraries for kids
Learn about several fun-tastic Python libraries for kids to get into turtle grap...

ABOUT

Kodeclik is an online coding academy for kids and teens to learn real world programming. Kids are introduced to coding in a fun and exciting way and are challeged to higher levels with engaging, high quality content.

Copyright @ Kodeclik 2024. All rights reserved.