Categories
Computer programming

Python for civil enginners

Python is a very popular computer language. According to some it is most popular language surpassing java and c by substantial margins. Python resources are increasing constantly there are about 150000 libraries in python. It is being used in very advanced topics such as artificial intelligence, machine learning, quantum computing, big data analysis, animation, 3d […]

Categories
Computer programming

Dealing with functions in python.

Functions or sometimes called as subroutines are important part of any computer language. Python is not an exception. Function can be defined as program within a program. like any program, functions must have three parts that is Input-Process-Output. In addition to this function must have a name. In a typically written python functions look like […]

Categories
python programming

Python basic numerical operators

There are 4 basic operators with obvious signs. You can use () brackets as well. There are two more operators. ‘// ‘ is division whose output is integer (fractions are truncated) % gives remainder from an inter division. Try following program. Change values of x and y and find out meaning of each operator. x=361 […]

Categories
python programming

Working around

I assume that you have downloaded and installed anaconda. You can now run anaconda and reach its navigation page. From this I would request you to open jupyter notebook. (This will open in your browser. Once in jupyter notebook, press new tab (top right corner) and select python 3 option. Another window will open. It […]