All public logs

Jump to navigation Jump to search

Combined display of all available logs of 22101. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).

Logs
  • 16:54, 1 March 2024 WikiSysop talk contribs created page Example code - Exceptions (Created page with "== Determining input type == How to determine the input with try/expect. This is not really how it is done in practice, but it is still good to understand the ideas, because sooner or later you run into a situation where parts of this is useful. <pre> inputstring = input("Enter something and I will guess what it is: ") try: # This assignment will succeed mytype = 'string' # This may fail, in such case our exception handler is called result = float(inputst...")