# Seminar 7

The code to create my greeting assignment using python is: print("Welcome to my Website")

This is my Equations Assignment remade using Python

#1
num1 =42
num2 = 10
sum = float(num1) + float(num2)
print('The sum of {0} and {1} is {2}'.format(num1, num2, sum))

#2
num1 = 21
num2 = 2
sum = float(num1) * float(num2)
print('The sum of {0} and {1} is {2}'.format(num1, num2, sum))

#3
num1 = 500
num2 = 5
sum = float(num1) / float(num2)
print('The sum of {0} and {1} is {2}'.format(num1, num2, sum))

#4
num1 = 10
num2 = 10
sum = float(num1) - float(num2)
print('The sum of {0} and {1} is {2}'.format(num1, num2, sum))

The conversion from javascript to python was really easy. Doing the assignments in Python required a lot less code than Javascript and took a lot less time. The way I converted it was a website that did tutorials helped me. There, the website, This is the website that helped me code the part which made 2 numbers add, multiply, etc. The coding was very similar to English language because a lot of it was basically saying what we wanted it to do. The coding was also very, very short. Another thing that is different in python than javascript is there are no buttons nor popups in Python which is one of the reasons the code is shorter.

Languages I Chose:
Python, C, Ruby, Pascal

Python: Python is programming language that uses syntax which allows programmers to use less lines of codes. It is used for large scale websites which a lot of users are on at one time such as google and youtube. Python is also used for website development and storage. Python is used to test microchips at intel and to power some video games using the PyGame library.

C: C supports structured programming and has a static system that prevents unintended operations. When you write C program, you must run it through a C compiler to turn your program into an executable, so your computer can run it.

Ruby: Ruby is used for Web Applications like, because Ruby on Rails framework.Some web applications that uses Ruby are webmail, online auctions and instant messaging services. The general purpose for Ruby is it is suitable for wide array programming tasks like Python and Perl.

Pascal: Pascal is a program intended for good and structured programming. Also, it encourages data structuring. Pascal is mainly used to teach programming techniques.