trekhleb / learn-python

📚 Playground and cheatsheet for learning Python. Collection of Python scripts that are split by topics and contain code examples with explanations.
MIT License
16.34k stars 2.67k forks source link

Adding a test function for user input #40

Closed ghost closed 3 years ago

ghost commented 3 years ago

The small test_input function lets a user type in his name into the terminal. The terminal will then display a welcome message based on the user's name.

I added the folder user_input to /src and adapted the README.md.

trekhleb commented 3 years ago

Thanks for the PR!