EMT 1111 Labs

  • View document Mole Mash   Uploaded by Sandy Marte on May 13, 2013
    Description: making a mole move from places to places on a canvas screen it was hard work but the game is really fun
  • View document Paint job   Uploaded by Sandy Marte on April 29, 2013
    Description: so funny
  • View document Lab 5: HelloPurr   Uploaded by Sandy Marte on April 29, 2013
    Description: create you own cat and add didint features. i love this class its so fun and only if you know what you doing. Looking forward to complete my fully function application.
  • View document Lab 4   Uploaded by Sandy Marte on April 29, 2013
    Description: The following example shows how to use concatenation (string addition) and a for loop to generate an abecedarian series (that is, in alphabetical order). In Robert McCloskey’s book Make Way for Ducklings, the names of the ducklings are Jack, Kack, Lack, Mack, Nack, Ouack, Pack, and Quack. This loop outputs these names in order:<br /> <br /> prefixes = 'JKLMNOPQ'<br /> suffix = 'ack'<br /> <br /> for letter in prefixes:<br /> print letter + suffix<br /> The output is:<br /> <br /> Jack<br /> Kack<br /> Lack<br /> Mack<br /> Nack<br /> Oack<br /> Pack<br /> <br />
  • View document Lab 2   Uploaded by Sandy Marte on April 29, 2013
    Description: Write a program that asks the user to enter two integer numbers x and y. The program should perform the following operations and display the results back:<br /> 1- The sum x + y<br /> 2- The difference x – y<br /> 3- The product x * y<br /> 4- The quotient x/y<br /> 5- The remainder x%y<br /> 6- Whether x is less than, equal, or greater than y<br /> <br /> After displaying the results, the program should ask again for two integer numbers and repeat the operations for the new values entered. If either the value of x or y entered by the user is 0 (zero), the program should finish<br />
  • View document Lab 1 Exercise 3   Uploaded by Sandy Marte on April 29, 2013
  • View document Lab 1 Exercise 2   Uploaded by Sandy Marte on April 29, 2013
  • View document Lab 0   Uploaded by Sandy Marte on April 29, 2013
    Description: the example of lab 0