Update furniture.py
This commit is contained in:
parent
96c09ab790
commit
0e0239ed88
|
@ -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.")
|
||||||
|
|
Loading…
Reference in New Issue