• Skip to primary navigation
  • Skip to main content

DebKR

To the Stars

  • About
  • Blog
  • Contact

phrase

Coding 101  (fun with lists)

Coding 101 (fun with lists)

18/04/2016 By debkr

coding-101-fun-with-listsThis is me just mucking about with lists, testing out what I’ve learnt so far and applying it to little problems I might want to solve. I find it the best way to learn, and it’s more fun than reading books!

Project 1: Building a tagging engine (Mon 18Apr16)

1. This snippet splits each line into a list, creates an iteration variable to loop through all words in the line list and print them out. I add various print statements at suitable points (both variable print statements and descriptive text statements) to help me test the program structure, to make sure it’s doing what I want and expect it to at each point through the loop. [Read more…] about Coding 101 (fun with lists)

Filed Under: Blog, Personalised Training Plan, Programming, Programming Projects Tagged With: add, append(), coding101, continue, count, file, find, frequency, iteration, len(), line, list, loop, phrase, print, program, range, split(), test, text, variable

Copyright © 2016–2025 · Powered by WordPress On Genesis Framework · Log in

  • Writing
  • Developing
  • Consulting