Máxima code example
Sure, here is an example of a simple Python code that finds the maximum number in a list:
```python
def find_max(numbers):
max_num = numbers[0]
for num in numbers:
if num > max_num:
max_num = num
return max_num
numbers = [3, 7, 2, 9, 5]
max_number = find_max(numbers)
print("The maximum number is:", max_number)
```
In this code, the `find_max` function takes a list of numbers as input and iterates through each number to find the maximum number. Finally, it returns the maximum number found in the list.