Update furniture.py

This commit is contained in:
Ray 2023-09-17 16:58:15 +10:00 committed by GitHub
parent 96c09ab790
commit 0e0239ed88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
# Copyright 2022, Rayyan Hodges, TAFE NSW
# rayyan.hodges@studytafensw.edu.au
#Getting user to choose type of wood #Getting user to choose type of wood
woodtype=int(input("Please select the type of wood you would like to use (1 for pine, 2 for oak): ")) woodtype=int(input("Please select the type of wood you would like to use (1 for pine, 2 for oak): "))
@ -9,4 +12,4 @@ if woodtype <2:
print("You have selected pine wood The pine table will cost you $100.") print("You have selected pine wood The pine table will cost you $100.")
if woodtype >1: if woodtype >1:
print("You have selected oak wood. The oak table will cost you $285.") print("You have selected oak wood. The oak table will cost you $285.")