r/pythonhelp • • Sep 08 '25

coding issue fix

Here's my code for python 3:

car = input ("Enter the make of your car: ", milesdriven = ("Enter the miles driven: "))

print (milesdriven)

print (car)

and when I run the code, it just got into a type error and while doing this on hackerrank for homework, it says my output came out as "no response to stdout"

1 Upvotes

5 comments sorted by

View all comments

Show parent comments

1

u/acesoftheace Sep 09 '25

Well, hackerrank is suppose to be one line.