import sys
from ctypes import c_ubyte


def platform_is_linux():
    # type: () -> bool
    """Return True if current platform is Linux or Mac OS."""
    return sys.platform.startswith('linux') or \
        sys.platform.startswith('darwin')


def platform_is_windows():
    # type: () -> bool
    """Return True if current platform is Windows."""
    return sys.platform == 'win32'

import sys
from ctypes import c_ubyte


def platform_is_linux():
    # type: () -> bool
    """Return True if current platform is Linux or Mac OS."""
    return sys.platform.startswith('linux') or \
        sys.platform.startswith('darwin')


def platform_is_windows():
    # type: () -> bool
    """Return True if current platform is Windows."""
    # cli being .NET (IronPython)
    return sys.platform == 'win32' or sys.platform == 'cli'

Add 'cli' as being a platform recognized as a Windows platform.
Add 'cli' as being a platform recognized as a Windows platform.

This will be the case when using e.g. IronPython (.NET).

  import sys
  from ctypes import c_ubyte
  
  
  def platform_is_linux():
      # type: () -> bool
      """Return True if current platform is Linux or Mac OS."""
      return sys.platform.startswith('linux') or \
          sys.platform.startswith('darwin')
  
  
  def platform_is_windows():
      # type: () -> bool
      """Return True if current platform is Windows."""
-     return sys.platform == 'win32'
+     # cli being .NET (IronPython)
+     return sys.platform == 'win32' or sys.platform == 'cli'
  
Add 'cli' as being a platform recognized as a Windows platform.
## Code Before:
import sys
from ctypes import c_ubyte


def platform_is_linux():
    # type: () -> bool
    """Return True if current platform is Linux or Mac OS."""
    return sys.platform.startswith('linux') or \
        sys.platform.startswith('darwin')


def platform_is_windows():
    # type: () -> bool
    """Return True if current platform is Windows."""
    return sys.platform == 'win32'

## Instruction:
Add 'cli' as being a platform recognized as a Windows platform.
## Code After:
import sys
from ctypes import c_ubyte


def platform_is_linux():
    # type: () -> bool
    """Return True if current platform is Linux or Mac OS."""
    return sys.platform.startswith('linux') or \
        sys.platform.startswith('darwin')


def platform_is_windows():
    # type: () -> bool
    """Return True if current platform is Windows."""
    # cli being .NET (IronPython)
    return sys.platform == 'win32' or sys.platform == 'cli'
