Mish mash of flashcards

Descripción

python Fichas sobre Mish mash of flashcards, creado por xat jak el 26/07/2017.
xat jak
Fichas por xat jak, actualizado hace más de 1 año
xat jak
Creado por xat jak hace más de 7 años
1
0

Resumen del Recurso

Pregunta Respuesta
= 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
Mostrar resumen completo Ocultar resumen completo

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
20 Study Hacks To Improve Your Memory
jen.sch.ca
Study tips/hacks
Sarah Biswas
AS-Level Chemistry: Unit 1:The Atom
Daena Targaryen
Study Plan
Kundai Gee Ganjani
PMP Formulas
Krunk!