Professional Documents
Culture Documents
Python Cheat Sheet Cheat Sheet: Jinnymuids
Python Cheat Sheet Cheat Sheet: Jinnymuids
LOGIN or REGISTER
Addition
Functions
# comment(one line)
+ plus
- minus
* multiple
/ divide
% remainder (4%2)-> 0
== equal to
!= not equal to
Code2
print (shoppinglist(1))
Syntax Grammar
Modulo Remainder %
Boolean True/False
Name
mystring = "hello"
print (mystring)
print(fullname)
else:
letter = (fullname(letternumber) )
print (letter)
Area of Circle
while 2==2:
#Ask the user for a radius of a circle
user_radius = input("What is the radius? ")
Cheat Sheet
:
2 Pages
PDF (recommended)
PDF (2 pages)
Alternative Downloads
Created By
jinnymuids
Metadata
Languages: English
:
Published: 15th February, 2016
Comments
Add a Comment
Your Comment
Your Name
Your Comment
(0) (0)
Dementia306
22 Jan 23
test, information, media
About Cheatography
Cheatography is a collection of 5598 cheat sheets and quick references in 25 languages for
everything from language to linux!
DaveChild
SpaceDuck
:
Cheatography
Recent Activity
Dementia306 updated Grade 12 Philosophy reviewer.
5 hours 7 mins ago