O GoConqr está de visual novo! Conte para nós o que você achou.

Mapa mental

PYTHON

Emilia Sparta Inglês

Conteúdo do mapa

PYTHON

  1. >>>

    • prompt symbol of the Python console
  2. IDLE

    • includes tools for writing and debugging entire programs
  3. /

    • single slash to divide numbers produces a decimal (float)
    • dividing any two integers produces a float.
    • float can be added to an integer, because Python silently converts the integer to a float.
  4. Dividing by zero in Python produces an error, as no answer can be calculated

    • the last line of an error message indicates the error's type
  5. Computers can't store floats perfectly accurately

    • often leads to bugs
  6. You can chain exponentiations together.

    • can rise a number to multiple powers
  7. STRING

    • entering text between two single or double quotation marks
    • docstrings
      • used for block commenting
    • double quotes can't be directly included in a double quote string
      • placing a backslash
    • escape characters
      • Backslashes
        • to escape tabs, arbitrary Unicode characters, and various other things that can't be reliably printed
  8. OUTPUT

    • programs take input and process it to produce output
    • print function to produce output
    • When a string is printed, the quotes around it are not displayed
  9. INPUT

    • input function
      • function prompts the user for input, and returns what they enter as a string
  10. CONCATENATION

    • strings in Python can be added
      • can be done on any two strings.
    • doesn't matter whether they've been created with single or double quotes.
  11. STRING OPERATIONS

    • Strings can also be multiplied by integers
    • Strings can't be multiplied by other strings
    • Strings also can't be multiplied by floats
  12. TYPE CONVERSION

    • can't add two strings containing the numbers 2 and 3 together to produce the integer 5
      • operation will be performed on strings, making the result '23
        • would use the int function
    • turning inputs to floats

Informações

Descrição
Mapa Mental sobre PYTHON, criado por Emilia Sparta em 30-10-2018.
Criado por
Emilia Sparta · out 2018
Atualizado
30 out 2018
Visualizações
0
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?