Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Email_Python
orders = "" # вставлять сюда 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
Q1
Pytest
Itc
linked_lists_2+decisions
E
check this converting week number (int) into week day name (string) [solved]
947
binary search
Code1
Converion of dictionary to list of tuples (Stackoverflow problem)