个性化问候 1.4
Python
# 示例代码
student_name = "张伟" # 学生可以修改为自己的名字
greeting = f"你好,{student_name}!欢迎来到Python世界!"
print(greeting)
# 输出结果:你好,张伟!欢迎来到Python世界!