Below is a simple example of a CGI (Common Gateway Interface) script written in Python. This script captures user input from an HTML form and then displays the result back to the user.
### Basic CGI Script Example (Python)
1. **Create the HTML Form**:
Before implementing the CGI script, we need an HTML form to collect user input. Save this HTML code as `form.html`.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">