arr = input().split()
M = int(arr)
N = int(arr)
X = 1
elevator = 1
start_n = 0
while start_n != N:
if X < M:
X += 1
start_n += 1
elevator += 1
X = 1
How can I make it faster?
It looks like NYPC question number three
If so, please drop the article.
9 Find the intersection of two lists
7 How do I add index rows in Python beginner Pandas?
9 I have a question for Python restrictors.
13 If parameter X determines the return value Y, which function name would be the most appropriate?
11 I have a question about the pointer! *z = ~(hap & 0xFF); What does ~ mean in?
© 2022 pinfo. All rights reserved.