Drop links or images here to add them to the editor.

In a make task you use the skills you have learned to create a program from scratch. There is no starter code: you begin with an empty editor.

An online school portal only accepts passwords that are long enough. Your program checks one.

Your task

Write a program that:

Every character counts towards the length, spaces and punctuation included.

The output

The question first, worded exactly like this:

Enter password:

Then one line reading either TRUE or FALSE, in capital letters.

Example

Input:

password

Output:

Enter password:
TRUE

Input:

secret1

Output:

Enter password:
FALSE

password is exactly 8 characters long, which is long enough. secret1 is 7, which is one short.

Ask the question with its own print, and read the answer with a bare input() on the next line, rather than passing the question to input(...). The question is part of the output that is checked here, so its spelling, capital letters and punctuation count.

Help! My code doesn't work!

Make sure that you check for the following things:

  • The length comes from len(password), not from the password itself.
  • “8 or more” includes 8, so check which comparison operator you used. Test your program with a password of exactly 8 characters.
  • TRUE and FALSE are printed as text, in speech marks and in capitals. Python’s own True and False are spelled differently.
  • The password is not converted to a number: a password can contain letters.