Which one of the platform module functions should be used to determine the underlying platform name?
Which one of the platform module functions should be used to determine the underlying platform name?
The function platform.platform() should be used to determine the underlying platform name. This function returns a single string identifying the underlying platform with as much useful information as possible, which typically includes the system, release, and version.
Answer D is correct. platform.platform() code: import platform print(platform.processor()) print(platform.uname()) print(platform.python_version()) print(platform.platform()) output: Intel64 Family 6 Model 140 Stepping 1, GenuineIntel uname_result(system='Windows', node='xxx', release='11', version='10.0.22621', machine='AMD64') 3.12.3 Windows-11-10.0.22621-SP0
is correct
D is the correct