Python Forum
Building first python program. Need a little guidance.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Building first python program. Need a little guidance.
#5
The code I currently have is your suggestion which displays the entire file.

Suppose I had a file with questions and answers separated by two tabs:

Question 1 <tab> <tab> Answer 1
Question 2 <tab> <tab> Answer 2
etc..

I'd like the output to just display Questions 1, then wait for me to press enter and then display Answer 1.
Then when I press enter again, Question 2 is displayed.
Reply


Messages In This Thread
RE: Building first python program. Need a little guidance. - by Chrislw324 - Oct-25-2018, 01:20 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Building a DoublyLinkedList in Python - - append method Drone4four 2 473 Jan-08-2024, 01:27 PM
Last Post: Drone4four
  building app in XCODE with python phantom115 2 946 Aug-02-2023, 11:56 AM
Last Post: phantom115
  Docker -building a python image saisankalpj 5 4,106 Jul-13-2022, 12:53 PM
Last Post: saisankalpj
  Building python (3.9.5) with different libexpat version (2.4.6) raghupcr 0 1,346 Feb-25-2022, 11:29 AM
Last Post: raghupcr
  Need some coding guidance for a task peny 5 2,251 Sep-27-2021, 02:02 PM
Last Post: peny
  Your Guidance caslor 1 2,179 Mar-28-2021, 09:34 PM
Last Post: Larz60+
  Solaris 10 building Python 3.8.3 problems. munocat 0 1,559 May-26-2020, 01:05 AM
Last Post: munocat
  Noob needing guidance.... bako 0 1,884 Mar-29-2020, 06:55 PM
Last Post: bako
  New Python learner looking for key word guidance naga 2 1,783 Nov-20-2019, 01:09 PM
Last Post: ChislaineWijdeven
  General Guidance in Project JMiller184 1 3,061 Oct-24-2017, 10:27 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