Questão | Responda |
= | 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 |
Quer criar seus próprios Flashcards gratuitos com GoConqr? Saiba mais.