Muhsin ms is a coder. Who work coding and web devolopment from his age 13.

Project
1. A py game

Importing and Initializing PyGame
After you import pygame, you’ll also need to initialize it. This allows pygame to connect its abstractions to your specific hardware:
Import the pygame module
import pygame
Import pygame.locals for easier access to key coordinates
Updated to conform to flake8 and black standards
from pygame.locals import (
K_UP,
K_DOWN,
K_LEFT,
K_RIGHT,
K_ESCAPE,
KEYDOWN,
QUIT,
)
Initialize pygame
pygame.init()
The pygame library defines many things besides modules and classes. It also defines some local constants for things like keystrokes, mouse movements, and display attributes. You reference these constants using the syntax pygame.. By importing specific constants from pygame.locals, you can use the syntax instead. This will save you some keystrokes and improve overall readability.
Setting Up the Display
Now you need something to draw on! Create a screen to be the overall canvas:
Import the pygame module
import pygame
Import pygame.locals for easier access to key coordinates
Updated to conform to flake8 and black standards
from pygame.locals import (
K_UP,
K_DOWN,
K_LEFT,
K_RIGHT,
K_ESCAPE,
KEYDOWN,
QUIT,
)
Initialize pygame
pygame.init()
Define constants for the screen width and height
SCREEN_WIDTH = 800
SCREEN_HEIGHT = 600
Create the screen object
The size is determined by the constant SCREEN_WIDTH and SCREEN_HEIGHT
screen = pygame.display.set_mode((SCREEN_WIDTH, SCREEN_HEIGHT))
You create the screen to use by calling
Telling our developer story is not easy. It is not just a list of work experience or a bunch of code.It is a story of legends

This is Muhsinms.wordpress.com
personalised, curation service for quality programming content.
A platform for developers, that provides you with a personalised curation service on programming topics. Use it to write and read quality articles on programming. Not for content-marketing disguised as programming tutorials. Not for advertisement blended with sincerely interesting pieces. Quality. Articles. About. Coding.
Today we can start the coding
Its free
You can code easily by typing
Topic
1.Choosing Python Web Frameworks: Django and Flask

If you’re getting into Python for the first time, chances are you’ve researched various web frameworks. If not, click on over the Python wiki and start browsing the expansive variety of web frameworks. Go ahead; we’ll wait. Overwhelming, isn’t it? Do you choose the most popular full-stack frameworks or do…
2 Full-Stack Developer vs. Software Engineer: Top Differences

Are you thinking about pursuing a career in technology or computer science? Should you work in development or engineering? If you’re not sure yet, that’s okay. It can help to first get a grasp on the differences between full-stack developers and software engineers. In the workforce, these professionals complete duties…
3.Why You Should Learn Python

Why learn Python? Year after year, Python is one of the most in-demand programming languages for companies. Like most popular programming languages, Python’s popularity didn’t come until years after the language was created. Designed by Guido van Rossum, Python was initially introduced in 1991. By the end of 2000, Python…