PRODUCT NAME CREATOR PROJECT 1 :
You have learned essentials of python in previous posts. now its time to apply in real world projects.
Your Code Snippet
the code concatenates the brand and model names, inserting spaces between them , and saves the code in product variable.
Code:
#product name creactor
brand_name = input("Enter the brand name")
model_name = input("Enter the model name")
product = brand_name+" "+model_name
print(product)
output :
Enter the brand name apple
Enter the model name iphone
apple iphone
- You have to must try in your python compiler use idle avoid online compilers to Errors
- Quiz about Arithmetic Operations In Python
0 Comments