I saw a python example today and it used -> for example this was what I saw:
spam = None
bacon = 42
def monty_python(a:spam,b:bacon) -> "different:":
pass
What is that code doing? I'm not quite sure I've never seen code like that I don't really get what
a:spam,b:bacon
is doing either, can someone explain this for me? I googled, "what does -> do in python" but no good searches came up that I found.