Given a string "Hello World", write a Python program to generate an encrypted version of the string.
Hello World
encrypted_string = ''
for c in 'Hello World':
 encrypted_string += chr(ord(c) + 3)

print(encrypted_string) # Khoor Zruog