Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
input function question
#1
I am going crazy and spent hours on this.
it seems my input function does not work.

I have a two line program

x = input()
print(x)
or

x = ('input something')
print(x)
and the program hangs on two seperate computers and prints nothing
What is going on here?

I feel really stupid.
Yoriz write Jan-17-2022, 07:19 PM:
Please post all code, output and errors (in their entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.
Reply


Messages In This Thread
input function question - by barryjo - Jan-17-2022, 04:11 PM
RE: input function question - by deanhystad - Jan-17-2022, 04:24 PM
RE: input function question - by barryjo - Jan-17-2022, 04:33 PM
RE: input function question - by jefsummers - Jan-17-2022, 04:34 PM
RE: input function question - by barryjo - Jan-17-2022, 04:40 PM
RE: input function question - by BashBedlam - Jan-17-2022, 04:43 PM
RE: input function question - by barryjo - Jan-17-2022, 04:57 PM
RE: input function question - by deanhystad - Jan-17-2022, 06:26 PM
RE: input function question - by barryjo - Jan-17-2022, 07:12 PM
RE: input function question - by deanhystad - Jan-17-2022, 07:32 PM
RE: input function question - by barryjo - Jan-17-2022, 10:40 PM
RE: input function question - by deanhystad - Jan-17-2022, 11:25 PM
RE: input function question - by barryjo - Jan-18-2022, 12:11 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  difference between forms of input a list to function akbarza 6 1,046 Feb-21-2024, 08:02 PM
Last Post: bterwijn
  Question on dir() function Soorya25 1 1,158 Jan-16-2023, 09:33 PM
Last Post: deanhystad
Information How to take url in telegram bot user input and put it as an argument in a function? askfriends 0 1,108 Dec-25-2022, 03:00 PM
Last Post: askfriends
  Function not scriptable: Noob question kaega2 3 1,194 Aug-21-2022, 04:37 PM
Last Post: kaega2
  Showing an empty chart, then input data via function kgall89 0 986 Jun-02-2022, 01:53 AM
Last Post: kgall89
  function with 'self' input parameter errors out with and without 'self' called dford 12 3,148 Jan-15-2022, 06:07 PM
Last Post: deanhystad
Big Grin General programming question (input string)[ jamie_01 2 1,611 Jan-08-2022, 12:59 AM
Last Post: BashBedlam
  Problem with input after function luilong 10 4,118 Dec-04-2021, 12:16 AM
Last Post: luilong
  Exit function from nested function based on user input Turtle 5 2,931 Oct-10-2021, 12:55 AM
Last Post: Turtle
Star I'm getting syntax error while using input function in def. yecktmpmbyrv 1 1,980 Oct-06-2021, 09:39 AM
Last Post: menator01

Forum Jump:

User Panel Messages

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