Python Forum
Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
question on PRINT
#2
print (left-hand side) returns None. Right-hand side repr returns string literal. This expression will never be True. Explain what you actually want to achieve.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
question on PRINT - by PEIXI - Oct-13-2018, 06:11 PM
RE: question on PRINT - by buran - Oct-13-2018, 06:16 PM
RE: question on PRINT - by PEIXI - Oct-13-2018, 06:21 PM
RE: question on PRINT - by buran - Oct-13-2018, 06:37 PM
RE: question on PRINT - by PEIXI - Oct-13-2018, 06:46 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Question: print issue python202209 3 1,009 Sep-18-2022, 11:51 AM
Last Post: jefsummers
Exclamation question about input, while loop, then print jamie_01 5 2,751 Sep-30-2021, 12:46 PM
Last Post: Underscore
  question about python3 print function jamie_01 5 2,730 May-25-2020, 09:58 AM
Last Post: pyzyx3qwerty
  Question on `print f.read()` behavior pythonjohn 2 4,499 Nov-07-2016, 10:18 PM
Last Post: pythonjohn

Forum Jump:

User Panel Messages

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