Please enable JavaScript to use CodeHS

Utah Introducción a Python 1 y 2

Lesson 10.1 Actualización: Desafíos con Tracy

Description

En esta lección, los alumnos repasan los conceptos y comandos con los que deben estar familiarizados antes de empezar el curso. Completan algunos retos de Tracy por su cuenta y luego tienen la oportunidad de trabajar con un compañero para crear un proyecto más amplio, con andamiaje, desarrollando una plataforma de arte digital.


Objective

Students will be able to:

  • Review the following concepts:
    • for loops
      • using i as a variable
      • using extended parameters for stop and increment
    • commenting
    • functions
      • parameters
      • return values
    • data types and casting
    • formatting strings
      • escape sequences
      • concatenation
      • format
    • user input
    • clickable interaction
    • if/elif/else statements
    • while loops
      • forever loops using break
  • Review the following commands:
    • forward
    • circle
      • with and without extended parameters for extent and steps
    • penup
    • pendown
    • goto / setposition
    • setx
    • sety
    • left
    • right
    • setheading / seth
    • bgcolor
    • speed
    • color
      • using color names and hex codes
    • begin_fill / end_fill
    • pensize
    • write
    • type
    • print
    • String methods:
      • capitalize
      • upper
      • lower
      • isalpha
      • isdigit / isnumeric
      • isupper
      • islower
      • startswith
      • endswith
    • input
    • onclick
    • getscreen
    • return
    • break