Basic Code Structure of Python Programming
Code : Hello visitors, how are you hope and wish you will be good so friends as we know that there is a different kind of languages in all over the world that you have listened like
- c/c++
- java
- php
- go
- ruby etc...
these are some famous languages in the world that you have listen but python is very easy language and only python is enough to do every kind of development like web-development
app-development, computer software in every field python is very strong language let see how it is easy
to print any kind of text..... in cpp
cpp code:
#include<iostream>
using namespace std;
int main()
{
cout<<"hello world";
return 0;
}
to print any kind of text.... in python
print("hello world")
as you can see c++ take six lines to print hello world and python takes only one line and one more good thing about python it refuse the use of semicolon(;) in there code that help you to reduces the chance of making mistakes and if you know what is machine learning , deep learning, data science . then you should know huge amount of logic is being demanded by these topics and in python these less numbers of lines help you to build this logic . that is it for this post in next we will start coding and see how it is work thankyou to all the visitors for visit my blogpost
Comments
Post a Comment