Python Forum
Thread Rating:
  • 3 Vote(s) - 2.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
multiple inputs
#1
x=input("choose number: 1,2,3,4\n")
if (x=="1"):
    y=input("choose letter: a,b,c,d\n") 
    if (y=="a"):
        print "hello"
can some one tell me what i am doing wrong here ? Undecided
Reply


Messages In This Thread
multiple inputs - by newbee - May-20-2018, 12:13 AM
RE: multiple inputs - by micseydel - May-20-2018, 12:24 AM
RE: multiple inputs - by newbee - May-20-2018, 12:55 AM
RE: multiple inputs - by snippsat - May-20-2018, 01:20 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Multiple variable inputs when only one is called for ChrisDall 2 488 Oct-20-2023, 07:43 PM
Last Post: deanhystad
Lightbulb Multiple inputs on the same line (beginner) dementshuk 9 2,775 Sep-03-2021, 02:21 PM
Last Post: dementshuk
  Generate Multiple sql Files With csv inputs vkomarag 13 4,200 Aug-20-2021, 07:03 PM
Last Post: vkomarag
  Help with applying this instrument monitoring code to multiple inputs. Kid_Meier 1 2,089 Mar-04-2020, 12:01 PM
Last Post: Kid_Meier
  Problem with accepting multiple string inputs Ryan_Todd 5 2,927 Jan-22-2020, 06:12 PM
Last Post: buran
  Watching for inputs from multiple sources concurrently anakaine 4 2,808 Mar-03-2019, 07:38 PM
Last Post: woooee

Forum Jump:

User Panel Messages

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