Changes between Version 13 and Version 14 of ControlSystems/SoftwareTeam/IntroToPython


Ignore:
Timestamp:
Sep 4, 2017, 4:46:51 PM (8 years ago)
Author:
cdelgigante
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ControlSystems/SoftwareTeam/IntroToPython

    v13 v14  
    2727print(a)
    2828}}}
    29 This tells the computer to print, you guessed it, "Hello World"  
     29This tells the computer to print, you guessed it, "Hello World"
    3030
    3131Now you try it: Do the following:
    3232
    33  1. Highlight all the text in the central area and hit back space (this'll we'll clear out all the sample code.)   
     33 1. Highlight all the text in the central area and hit back space (this'll we'll clear out all the sample code.)
    3434 1. Then highlight the code above, right click and click {{{Copy}}.
    35  1. Go [https://www.tutorialspoint.com/execute_python3_online.php here].  This site is our code editor, and its pretty cool.  You can put code in the center section, and click execute to run it.  The lower windo
    36 
    37 
    38 
    39 || || || ||
    40 || || || ||
    41 
    42  1. w shows the results.    
     35 1. Go [https://www.tutorialspoint.com/execute_python3_online.php here].  This site is our code editor, and its pretty cool.  You can put code in the center section, and click execute to run it.  The lower window shows the results.
    4336 1. Highlight all the code already in the center window.
    44  1. Right click and pick !{{{Paste}}}.  This should replace everything in the window with the contents above
     37 1. Right click and pick !{{{Paste}}}.  This should replace everything in the window with the contents above
    4538 1. Click !{{{Execute}}} right above the center window.
    4639
    47 (From now on, we'll call this step "''Go [https://www.tutorialspoint.com/execute_python3_online.php here] and run the code above''".  (Just come back to these steps  if you forget how to do this).  
     40(From now on, we'll call this step "''Go [https://www.tutorialspoint.com/execute_python3_online.php here] and run the code above''".  (Just come back to these steps  if you forget how to do this).
    4841
    4942After a bit, you'll  be rewarded with the message in the bottom window:
     
    6861print("Hope you had a good time")
    6962}}}
    70 Welcome to our store                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          We're here! Come on in                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Hope you had a good time  It should print "We're here! Come on in!".   If it doesn't ask for help.   Spacing matters in Python.
     63Welcome to our store                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          We're here! Come on in                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Hope you had a good time  It should print "We're here! Come on in!".   If it doesn't ask for help.   Spacing matters in Python.
    7164
    7265Now, change line one to Location='Poughkeepsie, NY'.  It should print "Go away, we're out eating tacos".   If I was in Poughkeepsie, I'd be out eating tacos too.  Ummm, tacos.