<filename>Emmanuel ANENE/Phase 1/Python Basic 1/Day9/task7.py
'''
Write a Python program to test whether the system is a big-endian platform or little-endian platform
'''

import sys

if sys.byteorder == "little":
    print("Little-endian platform")
else:
    print("Big-endian platform")
<filename>Emmanuel ANENE/Phase 1/Python Basic 1/Day9/task7.py
'''
Write a Python program to test whether the system is a big-endian platform or little-endian platform
'''

import sys

if sys.byteorder == "little":
    print("Little-endian platform")
else:
    print("Big-endian platform")
Write a Python program to test whether the system is a big-endian platform or little-endian platform