[Tutor] Python Help
alan.gauld at yahoo.co.uk
Fri Oct 26 07:14:12 EDT 2018
On 25/10/2018 23:14, Ben Placella wrote:
Please always post code in plain text not HTML or Rich text.
Otherwise we lose all the formatting which is important in Python.
> beefmeals=int(input("Enter number of beef meals: "))
> shitmeals=int(input("Enter number of vegan meals: "))
> if party<=50
Python control statements are terminated by a colon(:)
$ signs in front of variable names are an error in Python
Author of the Learn to Program web site
Follow my photo-blog on Flickr at:
More information about the Tutor