Monday, October 31, 2016

Blog 21

Write a python program (using an IF-THEN-ELSE) that prints "I'm going to eat lunch inside!" if it is
raining, and "I'm going to eat lunch outside!" if it
is not raining. Raining should be a Boolean variable and try to do it in 5 lines.

Thursday, October 27, 2016

Blog 20

Write the pseudo code for the program description below. At least 3 sentences.

The program draws a square where the user inputs the length of the sides of the square.

Monday, October 24, 2016

Blog 19

How many possible values are there for a boolean variable? and what are the values?

Tuesday, October 18, 2016

Blog 18


 Write 2 lines of Comments for the code below.


number = int(input("Enter a number: "))
print "Five times that number is: " + str(number * 5)

Blog 17

What is the answer using python rules of operators?

6-3**2/(1+1)

Sunday, October 16, 2016

Wednesday, October 12, 2016

Wednesday, October 5, 2016

Blog 14

Look over the program below and tell me what the output would be.

x=2
y=2
print x+y

blog 13 real

Name the three things a variable has

1
2
3

Tuesday, October 4, 2016

Blog 12

Look at the code below. What is the error?

Print "Hi there!"
Print My favorite color is magenta.