Thursday, March 28, 2019

Create post shu san

Today was a HUGE progress day and we are cruising at approximately a 3.5. I added a lot of functions today that are all calling each other. Basically the purpose of these functions are to ask the user if they want to play the game, and if they want to play it what their question is. I had a couple of problems where I was stuck in an loop when confirming the users name. I was able to fix that by erasing an extra equals sign that I had. Another problem I am currently having is returning the users question. When the program runs it says that I am calling for something that has not been defined yet.

Wednesday, March 27, 2019

Create post 3

Okay so today we made some good progress but It doesn't really show on the program because I deleted everything I already had. I'm around around a low 2 or high 1. One of the problems I had today was when I was trying to create a while loop in a function that was calling for a name. I put response =  input() but I forgot to define what response is. Response is allowing the user to confirm their name for the program. If the user does not confirm the name with 'yes' the program will ask for another name. this will keep happening until the user confirms the name.

Tuesday, March 26, 2019

Create post numero dos

Alright well Since I didn't say it in my last blog I'll say it here. My program is a random answer giver. So the user will input a question and the computer will output a random answer. Today I wasn't very productive so I'm still at around a 1. All I did was research ways to start up my program, whether i want to start out with a function right now, or something more simple. That is the question.

Monday, March 25, 2019

Create post 1

Today was not a very productive day. All I did was call for a name for the user. To do this I am storing an input as a string. The only problem I had was in the of the sentences printing I forgot to press the space bar so it did not look good. Right now I'm probably still at about a 1 on my task. 

Monday, March 4, 2019

create practice

I made a program that creates a shopping list for the user. First it uses a function to get the users name. Then it gives them 4 options to choose from; see whats on the list, add to the list, remove from the list, or quit the program. In the video, I input a name, then begin adding items to the list. After I am done adding items to the list, I type quit and it reads off my final list.

This was a collaborative create task that we created amongst the whole class. At first we created a simple program that asked for items to add to the list and then could also state the items in the list. Then we started adding functions to get the name of the user and check if items were already in the list. Our next step was to add cprint so we could change the color of words. I changed my welcome message to cyan and the error messages to red. The final functions we added to our program was the remove function and a function that prints the items that were added to the list after the user types in quit.