exam questions

Exam PCAP-31-03 All Questions

View all questions & answers for the PCAP-31-03 exam

Exam PCAP-31-03 topic 1 question 94 discussion

Actual exam question from Python Institute's PCAP-31-03
Question #: 94
Topic #: 1
[All PCAP-31-03 Questions]

Which one of the platform module functions should be used to determine the Python version?

  • A. platform.python_version()
  • B. platform.processor()
  • C. platform.uname()
  • D. platform.version()
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Abbribas
1 week, 6 days ago
Selected Answer: A
platform.python_version() specifically returns the Python interpreter's version string. platform.processor() provides CPU information. platform.uname() gives general system details. platform.version() returns the operating system's version, not Python's.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...