Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- input_string = str.split(input(),";")
- output = "На занятии присутствовало " + str(len(input_string)) + " человек: "
- i = 0
- for s in input_string:
- output += s
- i += 1
- if (i < len(input_string)):
- output += ", "
- print(output)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement