fork(1) download
  1. course = "Python Programming"
  2. score = 95.5
  3. sentence = f"{course}课程的成绩是{score}分"
  4. print(sentence)
  5. print(type(score))
  6.  
Success #stdin #stdout 0.07s 14196KB
stdin
汤旭
stdout
Python Programming课程的成绩是95.5分
<class 'float'>