-
Learning about Software Coding Practices
Tuesday, July 28, 2020
So, this post is for mentioning the new things that I learned about coding principles in general in the Udacity's AWS Machine Learning Foundations Course. …more
-
Reading PYM book: Day 3
Friday, August 16, 2019
Data Structures Lists were discussed in more detail. Lists were used as stack using the pop() function and as queues using pop(index) function. List comprehension: concise way of creating lists Tuples: elements seperated by commas, enclosed within parentheses. Tuples are immutable. I didn’t know that we could create a tuple with a single value by adding a trailing comma. a = (123,)…more
-
Reading PYM book: Day 2
Tuesday, August 13, 2019
if-else Want to give your program the power of decision-making? Just add if-else statements to the code. This is where the identation practices come into play. (Wrong output despite the if-else statement can frustate you :P) if-else can be nested and can also be extended by elif statements (if you have more than 2 choices) Truth value testing: Another good practice if x: # code statements and not x == True:…more
-
Reading PYM book: Day 1
Monday, August 12, 2019
Recently, I was suggested to read the book Python for you and me, for learning Python programming language. …more