Mish mash of flashcards

Description

python Flashcards on Mish mash of flashcards, created by xat jak on 26/07/2017.
xat jak
Flashcards by xat jak, updated more than 1 year ago
xat jak
Created by xat jak almost 7 years ago
1
0

Resource summary

Question Answer
= assigns the value to the left , to the variable on the right
== Test wether two things have the same value
# octhotorpe, makes comments the program dont run
" " double quotes, makes a line print
' ' single quotes, used for a letter or word to print
""" tripple quotes, used for big prints
{} braces, sets arguments
round() gives a floating number
.format runs a command on the string
end=' ' end the string and continues on the same line
\n linefeed, starts a new line
\t Horizontal tab, indents the line
\\ double backslash, sets a regular backslash
\ backslash, encodes difficult to type characters
int(input)) integer w/input, turns the input to an integer before assigning it to a variable
input(promt) Asks the user a question, then assigns the answere to a variable
repr() represents the raw computer line
def defines a function
argv argumentvector/variable
target.truncate deletes selected file
target.write Writes onto the selected file
Show full summary Hide full summary

Similar

Prep Like a Pro with GoConqr's Revision Timetable
Mike Nervo
Code Challenge Flow Chart
Charlotte Hilton
Flvs foundations of programming dba 2
mariaha vassar
Python Cheat Sheet
Matt Burkes
Python Appendix A - ex.1
Melissa Machado
Python Quiz
karljmurphy
AS-Level Chemistry: Unit 1:The Atom
Daena Targaryen
20 Study Hacks To Improve Your Memory
jen.sch.ca
Study tips/hacks
Sarah Biswas
Study Plan
Kundai Gee Ganjani
PMP Formulas
Krunk!