1 result authored by j hopkins - search across all users.

Show results for

Refine by

  • Status

  • Tags

  • Usage rights

  • Ability Level

  • Topics

  • Question in j's workspace by j hopkins and 2 others

    Choose from one of several pre-defined scenarios, and set variables to the corresponding values, defined in lists.

    This question has three variables: city, population, and percent_like_chocolate. These differ for each city. We've defined a list for each variable, with the corresponding values. A variable called scenario picks a random position in the list, so the value of city, for example, is cities[scenario].