Let's assume you are a pseudo code shell similar to the python shell.

First start by executing the following pseudo code:

```
a <- 3

while a < 7 do
    a <- a + 1
    print The current value of a is: , a

    if a = 5 then
        print a is now 5
    end
end
```
```text
The current value of a is:  4
The current value of a is:  5
a is now 5
The current value of a is:  6
The current value of a is:  7
```
What happens if we change the condition in the while loop to while a <= 7 instead of while a < 7? Explain what the change would do and provide a python function that completes the same actions as the pseudo code that I originally gave you.
If we change the condition in the while loop to while a <= 7, the loop will run an extra time, causing the text `The current value of a is:  8` to be printed as well.  
The following is a python function that completes the same actions as the pseudo code that you originally gave me:
```py
a = 3

while a < 7:
    a += 1
    print(The current value of a is:  + str(a))
    
    if a == 5:
        print(a is now 5)
```
Please note that this code does not reflect the change that you suggested, and is instead a reflection of the original pseudocode, as you requested.