+ 3
First of all, you wrote the code wrong. It should be print(("hey".upper()).lower()).
Second, it does the following:
1. It first makes the word "hey" UPPERCASE because the "hey".upper() is surrounded by the parentheses.
2. It then makes the resulting word "HEY" lowercase so it prints "hey"