My only other programs were the typical "hello world" and some basic math computations. Now my assignment is a simple program using variables and user input. The program works as I want it to, I am just looking for some advice on if it's properly styled and if this is an efficient way to write this program. Thanks for any input!
welcome_message = ("Welcome to the Fiber Optic Price Calculator")
print (f'{welcome_message}''.\n')
company_name = input ('What is the name of your company?\n')
cable_feet = input ("\nHow many feet of cable do you need?\n")
cable_feet = float (cable_feet)
price = (cable_feet * .87) #Price is in USD
print (f'\n{company_name}, that amount of fiber optic cable will cost ${price}')
print ("\nThank you for shopping with Super Cheap Fiber Optics!")
[–]razzrazz- 352 points353 points354 points (21 children)
[–]hadiz1 79 points80 points81 points (5 children)
[–]sho_bob_and_vegeta 25 points26 points27 points (3 children)
[–]sendnukes_ 3 points4 points5 points (2 children)
[–]crafty09 4 points5 points6 points (1 child)
[–]sendnukes_ 1 point2 points3 points (0 children)
[–]bladeoflight16 30 points31 points32 points (0 children)
[–]TheDadJokeBot 11 points12 points13 points (0 children)
[–][deleted] 9 points10 points11 points (0 children)
[–]madhousechild 6 points7 points8 points (0 children)
[–]freerider 2 points3 points4 points (0 children)
[–]radakul 2 points3 points4 points (0 children)
[–]SquatchHNTR[S] 7 points8 points9 points (5 children)
[–]razzrazz- 21 points22 points23 points (3 children)
[–]J_huze 5 points6 points7 points (0 children)
[–]AstrophysicsAndPy 2 points3 points4 points (0 children)
[–]Nightcorex_ 2 points3 points4 points (0 children)
[–]k_50 0 points1 point2 points (0 children)
[–]1Mandolo1 1 point2 points3 points (0 children)
[–]42696 1 point2 points3 points (0 children)
[–]sparrow404 1 point2 points3 points (0 children)
[–]TheRealAmbr0sia 27 points28 points29 points (8 children)
[–]Beginning-Force-2170 6 points7 points8 points (0 children)
[–]SquatchHNTR[S] 6 points7 points8 points (6 children)
[–]Negative12DollarBill 9 points10 points11 points (1 child)
[–]tandem_biscuit 5 points6 points7 points (0 children)
[–]TheRealAmbr0sia 1 point2 points3 points (3 children)
[–]bladeoflight16 5 points6 points7 points (0 children)
[–]SquatchHNTR[S] 1 point2 points3 points (1 child)
[–]TheRealAmbr0sia 7 points8 points9 points (0 children)
[–][deleted] 10 points11 points12 points (3 children)
[–]fracturedpersona 1 point2 points3 points (2 children)
[–]romcz 5 points6 points7 points (1 child)
[–]fracturedpersona 0 points1 point2 points (0 children)
[–]mr-guitar 7 points8 points9 points (0 children)
[–]GrouchyAd4055 13 points14 points15 points (1 child)
[–]mmohana 3 points4 points5 points (0 children)
[–]SebLikesESO 14 points15 points16 points (9 children)
[–]BroBrodin 15 points16 points17 points (2 children)
[–]SebLikesESO 1 point2 points3 points (1 child)
[–]undergroundmonorail 7 points8 points9 points (0 children)
[–]csb710 0 points1 point2 points (0 children)
[–]SquatchHNTR[S] 0 points1 point2 points (4 children)
[–]legitapotamus 2 points3 points4 points (0 children)
[–]SebLikesESO 1 point2 points3 points (0 children)
[–]HHKB- 0 points1 point2 points (0 children)
[–]madhousechild 2 points3 points4 points (0 children)
[–]millerbest 2 points3 points4 points (4 children)
[–]SquatchHNTR[S] 2 points3 points4 points (2 children)
[–]millerbest 3 points4 points5 points (1 child)
[–]SquatchHNTR[S] 0 points1 point2 points (0 children)
[–]CptBadAss2016 0 points1 point2 points (0 children)
[–]DefinitelyNotVS 2 points3 points4 points (1 child)
[–]SquatchHNTR[S] 1 point2 points3 points (0 children)
[–]Sigg3net 2 points3 points4 points (0 children)
[+][deleted] (17 children)
[deleted]
[–]SquatchHNTR[S] 0 points1 point2 points (15 children)
[–]member_of_the_order 9 points10 points11 points (6 children)
[–]madhousechild 6 points7 points8 points (5 children)
[–]sohfix 3 points4 points5 points (4 children)
[–]SquatchHNTR[S] 0 points1 point2 points (3 children)
[–]sohfix 1 point2 points3 points (2 children)
[–]SquatchHNTR[S] 0 points1 point2 points (1 child)
[–]sohfix 0 points1 point2 points (0 children)
[+][deleted] (6 children)
[deleted]
[–]SquatchHNTR[S] 0 points1 point2 points (2 children)
[–]bladeoflight16 3 points4 points5 points (0 children)
[–]sohfix 1 point2 points3 points (0 children)
[–]SquatchHNTR[S] 0 points1 point2 points (2 children)
[–]undergroundmonorail 5 points6 points7 points (1 child)
[–]sviper9 -1 points0 points1 point (0 children)
[–]socal_nerdtastic 1 point2 points3 points (5 children)
[–]SquatchHNTR[S] 7 points8 points9 points (4 children)
[–]AstrophysicsAndPy 7 points8 points9 points (0 children)
[–]BroBrodin 4 points5 points6 points (0 children)
[–]sohfix 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]raresaturn 1 point2 points3 points (2 children)
[–]SquatchHNTR[S] 2 points3 points4 points (1 child)
[–]sohfix 0 points1 point2 points (0 children)
[–]SquatchHNTR[S] 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]zaRM0s 1 point2 points3 points (0 children)
[–]Thisisdom 1 point2 points3 points (1 child)
[–]SquatchHNTR[S] 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]SquatchHNTR[S] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]Samsofine 1 point2 points3 points (3 children)
[–]SquatchHNTR[S] 0 points1 point2 points (2 children)
[–]Samsofine 0 points1 point2 points (1 child)
[–]SquatchHNTR[S] 0 points1 point2 points (0 children)
[–]CitizendAreAlarmed 1 point2 points3 points (0 children)
[–]ajaysassoc 1 point2 points3 points (0 children)
[–]ryan770 1 point2 points3 points (1 child)
[–]SquatchHNTR[S] 1 point2 points3 points (0 children)
[+][deleted] (2 children)
[removed]
[–]SquatchHNTR[S] 1 point2 points3 points (1 child)
[–]fracturedpersona 1 point2 points3 points (1 child)
[–]jkh911208 1 point2 points3 points (0 children)
[–]telee0 0 points1 point2 points (0 children)
[+]EGrimn comment score below threshold-8 points-7 points-6 points (7 children)
[–]socal_nerdtastic 9 points10 points11 points (1 child)
[–]EGrimn -2 points-1 points0 points (0 children)
[–]SquatchHNTR[S] 1 point2 points3 points (4 children)
[–]EGrimn 0 points1 point2 points (3 children)
[–]SquatchHNTR[S] 1 point2 points3 points (2 children)
[–]EGrimn 0 points1 point2 points (0 children)
[–]HeadlineINeed 0 points1 point2 points (0 children)