Python

Simple 2048 Game using Tkinter in Python Free Source Code

Submitted by razormist on
Simple 2048 Game using Tkinter in Python Free Source Code - A Puzzle style game clone like of the original 2048 game where your goals it to gain more score. This classic puzzle game is very enjoyable and fun to play with try to reach the highest score in this game. Python Free Source Code.

Simple Text Editor App using Tkinter in Python Free Source Code

Submitted by razormist on
Simple Text Editor App using Tkinter in Python Free Source Code - A simple python application application that use tkinter module to create a text editor. This application can allow the user to open any text file format or create new text file that you want to use. Python Free Source Code.

Simple Body Mass Converter App in Python Free Source Code

Submitted by razormist on
Simple Body Mass Converter App in Python Free Source Code - A simple converter application coded in python that can convert a specific mass value. This application use calculation to convert your weight value into a new specific mass value with an accurate result. Python Free Source Code.

Simple Wall Breaker Game using Pygame in Python Free Source Code

Submitted by razormist on
Simple Wall Breaker Game using Pygame in Python Free Source Code - A simple Arcade style game where your objective is to destroy the wall to get a score. The game is so simple you just need to destroy all the wall in in order to win this game. Python Free Source Code.

Simple Task Manager App in Python Free Source Code

Submitted by razormist on
Simple Task Manager App in Python Free Source Code - A simple Python project that can record your daily task by adding the task detail to store into database. This project can be use when you want to record your task list in order to organize the your work for the day. Python Free Source Code.

Simple Tetris Game using Pygame in Python Free Source Code

Submitted by razormist on
Simple Tetris Game using Pygame in Python Free Source Code - A simple puzzle style game where your goal is to line the block in horizontal to get a score. The game is very classic to play with and very fun, try to gain more score as you can in order to become the top scorer. Python Free Source Code.

How To Write and Call Function in Python

Submitted by admin on

Functions are blocks of reusable code in Python that perform a specific task. They take inputs, process them, and return outputs. Functions can be called from anywhere in your code, allowing you to avoid duplicating the same code in multiple places. Functions make code more modular, easier to read and maintain, and allow for better code organization.

How To Write A Function

Here is an example of a simple Python function that takes in two arguments and returns their sum:

How To Use Loops in Python

Submitted by admin on

Loops are a key programming construct in Python that allow you to execute a block of code repeatedly. The two most common types of loops are for loops and while loops. For loops are used to iterate over a sequence of values, such as a list, and execute a block of code for each value.