I learned in Python that the map function is saved as a list. If so, I want to print out elements from the list created by the map function, but I get an error. Is there any other way I don't know?
num, a = map(int, input().split())
inp = map(int, input().split())
for i in range(1,num+1):
Ifinf[i-1] < a: There is an error in the #inp part...
print(a)
inp = list(map(int, input().split()))
From Python3, the return type of map is not list.
578 Understanding How to Configure Google API Key
573 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
613 GDB gets version error when attempting to debug with the Presense SDK (IDE)
574 Who developed the "avformat-59.dll" that comes with FFmpeg?
916 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
© 2024 OneMinuteCode. All rights reserved.