0% found this document useful (0 votes)
285 views4 pages

DevNursery Cheatsheet - Python

This document provides a cheat sheet for common Python syntax including: printing to the console using print(), assigning variables, conditionals using if/else statements, loops using for and while, declaring functions with def, anonymous functions, classes with properties and methods, inheritance between classes, and string concatenation and interpolation.

Uploaded by

Alex Merced
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
285 views4 pages

DevNursery Cheatsheet - Python

This document provides a cheat sheet for common Python syntax including: printing to the console using print(), assigning variables, conditionals using if/else statements, loops using for and while, declaring functions with def, anonymous functions, classes with properties and methods, inheritance between classes, and string concatenation and interpolation.

Uploaded by

Alex Merced
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

[Link] - AlexMercedCoder.

com

CHEATSHEET - Python

FEATURE SYNTAX
Printing to Console

Assigning a Variable

Conditional

Loop
Declaring a Function

Anonymous Function

Classes
Class Properties and
Methods

Inheritance
Concatenation and
Interpolation

You might also like