import random import time
print ("Welcome to Pizza Shed!")
total_cost = 0
tablenum = input ("Enter table number from 1-25 \n ")tablenum =
int(tablenum)while tablenum>25 or tablenum <=0: tablenum = input ("Enter
the correct table number, there are only 25 tables ") #Pizza menu with
price
Hi this is the code I have so far for the task could you please help because it
is really important as it counts towards my Gcse and I need it to be working
fully at the minute the files don't seem to print all the words nor the
positions col you please help. I have attached my code and t
Hello experts
I'am working exercise 5. of 'Practical Programming 2nd edition, .using
Python 3' (operations on lists).
The following code get's me wrong results:
>>> metals = [['beryllium', 4],['magnesium', 12], ['calcium', 20],
>>> ['strontium', 38], ['barium', 56], ['radium', 88]]
>>> max
Hello everyone!
This is my first time using the Python Tutor myself, so I apologize in
advance if I've done this wrong.
Here is what I'm trying to do. I have a script written in Python 3 that
will go through my companies Slack account and delete any files older than
30 days. I've ran this script
On 10/04/16 19:36, Peter Otten wrote:
> Alan Gauld wrote:
>
>> or a slightly sneaky but faster version:
>>
>> def howMany(aList):
>> return aList.index(aList[-1]) + 1
>
> Sorry, but this isn't "slightly sneaky", this is outright wrong.
> I fails for both empty lists and lists with duplicate e
On 09/04/16 10:32, Nevina Dias via Tutor wrote:
Sorry for the delay the message was in the moderation queue and I was on
holiday.
As to your code it has not been posted in plain text so its been
scrambled by the email system. We can't begin to decipher it.
When you say it "won't run", do you get
On 13/04/16 20:15, Eben Stockman wrote:
> Hi this is the code I have so far for the task
Hi Eben. The code has disappeared, probably because you sent it as an
attachment. This list is plain text and attachments often get stripped
as potential security risks etc. Please repost with the code in th
On 13/04/16 20:41, marcus lütolf wrote:
> Hello experts
>
> I'am working exercise 5. of 'Practical Programming 2nd edition, .using
> Python 3' (operations on lists).
> The following code get's me wrong results:
>
metals = [['beryllium', 4],['magnesium', 12], ['calcium', 20],
['st
On 14/04/16 01:22, Malcolm Boone wrote:
> advance if I've done this wrong.
Nope, for a first post its pretty good. :-)
> this error:
>
> File "C:\Users\malco\Anaconda3\Lib\Slack-File-Delete.py", line 6
> _token = xoxp-14301025207-14298191955-14452030292-**
> SyntaxError: invalid
On Wed, Apr 13, 2016 at 12:41 PM, marcus lütolf
wrote:
> Hello experts
>
> I'am working exercise 5. of 'Practical Programming 2nd edition, .using
> Python 3' (operations on lists).
> The following code get's me wrong results:
>
metals = [['beryllium', 4],['magnesium', 12], ['calcium', 2
On Wed, Apr 13, 2016 at 12:15 PM, Eben Stockman wrote:
> could you please help because it is really important as it counts towards my
> Gcse
Just to add: please try to avoid saying this detail in the future.
It's much more helpful to talk about what you've tried, what parts you
understand, and
11 matches
Mail list logo