Coding Task: 02.04 TokTik Login

In this exercise you will be using the input() to let the user type in information. However, we won’t be checking what they type in just yet (that’s for a later lesson!)

Your Task

In the editor below, fill in the blanks so that the program simulates a login flow. It should display some text, allow the user to type in their password, and then display some more text.

Python Reference Sheet

Remember to use the Python reference sheet to help you with your code! Click on one of the buttons below:

Requirements

  • The program should perform the following steps:
    • Display the text: Welcome to TokTik!
    • Display the text: Enter your password:
    • Let the user type in a password and wait for the user to press Enter
    • (it doesn’t matter what they type in)
    • Display the text: Your profile:
    • Display the text: Following: 100
    • Display the text: Followers: 1k
  • The program should run without any errors.

Example

Below is an interactive demo of how the program should run. Play around with the program to see how your program should also behave.

Code Editor

Scroll to Top
Scroll to Top