Python Forum
Can u see this code and tell whats wrong with it?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can u see this code and tell whats wrong with it?
#11
i tried and i cant solve it
can u show me the error

(Apr-28-2020, 09:04 PM)Yoriz Wrote: You didn't fix the or statement, the first if will always be True.
You didn't fix the multiplication of a string.
Reply
#12
The fixes are already in posts of his thread.
Reply
#13
You can't say "if a == b or c", instead say "if a==b or a==c"
Reply
#14
i know Wink but i cant understand them Confused because i am noobie in python
i start learning it since 2 weeks ago


(Apr-28-2020, 09:37 PM)Yoriz Wrote: The fixes are already in posts of his thread.
Reply
#15
Look at my last post, apply that to lines 9,11, and 13.

I assume you have fixed the mismatched parentheses pointed out before.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  I have a code which is very simple but still I cannot detect what's wrong with it max22 1 439 Nov-07-2023, 04:32 PM
Last Post: snippsat
  Something wrong with my code FabianPruitt 5 787 Jul-03-2023, 10:55 PM
Last Post: Pedroski55
  Compiles Python code with no error but giving out no output - what's wrong with it? pythonflea 6 1,468 Mar-27-2023, 07:38 AM
Last Post: buran
  Video recording with Raspberry Pi - What´s wrong with my python code? Montezuma1502 3 1,179 Feb-24-2023, 06:14 PM
Last Post: deanhystad
  Why doesn't this code work? What is wrong with path? Melcu54 7 1,679 Jan-29-2023, 06:24 PM
Last Post: Melcu54
  Am I wrong or is Udemy wrong? String Slicing! Mavoz 3 2,385 Nov-05-2022, 11:33 AM
Last Post: Mavoz
  Wrong code in Python exercise MaartenRo 2 1,486 Jan-01-2022, 04:12 PM
Last Post: MaartenRo
  The code I have written removes the desired number of rows, but wrong rows Jdesi1983 0 1,599 Dec-08-2021, 04:42 AM
Last Post: Jdesi1983
  VS Code debugger using wrong Python environment topfox 0 2,428 Jun-09-2021, 10:01 AM
Last Post: topfox
  Whats wrong with the elif? inunanimous93 3 2,403 Nov-30-2020, 03:58 AM
Last Post: deanhystad

Forum Jump:

User Panel Messages

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