x=int (input: )
y=int (input: )
n=0
while x>=y:
x=x-y
n=n+1
print("Part =",n"Remaining =",x)
I made a program to divide the task into tasks and save the shares and the rest with repetitive sentences without the remaining operators, but a syntax error appears in the first line. I wonder which part is wrong.
python
x=int("subject :")
y=int("input :")
A string must be entered within the input. It's because there's no quotation mark in the code you wrote
858 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
589 GDB gets version error when attempting to debug with the Presense SDK (IDE)
563 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
562 Who developed the "avformat-59.dll" that comes with FFmpeg?
© 2024 OneMinuteCode. All rights reserved.