Tuesday, April 3, 2018

Cumputing HW

What scripts did you use? 

When you run the script its going to what is your name and if you write something other than george it would say something like This is always printed.
name = input("What is your name? ")
if name == "George":
    print("Hello " + name + "!")
print("this is always printed")

What problems did you have? 
The big problem that I had was when i copied the whole thing and it said it was not working so when i asked i found out the i needed to put a gap after "George":.
How did you solve those problems?
i solved the problems by putting a gap after  "George": .
What did you learn about programming?
I learnt that you always need to be careful because if you dont do 1 space or anything like that you cant run the script so i learnt that programing needs to be perfect or it wont work.