examples/sleepy_multiply.py
- 743 bytes
- Python
- View raw
1#!/usr/bin/env python
2"""
3Multiply two numbers together, but with a delay before returning.
4This mimics a computation that has to be fetched from a remote server.
6This example also shows how to handle functions that take multiple inputs.
7"""
15 """
16 Multiply two numbers together, but with a random delay.
17 """
32 ]