Changes between Version 29 and Version 30 of ControlSystems/SoftwareTeam/IntroToPython


Ignore:
Timestamp:
Sep 4, 2017, 6:05:54 PM (8 years ago)
Author:
cdelgigante
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ControlSystems/SoftwareTeam/IntroToPython

    v29 v30  
    144144
    145145{{{
    146 x=0
    147 while (x<100):
    148    x=x+1
    149 print(x)
     146count = 0
     147while (count < 9):
     148   print ("The count is:", count)
     149   count = count + 1
     150   count = count + 1
     151
     152print("Good bye!")
    150153}}}
     154
     155''Go [https://www.tutorialspoint.com/execute_python3_online.php here] and run the code above.''  It should print
     156
     157{{{
     158}}}
     159
     160I'm tired, so Im not going to tell you the answer for this one.   You should be seeing a pattern by now.   You tell me---What should it print?     
    151161
    152162----