¡GoConqr estrena diseño! Cuéntanos qué te parece.

Mapa mental

Key words

jake.maynard100210 Inglés

Contenido del mapa

Key words

  1. Data types

    • Bool
      • short for Boolean
      • true
      • false
    • Int
      • short for intergers
      • numbers
      • 1
      • 58
    • Str
      • short for string
      • text numbers and symbols
      • hiya
      • 14
      • #@*$
    • Float
      • decimal numbers
      • 0.112
      • 7.659
  2. validation

    • .lower()
      • turns a string into lower case
      • DOG into dog
    • .upper()
      • tuns a string into upper case
      • jim into JIM
    • while loop
      • to keep the code looping around until the user answer is correct
      • while True:
    • str(variable_name)
      • turns a integer into a string when concatenating
    • int(variable_name)
      • turns a string into a integer when concatenating
  3. Loops

    • while loop
      • good for validation
    • for loop
      • if you want it to loop around a number of times
    • break
      • used to get out of a loop
  4. libraries

    • pre written code that the code uses
    • only used by code if it has been imported
    • import random
      • random.choice
        • will randomly pick something out of an array
      • random.randint
        • will randomly select a number

Información

Descripción
Mapa Mental sobre Key words, creado por jake.maynard100210 el 11/09/2014.
Visitas
9
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?