Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Email_Python
orders = "1;2;3;4;5;7;7;sdf;sdf;3;df;sdg;e5y;4yh;rth;" # вставлять сюда orders_mass = orders.split(';') i = 0 result = '' for value in orders_mass: if (i == 99): result += value + '\n' + '\n' i = 0 elif (value == orders_mass[-1]): result += value else: result += value + ';' i += 1 print(result)
run
|
edit
|
history
|
help
0
emoji replace
Assignment-3a
List comprehension to search and add
.....✓[Guess the number]®®®®®®®•$$$$✓.....
denemeler
Linked Lists in python
Questions
Python loop
list_copy_shallow_deep.py
abc1