79809444

Date: 2025-11-04 22:26:05
Score: 2
Natty:
Report link

<Ctrl><Shift>R once I highlighted ONLY the commands that I wanted to turn into a function.

My original code block that I wanted to refactor began with a comment and the last line had a comment at the end.

# this code does this
print(a)
print(b) #another comment here.

Refactoring only worked when I ONLY highlighted the print commands.
# this code does this
print(a)
print(b)
#another comment here.

Reasons:
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: EnrightMcC