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.07s 14204KB
stdin
你是谁?
天气如何?
心情怎么样?
stdout
我的名字叫xiaoming,我今年18岁
XIAOMING
8