![]() Which of the statements contains a string literal?.What is the difference in the output for the statements in “a” and “c” of question 6? Examine the output for each statement in question 6.Ī.What do the following Python statements output? Using the Thonny python shell, enter and execute the following statements.What caused the different formatting of output for samples “a” and “c” in question 3?.Was there a problem with any of the sample code in question 3? If so, what caused the problem?.What does the code produce when executed? Circle the Python code’s equivalent representation in the flowchart.What does the first line of Python code in the Python program do?.In your Thonny python shell, type the first line of python code above and press enter. Output, one of the of the four main operations of a computer, is performed using a print statement in Python. Task 2- Watch the following video on Thonny: When it is complete, it will let you know: As it installs, the percent by each line will go from 0 to 100%Ħ. Specifically, you can see that the last line indicates that python needed to be updated. You can see in the screen below that there are many packages that need to be updated. There may or may not be packages that need to be updated. You should see a spinning cursor in the following window next to solving environmentĤ. You will see that conda will determine what packages need to be updated.This will bring up your anaconda prompt in a new command window.Īt the prompt and press enter (note: you may be prompted to type conda update -n base conda). ![]() In the start menu, type Anaconda to bring up the anaconda prompt.To update your anaconda package complete the following: Your install of Anaconda is a fresh install, but there may have been updates to python libraries since the installation package was released. Create Python code that displays results to calculated addition and multiplication facts.Determine the difference between a string literal and a number.Explain how to create a comment in Python.Explain how to display data in Python using Thonny IDE.“What is the relationship between a flowchart and a Python program?”
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |