Python Forum
beverage machine code
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
beverage machine code
#7
What a beginner mistake. Thanks. I have another question. Say I wanted to do something like
userCredit=input('Enter money here')
print('example 5.00')
How do I make both of these lines run? Would I only be able to choose to either put the example in before or within the input string? Otherwise it would go input then print.
Reply


Messages In This Thread
beverage machine code - by ccm1776 - Sep-26-2018, 05:01 PM
RE: beverage machine code - by ichabod801 - Sep-26-2018, 08:14 PM
RE: beverage machine code - by woooee - Sep-27-2018, 08:23 PM
RE: beverage machine code - by ccm1776 - Sep-27-2018, 09:12 PM
RE: beverage machine code - by ichabod801 - Sep-28-2018, 12:37 AM
RE: beverage machine code - by gruntfutuk - Sep-29-2018, 09:43 AM
RE: beverage machine code - by ccm1776 - Sep-30-2018, 06:29 AM
RE: beverage machine code - by ichabod801 - Sep-30-2018, 11:17 AM
RE: beverage machine code - by gruntfutuk - Sep-30-2018, 11:50 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020