Kodeclik Logo

Our Programs

Courses

Gifting

Learn More

Schedule

Python for Kids

Online classes, camps and resouces for kids to learn Python coding with our professional curriculum and elite instructors.

Age: 11-18

We offer some of the best Python courses for kids, including engaging summer camps and live online classes designed to teach Python programming in a structured way. Our Python 1 class is ideal for kids and teens who want to learn Python for kids and master real-world programming skills. Available in flexible formats like 1:1 and small group sessions, we ensure each student has the support they need to succeed in their learning journey.

Our Python 2 class is one of the best Python courses for kids, introducing students to Turtle Graphics in a fun and interactive manner. With little to no programming experience required, students will use Turtle, Python's graphic library, to create drawings and patterns, making it a fantastic introduction to Python programming for kids.
Python Programming 1
Age 11-18
Python is a feature-packed programming language and is fast becoming the language of choice for beginning coders! This course serves as a first introduction to Python programming using simple input-output commands and basic elements such as variables, conditionals, loops, and recursion. Students are also introduced to a range of data types such as numbers, strings, arrays, and lists. They will learn how to structure complex programs using functions and how they can create complete textual games such as the hi-lo game and Hangman.
Learn More
Python Programming 2: Turtle Graphics
Age 11-18
Python 2 reinforces the programming concepts learned in Python 1 by introducing the Turtle graphics programming environment. This course introduces students to the two-dimensional X-Y coordinate system and basic geometric concepts underlying polygons, circles, stars, and spirals. Students will learn to create complex, colorful, drawings using features like stamping and randomization. Along the way all concepts from Python 1 are reinforced but in a graphical drawing context. Finally the course introduces students to the creation of graphical games involving races and mazes.
Learn More
Python Programming 3: Modding Minecraft
Age 11-18
This class brings together two favorite platforms: Minecraft and Python. Students already familiar with the basics of Python will be introduced to an object-oriented flavor of programming, how to use builder and agent models to construct structures in their Minecraft worlds, navigating a 3D environment, and how to create complex programs compositionally from simpler parts.
Learn More
Advanced Python: Text Based Games
Age 12-18
This class is meant for students who can code in Python and are looking to advance their skills. It is an fun and challenging course for advanced learners.
Learn More
Python Programming: 15 Session Bootcamp
Age 12-18
Pair text with an image to focus on your chosen product, collection, or blog post. Add details on availability, style, or even provide a review.
Learn More
Python Programming & Games: 20 Sessions
Age 12-18
This 20-session bootcamp serves as a first introduction to Python programming using the repl.it programming environment. It assumes no prior experience but rapidly takes you to high levels of programming.
Learn More

Coding Pathways
We offer 2 different pathways to go through our Python curriculum. 
OPTION 1
In this option students will complete our Python curriculum in multiple mini classes. Each mini class will have 5 one-hour sessions.

Python Programming 1

Age: 11-18

$179

Register

Python Programming 2: Turtle Graphics

Age: 11-18

$179

Register

Python Programming 3: Modding Minecraft

Age: 11-18

$179

Register

Advanced Python: Text Based Games

Age: 11-18

$179

Register

OPTION 2
In this option, students will enroll in a single class to complete our Python curriculum.

Python Programming & Games: 20 Sessions

Age: 11-18

$699

Register


Our Curriculum
Students will code real world Python programs from the first class. Our curriculum starts from the basics and takes the students through a structured programming education experience. It is fast paced, challenging and fun!
Python Basics
Control Structures
Strings & Datatypes
User Interaction
Functions
Compositional Programming

Turtle Graphics Library
Drawing and Geometry
Stamping
Move and turn commands
Randomizing your drawing
Coloring your drawing

Minecraft and Python
Building structures
Functions for your mods
Recursive construction
Fractal Designs
Building simple settlements

Code your favorite games
Hi-Lo Game
Hangman
Tic Tac Toe
Rock Paper Scissors
Bagel game

Python and AI
GPT4




Coding Contest
Make a Python Game
Code in Python and develop a game that will be fun, exciting and challenging! Sign up now and start coding.
Sign Up

Outstanding Instructors

  • Our instructors are students at top Computer Science programs at US universities.

  • They have a wide range of programming and teaching experience.

  • Our instructors alumni are employed at major technology companies.


Money Back Guarantee

We offer a 100% money back guarantee if you are not fully satisfied after the first class.


