Python Forum
Need help implementing an input with file operations
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help implementing an input with file operations
#4
(Jun-08-2022, 11:08 AM)Larz60+ Wrote: what is the purpose of lines 4 and 5?
Are you expecting "?s" or "'s" in the incoming string, and if so, why remove them.
Please post the complete assignment, verbatim.

Those were to sanitize the file because without them I get completely different answer for @spacex.
Full Assignment
Gribouillis write Jun-08-2022, 06:51 PM:
Edits reverted for the same reason as the original post.
Reply


Messages In This Thread
RE: Need help implementing an input with file operations - by Gaijin - Jun-08-2022, 05:50 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  how to add the user input from file into list wilson20 8 4,496 May-03-2020, 10:52 PM
Last Post: Larz60+
  Implementing spam detector code into a GUI nikolassj 2 2,297 Apr-22-2020, 07:49 PM
Last Post: nikolassj
  Order of operations for reassignment of a variable StillAnotherDave 1 1,772 Jan-21-2020, 12:20 PM
Last Post: buran
  I'm a bit confused with these boolean operations on integers goelraghavg 6 3,823 Aug-25-2018, 03:16 PM
Last Post: perfringo
  Arithmetic operations using lists yassine 2 2,500 May-02-2018, 06:20 PM
Last Post: j.crater
  Saving the results from an input in a txt. file pythonenthusiast 2 2,833 Nov-28-2017, 03:52 PM
Last Post: wavic
Question Implementing classes , RSS feed program Miraclefruit 1 3,617 Oct-16-2017, 04:11 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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