Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

How can i obtain the version of python you use ? ´python -V’. does not work nor ´—version’ ?

0 votes
asked Feb 21, 2020 by anonymous

1 Answer

0 votes
answered Feb 21, 2020 by anonymous

The answer is given by the following short script :

import sys

print(sys.version)

Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...