Normal Mode
d$
Delete to end of line
d$ or D
1
2
3
4
def greet(name):
msg = "hello, " + name
print(msg)
return msg
-- NORMAL --
Free practice — click the editor, then type. Try
d$ yourself.Delete to end of line
d$ yourself.