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