Why Python?

  • Python is an easy yet powerful programming language, making it an excellent choice for kids starting their coding journey.

  • By learning Python coding, children can develop essential skills that pave the way for future careers as software developers, engineers or entrepreneurs.

  • Python is a core, essential skill for careers in AI and ML. Its data visualization and analytics features are particularly used extensively by developers working in these areas.

Learning to code in Python is your child's first step towards exciting career choices.

6 Industries that use Python

Learn about the various industries where Python is put to action!

Tell me more
Top companies run on Python
Python is an integral part of the tech stack of leading technology companies. It may not be a stretch to say that the internet is fueled by Python.

How do I begin? Are there any prerequisites?

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.


Kid's Creation


    Activities for kids

  • How to send emails using Python?

    We will learn how to send this email programmatically. For this purpose, we should use one of the numerous email services out there, e.g., SendGrid, Amazon SES (Simple Email Service), BigMailer. In this tutorial, we will show you how to use SendGrid but the same ideas apply to other email services as well.

    Register

    How to make a table in Python?

    The tabulate module provides a simple and flexible way to create tables in Python. It can be installed using pip and imported into your script. To create a table, you typically prepare your data as a list of lists or a dictionary, then pass it to the tabulate function along with any desired formatting options.

    Learn more
    Everything you wanted to know about Pygame

    Pygame is a Python library for designing games. Pygame is built on top of SDL, Simple DirectMedia Library, which is a library for interfacing with and managing input devices (like keyboards, mouse, joystick) and output devices (like screens, voice, and other graphics hardware).

    Learn more
    A beginners' guide to Turtle Graphics

    Python’s turtle library gives you the constructs to draw compelling graphics in a programmatic manner and you can add the game logic using the core Python libraries. You can easily make games like mazes, snake, bat-n-ball, and more using Python.

    Learn more

Stay Connected

Subscribe for the latest updates and coupons.

Subscribe

Frequently Asked Questions
Is this suitable for my non-STEM child?
Yes. The class begins from basics and proceeds to advanced levels. There is great emphasis on problem solving and logic, skills that are very valuable for all students.
Who is the instructor?
Our instructors are students at top Computer Science programs in US universities. In addition to programming skills, they have teaching and sometimes research experience. All our instructors are hand picked and thoroughly vetted.
Why should my child learn Python?
Coding has become an essential skill and often leads to challenging careers. Python is the most popular language used in AI and ML applications. It is also a core subject in all AI/ML curriculum.

Take a look at the following Kodeclik Blog posts.

Finding consecutive letters in a Python string
Discover how to find consecutive letter sequences like 'ABC' or 'UV' in Python s...
Python's isdigit() method
Learn the handy Python isdigit() method!
Fetching a row from a CSV file using Python
Learn six different ways to fetch a row from a CSV file in Python!
Finding the current month in Python
Waking up from hibernation? Learn what the month is with Python!
How to convert decimals to percentages
There are some very convenient ways to convert decimals to percentages!
Checking for valid emails using Python
Here are quick ways to check for email validity in Python!
Printing your current working directory in Python
Are you lost in your file system and directories? Learn to find where you are in...
Computing average of a Python numpy array discarding NaNs
How do you find the mean of elements in an array if it has some nuisance NaN val...
Lagrange’s Four-Square Theorem
You would have heard about the four color theorem but do you know the four squar...
Finding common characters across Python strings
Learn to find common characters in Python strings with a variety of bells and wh...
How to convert a list into (key, value) pairs in Python
Learn useful tricks to organize Python list elements into key value pairs!
How to subtract in Hexadecimal
Learn to subtract in hexadecimal with simple examples!
Counting letters (but not numbers) in a Python string
Learn creative ways to count just letters in a Python string!
Printing a list in Python with semicolons between entries
Learn to pretty print a list with a semicolon delimiter!
6 Industries that use Python
Learn about the various industries where Python is put to action!
How to check for values within a range in numpy arrays
Learn to filter an np.array for values within a range in seven different ways!
Absolute values in Python
Learn how to find absolute values in Python!
How to Set or Modify a Variable After It’s Defined in Python
Can you modify a Python variable after it is defined? Like many important questi...
Comparing inputs in Python
Learn to compare two inputs in Python in various settings!
How to flip 1 and 0 in Python
Learn creative ways to flip 1 to a 0 and a 0 to a 1 in Python!
Converting UTC to local time in Python
Lets learn about UTC timestamps and how to work with them in Python!
How to make a table in Python
Learn to create tables in Python using handy libraries!
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.