a = int (input ('1. Celsius -> Fahrenheit\n2. Fahrenheit -> Celsius')
if a == 1:
c = int(input('sub').'))
changing = c *1.8 +32
print (chaning)
else:
f = int(input()'Fahrenheit. : '))
changing1 = (f-32)/1.8
print (chainging1)
I wrote the code like this, but the second line if a==1:
keeps making errors in the semicolon, what's the problem??
The front row int(input(blah)
← It's because there's one missing bracket to close.
If you use a code sniffing editor like VS Code or Sublime Text, you won't be able to meet this.
PS. The line variable 4 and the line variable 5 do not fit, and the line variable 9 and 10 do not fit. Check for typos.
774 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
555 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
554 Who developed the "avformat-59.dll" that comes with FFmpeg?
553 GDB gets version error when attempting to debug with the Presense SDK (IDE)
© 2024 OneMinuteCode. All rights reserved.