The words Under construction in black text on a yellow background with diagonal black stipes surrounding it
I'm in the process of moving my site. It's still a work in progress. Please excuse the mess and broken links.

Alphabet Websites - One Letter Per Site

TODO: Pull subtitle into page object

## Lowercase Letters

This code can be used when you only need a sub-set of letters (e.g "a" thru "e"):

code_start_default_section code_end_default_section

### How It Works -

Beyond List Comprehensions (which I'm still getting my head around), there are two keys to making this work:

1. `ord()` which turns a character into a number, and 2. `chr()` which turns a number into a character

TKTKTKT

Debugging Stuff

I'm moving stuff around right now. All this below is helping me figure out where to put stuff

        -- title

Alphabet Websites - One Letter Per Site

-- p

## Lowercase Letters

-- p

This code can be used when you only need a sub-set of letters (e.g "a" thru "e"):

-- code/
-- python

letters_lowercase = [chr(c) for c in range(ord('a'), ord('a') + 5 )]

print(letters_lowercase)

-- /code

-- p

Outputs:

-- code/

['a', 'b', 'c', 'd', 'e']

-- /code

-- p

## Uppercase Letters

-- code/
-- python

letters_lowercase = [chr(c) for c in range(ord('A'), ord('A') + 5 )]

print(letters_lowercase)

-- /code

-- p

Which outputs:

-- code/

['A', 'B', 'C', 'D', 'E']

-- /code

-- p

### How It Works -

-- p

Beyond List Comprehensions (which I'm still getting my head around), there are two keys to making this work:

-- p

1. `ord()` which turns a character into a number, and
2. `chr()` which turns a number into a character

-- p

TKTKTKT


-- categories
-- Python

-- metadata
-- date: 2022-03-07 12:48:08
-- id: 264g8rgi
-- status: scratch
-- type: post
-- SCRUBBED_NEO: false
-- site: aws