hw_w01_d01_submission Lab work and Homework

w01/d01

Challenges:
I easily understood all parts of the homework except for the last part:

number_array.each { |current_index| puts get_character(message_string, current_index) }

I had to look at the method above:

def get_character(full_string, index)
  full_string[index]
end

I began to understand that "full_string" and "message_string"  was an array and that "current_index" was the index that selected a character from the array.
______________________________________________________
w01 d02
Reflections on the homework:
I noticed that I could not execute a different method the second time around. e.g. if I executed the "basic_calc" method, I cannot select "quit" or the "advanced_calc" method. This is because the "menu" method is nested within the basic_calc" or "advanced_calc" method.

I spent a few hours trying to figure out how to make it so that it would not be stuck in one method, but I had no success in rectifying the problem. For now, the calculator can only run one method. It cannot fully reset itself so that I can choose a different method. e.g stuck in the "basic_calc" method and cannot choose the "advanced_calc" method even when it gives me the option to do so.