一.输入函数input()
这个就是直接使用input()就行不需要导入其他的库函数
例如:

二.分割函数split("")
这个也不需要导入什么库
例如这个:
点击查看代码
str1=input()
#使用split()将字符串生成列表
list1=str1.split(" ")
这个就是直接使用input()就行不需要导入其他的库函数
例如:

这个也不需要导入什么库
例如这个:
str1=input()
#使用split()将字符串生成列表
list1=str1.split(" ")