.It says invalid syntax on the ' around the docx.
y = input ("lektion :") 
print(y) 
document.save(y.'docx')
.It says invalid syntax on the ' around the docx.
y = input ("lektion :") 
print(y) 
document.save(y.'docx')
 
    
     
    
    Use this:
y = input ("lektion :") 
print(y) 
document.save(y + 'docx')
 
    
    