my assignment is:
create and test fishstore()
fishstore returns a string in sentence form
gather input to fish_entry and price_entry to use in calling fishstore()
print the return value of fishstore()
my code:
I did something very wrong since I don't even get an option to add type of fish and price. Help is appreciated.
create and test fishstore()
fishstore returns a string in sentence form
gather input to fish_entry and price_entry to use in calling fishstore()
print the return value of fishstore()
my code:
1 2 3 4 5 6 7 |
def fishstore(fish, price): fish_entry = input () price_entry = input () sentence = fish_entry + "costs" + price_entry + "dollars." return sentence fs2 = fishstore(fish_entry, price_entry) print (fs2) |