def print_first_word_after_space(string):
words = string.split() # 将字符串按空格分隔成字符串列表
if len(words) < 2: # 判断是否有空格和后续单词
print("No space or word found!")
else:
print(words[1]) # 输出第二个单词
# 测试示例
print_first_word_after_space("Hello world") # 输出 world
print_first_word_after_space(" Python is great!") # 输出 is
print_first_word_after_space("NoSpace") # 输出 No space or word found!