Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
So create a program to predict car price, i use streamlit. then user must fill out the form. Then there form which user should fill the year of the car.

Here is the code

year = st.number_input('What year was the vehicle manufactured in ? ' , value=0,min_value=0, max_value=10000)


after that user will click the check button for predict.

result below in form of table

Name Year fuel type
0 2,024 0

What I have tried:

Any idea ? i got confused here
Posted
Updated 9-Jun-23 4:53am
Comments
Richard Deeming 16-May-23 3:41am    
Any idea on what? You haven't asked a question.

If you were expecting someone else to do your homework for you, you've come to the wrong site.

1 solution

If you want to display numbers in custom format, please read this: format — Python Reference (The Right Way) 0.1 documentation[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900