【六】输入输出(2)

发布时间 2023-06-01 20:35:53作者: Chimengmeng

【六】输入输出(2)

  • print() : 打印输出

    print("hello", "world", sep="*", end="@") 
    # sep:打印出的内容用什么连接
    # end:以什么为结尾
    # hello*world@
    
  • input() : 获取用户输出的内容