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

Mapa mental

Paper 2 revision #3

Harriet Leplar Inglês

Conteúdo do mapa

Paper 2 revision #3

  1. Usually refers to if statements.

  2. String manipulation

    • Write a code that takes the first 3 letters of someones first name and the first three letters of their last name.
      • a = input("Enter your first name") b = input("Enter your surname") c = (a[:3]) d = (b[:3]) print(c+d)
  3. Usually used when there are multiple types of answer to a question.

  4. If, elif, else.

  5. Writing/reading to a file.

    • "r" is reading from a file,
    • "w" means writing to a file.
    • "a" means adding to the end of a textfile.
    • open("data.txt" , "w")
      • This means creating a file called data.txt . This allows us to create a file that does not exist.
    • We can also use "x" to create a file. This will also return an error if the file already exists.

Informações

Descrição
Mapa Mental sobre Paper 2 revision #3, criado por Harriet Leplar em 20-05-2019.
Criado por
Harriet Leplar
Visualizações
2
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?