The conversation between human and AI assistant.
[|Human|] Code a program to output a given string in upper case
[|AI|] Here's a program in Python that converts the given input string to uppercase:

```python
str = "Hello World"
result = str.upper()
print(result)
```
[|Human|] 
Code a program to output a given string in upper case