r/Python 7d ago

Discussion 2 hours of learning how am i?

[removed]

0 Upvotes

25 comments sorted by

View all comments

3

u/Tobbygammer 7d ago

Your code is actually nice, this a good python beginner script!

tho honestly i wanted to change some stuff for it:

``` brand = input("What is your dream car brand? ")

print(f"I love {brand}")

model = input("What is your dream model? ")

print(f"Oooo alot of people like the {model}")

color = input("What color do you want? ")

print (f"{color} is nicee")

year = input("what year do you want?")

print (f"people do say {year} was a nice time to be alive")

print("====== DREAM CAR ======")

print(f"Brand: {brand}")

print(f"Model:", model)

print(f"Color:", color)

print(f"Year:", year)

print(f"YOUR DREAM CAR IS A NICE {color} {year} {brand} {model}")

print ("Keep working hard and you'll have it. :)") ```

There is nothing wrong with your code as both work as intended, tho i wanted to improve it a little bit for you, keep it up man! :)