﻿from functools import singledispatch

@singledispatch
def display(value):
    print(value)

@display.register
def _(value: int):
    print("Integer:", value)

@display.register
def _(value: str):
    print("String:", value)

display(10)
display("Lazy")