Python Taskbook Level 7.2

Задание 1

Given a text file, get the number of letters in it (i.e. without spaces, punctuation marks, etc.).

Задание 2

Create a text file named with the current date in the format year-month-day.

Задание 3

The file contains numbers separated by commas. Get the maximum of these numbers.

Задание 4

Given a text file, get a list of all its lines.

Задание 5

Write a program that will generate the following list:

python[
  ['x'],
  ['x', 'x'],
  ['x', 'x', 'x'],
  ['x', 'x', 'x', 'x'],
  ['x', 'x', 'x', 'x', 'x'],
]