
Hello guys,
Im just learning Pyhton and doing a code in Replit.. I think Im doing ok so far but Im stuck on a thing that maybe some one here might help me out with?
So im doing this code where a carpurchaser asks someone what type of car/model/year and miles it has.. and they answer like this:
the last print does not show when i run the program.. its just says "car" "model" "year".. not what car/year/model/mile i type in the program.. how come? :P
and also.. is there a way to make so it says "miles" after you put the miles numbers in the code?
I hope you guys get what im trying to explain that I need help with ;P
best regards!
Im just learning Pyhton and doing a code in Replit.. I think Im doing ok so far but Im stuck on a thing that maybe some one here might help me out with?
So im doing this code where a carpurchaser asks someone what type of car/model/year and miles it has.. and they answer like this:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
print ( "What car and modell?" ) car = input () print ( "What year is the car?" ) year = input () print ( "Okey good, how many miles does it got?" ) miles = input () print (car + " " + " " + year + " " + mile) print ( "Oh okey, you got a ’car’ of ’model’-modell, and its from ’year’, but has not driven more than ’mile’, sounds intresting!" ) |
and also.. is there a way to make so it says "miles" after you put the miles numbers in the code?
I hope you guys get what im trying to explain that I need help with ;P
best regards!