Machine Learning MCQS - QUESTION DETAILS

What is the file extension for Python scripts?
A. .py
B. .txt
C. .pyc
D. .exe

Python scripts typically have the extension .py.

Similar Questions

What will be the output of the code: print(len("Python"))?






Which of the following statements best describes Python's support for object-oriented programming (OOP)?






What is a key advantage of Python's high-level data structures like lists and dictionaries?






What will be the output of the code: print("Python"[::-1])?






What is the result of the expression 10 % 3?






Which of the following is NOT a recommended way to install Python on Windows?






What is the result of the expression 3 + 5 * 2?






Which of the following is NOT a valid variable name in Python?






What will be the output of the code: print("Python"[1:4])?






What is the purpose of the Python interactive shell (REPL)?