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