DATA TYPES: So far we have learned three different data types used all the time in Python!

Remember that user input is always a string unless you convert it or cast it to a different data type.

  • Help jack climb up the beanstalk by entering inputs and converting the data types of the inputs.
  • Place the correct input variables within str(), float(), or int() to convert the input to the correct data type!
  • Each of those conversion tools should have one of the input variables in its parentheses.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)