Answer :
A method of notation for creating computer programmes is known as a programming language. The majority of programming languages are formal text-based languages.
What is programming ?
- Writing code to support certain activities in a computer, application, or software programme and giving them instructions on how to do is known as computer programming.
- Orthogonality or simplicity, available control structures, data types, and data structures, syntactic design, support for abstraction, expressiveness, type equivalence, strong versus weak type checking, exception handling, and limited aliasing are among the characteristics of a programming language
def main():
# Ask for the square footage of wall space to be painted.
square_footage = input('Enter the number of square feet to be painted: ')
price_gallon = input('Enter the price of the paint per gallon: ')
estimate(square_footage, price_gallon)
def estimate(square_footage, price_gallon):
num_gallons = square_footage/115
hours_labor = num_gallons * 8
total_price_gallon = num_gallons * price_gallon
total_labor = hours_labor * 20
final_total = total_price_gallon + total_labor
print 'The total estimated price for this paint job is