What will be the output of the following Python code, if the code is run on Windows operating system?
Posted: Wed Jul 13, 2022 7:45 pm
import sys
if sys.platform[:2]== 'wi':
print("Hello")
a) Error
b) Hello
c) No output
d) Junk value
if sys.platform[:2]== 'wi':
print("Hello")
a) Error
b) Hello
c) No output
d) Junk value