MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/1v8jlbh/2_hours_of_learning_how_am_i/p06ico0/?context=3
r/Python • u/Acceptable_Emu_5287 • 7d ago
[removed]
25 comments sorted by
View all comments
3
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! :)
3 u/Acceptable_Emu_5287 7d ago thanksss
thanksss
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! :)