Day 10 – Functions with Outputs
Day 10 Goals Functions with Outputs (return) Multiple return values Coding Exercise: leap year Docstrings Project: Calculator Coding Exercise: def is_leap_year(year): leap_year = True if year % 4 == 0:…
Day 10 Goals Functions with Outputs (return) Multiple return values Coding Exercise: leap year Docstrings Project: Calculator Coding Exercise: def is_leap_year(year): leap_year = True if year % 4 == 0:…
Write a text based Blackjack game. My Solution: import random # needed to draw a random item from the list from art import logo import os # sets up the…
Day 12 Goals Namespaces: Local vs Global Block Scope (python doesn't use it) Coding Exercise: Prime number checker Modifying Global Variables (Hint: don't) Constants and Global Scope Project: Number Guessing…
Given recent form and the pending threat of relegation to England’s third tier of football, I decided to write an email to the club and sent this on 25th February…
Bitlocker is not available on Windows 10 Home. I didn't know this, then I found that there was an alternative called, unremarkably, "Device Encryption". It is hardware dependant and it seems that a lot of hardware, even fairly new hardware, doesn't support all of the requirements.
My aim with this content is to produce something that will help me solidify the new knowledge from that course and write something that you can consume in small chunks.
A Word on Fonts Before we dive into the typing anything into the PowerShell console, a quick word on fonts and colours. There are a number of "special characters" that…
PowerShell - my spell checker keeps trying to correct my spelling to "Powers Hell" and for some this might be a more accurate description, but what is it's history?
A brief tutorial on aliases, modules and how to read and set environment variables using PowerShell
Cmdlet structure And so to a discussion on cmdlet structure. PowerShell use a verb noun structure which may be followed by some parameters. Parameters are not compulsory as we saw…