# This program forces you to type your name
name = ''
while name != 'your name':
    print('Please type your name.')
    name = input()
print('Thank you!')

@@ -1,6 +1,18 @@
-# 
+%22%22%22Your name%0A%0A
 This
@@ -49,16 +49,39 @@
 ur name%0A
+%0A%22%22%22%0A%0A%0Adef main():%0A    
 name = '
@@ -82,16 +82,20 @@
 me = ''%0A
+    
 while na
@@ -113,16 +113,20 @@
  name':%0A
+    
     prin
@@ -153,24 +153,28 @@
 name.')%0A    
+ 
+   
 name = input
@@ -176,16 +176,20 @@
 input()%0A
+    
 print('T
@@ -200,8 +200,139 @@
  you!')%0A
+%0A%0A# If P04_yourName.py is run (instead of imported as a module), call%0A# the main() function:%0Aif __name__ == '__main__':%0A    main()%0A

Update P04_yourName.py added docstring and wrapped in main() function