Skip to main content

Posts

Showing posts from March, 2018

Week 4

This week I persisted through the grok tutorials and overcame the problem of the dictionaries through the use of a dictionary and a list so that I could append items inputted by the user. The next tutorial was quite similar to the previous one with some slight changes, so I created the program like the previous one with the changes that needed to be in place for this challenge as seen below. Next week I plan to continue working through these tutorials hoping to start on the assessment task in a few weeks, by next week I aim to have completed at least one more set of tutorials further increasing my knowledge to code.

Week 3

This week I continued working on the series of grok tutorials, I am currently stuck on the car colours exercise in the introduction to programming 2. I'm having trouble formulating a dictionary of the different cars after each input is put in, and how to condense it into a dictionary which is made up of a car colour and its corresponding number based on how many cars were of that colour. I may be able to write the program using lists, but dictionaries seem to be the suggested and possibly more efficient way to do it. As for the quiz assignment, I am still yet to make a start on it as I am trying to complete most of the grok tutorials to be able to write the program the best and most efficient way possible as opposed to writing it with the basic understanding I currently have. Then either leaving it like that and getting fewer marks due to it being inefficient or having to change the program every time I learned something new that would have been a better more efficient way to write...

Week 2

This week the focus was to complete the first set of Grok tutorials, which I completed. in the final challenege of grok 8 I encountered a problem in attempting to split a list into seperate lists of individual characters and then sort them in alphabetical order, I had a problem with it not splitting properly and then therefore not being able to sort it, I tried using different combinations of the list command and .split, but I wasnt able to get it to work, I used a python visualiser to help me see what my program was doing and where it was going wrong, from there I was able to amend the problem with the right commands. following that I continued onto the next set of grok tutorials which I encountered very little trouble in until the 'robots in a line' challenge in which I am still currently stuck on working out how to read different cased characters in the one string, I hope to have this amended and to be up to or around the third tutorial by next week. I have not yet sta...

Week 1

For the first week I have been continuing through grok tutorials and learning about python, I had some trouble in the exercise in module 8 where I had to count the number of unique names given, I had no problem with the majority of the exercise but I was unsure about how to recognise strings that are the same and not include them in the end I realised and made use of an in loop to help with the identification of similar strings. if word == '': break if not(word in words): words.append(word). this allowed me to solve the problem. I managed to get through the previous challenges with relative ease. I have almost completed the beginner grok course and will move onto the intermediate section this week considering all goes to plan. once starting on the intermediate section of the grok tutorials I will start planning the assessment task in this upcoming week through working out the processes to create the program as well as tackling any issues I might be unsure about.