Course Hero Logo

Wk 1 - Intro Practice submitted .docx - Name: Chase Stanley...

Course Hero uses AI to attempt to automatically extract content from documents to surface to you and others so you can study better, e.g., in search results, to enrich docs, and more. This preview shows page 1 - 2 out of 12 pages.

Name:Chase StanleyWeek 1 — Welcome PracticeIntroductionPart 2-A Practice: Communicating with machinesCar ActionsDriver Action to Instruct Car What toDoCar ResponseStartEnters and turns keyEngine startsAcceleratePress down on gas peddleEngine revs, producing powerTurnRotate steering wheelTires rotate based on wheeldirectionDeceleratePress down on brake peddleBrakes engage on wheels, slowingcarTurningindicatorPut indicator in relevant directionExternal indicators begin to blinkHelpful Hints: Running Python1.If you don't have an icon for python, use search and enter IDLE.It should show up andyou just have to click it for it to bring up the python shell.2.To create a program in Python, select the New File menu option under the File tab.3.When the new file opens, simply start typing at the topa.Put a hashtag followed by your name and repeat for the name of the programyou are writing. The hashtag tell the computer to ignore the text because it is acomment:#Vanya Martin#My first programb.Indentions are important and we'll talk more about them later, but for nowjust try to make sure every program statement is lined up:name = str("")name = input("Enter your name: ")print ("Hi", name)4.When you are ready to run your program:c.Click the F5 key on your keyboard, or select the Run Module menu optionunder Run tab.

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 12 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Spring
Professor
N/A
Tags
Computer program, Chase Stanley

Newly uploaded documents

Show More

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture