Author Archives: Mr. M

Your First Git – Tips


  1. setting up your name and email:
  2.  bat file to automatically change directory and run git status

Create a new  text file and add the code below. Then rename the file  so that is a batch file. (ie. that its file extension is “.bat” instead of .txt) .


Microbit Firia Lab Concepts

  1. Unit 1
    1. Datatypes (scroll vs show())
  2. Unit 2
    1. Variables (delay= 1000)
    2. Roman Translator Standalone Assign
  3. Unit 3
    1. while loop
  4. Unit 4
    1. break statement
  5. Unit 5
    1. Intro to lists
  6. Unit 6
    1. Lists
    2. len function
    3. random index from list (Answer Bot)
  7. Unit 7
    1. Probability Lab
  8. Unit 8
    1. def() using functions
  9. Unit 9

Guess Animal’s Weight – Using a Loop

Write a program in which the use is asked to guess the weight of an animal.  Allow the user 5 guesses to figure the weight of the animal.

Finished Project :


  1. Use a while-command-alice loop to keep track of the number of guesses and and the world function
  2.   use a < b  to keep track of how many times the user guessed the weight.alessthanb-alice-world
  3. If they guess the correct number then