File Extension Checker
Read a filename. If it ends with .py, print Python file. If it ends with .txt, print Text file. Otherwise, print Unknown file type.
Example:
Input:
text
script.py
Output:
text
Python file
💡 Hints
?Hint 1
🔒Hint 2
🔒Hint 3
python