splitting strings in python

47

cmd = input('Enter command:')
dictionary = cmd.split(' ')[1]
text = cmd.split(' ')[2:]

Comments

Submit
0 Comments