About 50,800,000 results
Open links in new tab
  1. Taking time as input in Python - Stack Overflow

    May 4, 2018 · I mean hour and minutes. Taking them as arguments to input() function and assigning it to a variable. Is it possible? Like this way: time = input(current time)

  2. python - Taking time as user input in HHMM format - Stack Overflow

    Nov 25, 2016 · The input() function will take your input and convert it into a string. 0070 is considered as an octal number. It is first converted to a decimal number and then converted to …

  3. python - Time-Limited Input? - Stack Overflow

    What I would like to be able to do is ask a user a question using input. For example: print('some scenario') prompt = input("You have 10 seconds to choose the correct answer...\n") and then if …

  4. How to set an input time limit in Python? - GeeksforGeeks

    Apr 26, 2025 · Methods to Set an Input Time Limit in Python. Using the inputimeout module; Using the select module; Using the signal module; Using the threading module; Set an Input …

  5. Taking input in Python - GeeksforGeeks

    Jan 2, 2025 · An article describing basic Input and output techniques that we use while coding in python. Input Techniques 1. Taking input using input() function -> this function by default takes …

  6. Python 3 – input() function - GeeksforGeeks

    Apr 7, 2025 · How to set an input time limit in Python? In Python, we use the input () function to take input from the user. Whatever you enter as input, the input function converts it into a …

  7. Real Time Input in Python - Medium

    Dec 30, 2022 · Getting real time input from a user is more complicated. The process is dependent upon the operating system running Python. Getting one character input is the core …

  8. Python User Input - W3Schools

    Python allows for user input. That means we are able to ask the user for input. The following example asks for your name, and when you enter a name, it gets printed on the screen: Ask …

    Missing:

    • Time

    Must include:

  9. How take user input in time format HH:MM in - Sololearn

    May 6, 2020 · time = input("Enter time in HH:MM\n") hour, min = [int(i) for i in time.split(":")] print("It is", hour, "hours and", min, "minutes") # time.split(":") splits the time into two parts, HH …

  10. how to set an input time limit in python? - Sololearn

    Feb 19, 2021 · You can use the time.time() function. It returns the time since Jan 1st 1970 in seconds!

  11. Some results have been removed
Refresh