Python Forum
Please help to me to find my mistake in code
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Please help to me to find my mistake in code
#1
I am just start to learn phyton and need your help, please

absmin (13, -5, 0.5)* 3/2.8
5% (2*2) //(min(3,0,-50) -10))
abs((71 - (2 * 2) % (max(3,0.89,24)*0.73))
I am suing this one and got SyntaxError: unexpected EOF while parsing
https://www.programiz.com/python-program...-compiler/
Reply
#2
What is that code supposed to do? Also please post code using Python tags to preserve any formatting.
You do some calculations and call some functions but don't do anything with the results. And, to my knowledge, there is no function absmin() in python unless you define such a function in your code.
Reply
#3
you need continuation '\' code on each line
and then indent code on continuation lines.
Also assign to a variable, print, or do something with results
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Question in this code, I input Key_word, it can not find although all data was exact Help me! duchien04x4 3 1,055 Aug-31-2023, 05:36 PM
Last Post: deanhystad
  [Solved] Please, help me find a simple mistake AlekseyPython 2 1,756 Jun-17-2021, 12:20 PM
Last Post: AlekseyPython
  [split] Could you please clarify where i did mistake also how run without admin right Abubakkar 1 1,797 Jun-14-2021, 09:32 AM
Last Post: Larz60+
  minor mistake in code for factorial spalisetty06 2 1,888 Aug-22-2020, 05:00 PM
Last Post: spalisetty06
  Simple mistake about for Nomatter 4 2,261 Jul-16-2020, 02:24 PM
Last Post: Nomatter
  Find the realpath for a symlinked .pth file in itself with python code. hongyi 7 3,088 Apr-27-2020, 05:30 AM
Last Post: Larz60+
  Install Mistake jlerette5 1 1,901 Feb-18-2020, 12:19 AM
Last Post: jefsummers
  What was my mistake in this Python code (easy)? voltman 4 3,458 Nov-19-2019, 09:58 PM
Last Post: snippsat
  countdown script not working..plz help what is mistake randyjack 1 2,119 Oct-28-2019, 06:57 AM
Last Post: perfringo
  Beginner mistake. bbweeg 1 2,045 Aug-17-2019, 07:27 AM
Last Post: perfringo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020