fork download
  1. username="xiaomeng"
  2. age=18
  3. hello=f"我的名字叫{username},今年{age}岁"
  4. print(hello)
  5. print(username.upper())
  6. print(len(username))
Success #stdin #stdout 0.08s 13904KB
stdin
Standard input is empty
stdout
我的名字叫xiaomeng,今年18岁
XIAOMENG
8