摘要:
#函数input(),程序暂停运行,等待用户输入一些文本,获取输入后,将其存储在一个变量中 message = input("tell me") print(message) tell mehi hi name = input("Please enter your name:") print("He 阅读全文
摘要:
#字典,访问字典中的值 alien_0 = {'color':'green','points':5} print(alien_0['color']) print(alien_0['points']) green 5 #将值存储在变量中new_points中 new_points = alien_0[ 阅读全文