Practice step 1. Type apprentice name = "Acolyte Vale" so Python has a text/string value to store. Practice step 2. Type focus points = 42 so Python has a number to store. Practice step 3. Type trial active = True so Python has a Boolean on/off flag. Practice step 4. Build training report with an f string that mentions the three variables. Practice step 5. Use print(training report) so the console can show your result. Practice step 6. Run Execute Trial and fix one error or failed objective...
Full Transcript
Practice step 1. Type apprentice name = "Acolyte Vale" so Python has a text/string value to store. Practice step 2. Type focus points = 42 so Python has a number to store. Practice step 3. Type trial active = True so Python has a Boolean on/off flag. Practice step 4. Build training report with an f string that mentions the three variables. Practice step 5. Use print(training report) so the console can show your result. Practice step 6. Run Execute Trial and fix one error or failed objective at a time before changing anything else. Mission Objectives. Objective 1. Name sigil. Create apprentice name as a string value: text inside quotes. Required. Objective 2. Focus reserve. Create focus points as an integer or float: a number with no quotes. Required. Objective 3. Activation flag. Create trial active as a Boolean value: True or False. Required.
Practice step 1. Type apprentice name = "Acolyte Vale" so Python has a text/string value to store. Practice step 2. Type focus points = 42 so Python has a number to store. Practice step 3. Type trial active = True so Python has a Boolean on/off flag. Practice step 4. Build training report with an f string that mentions the three variables. Practice step 5. Use print(training report) so the console can show your result. Practice step 6. Run Execute Trial and fix one error or failed objective...