Python is one of the Most commonly used Language, yeah of course .
This Blog is Particularly written for my Juniors and Friends, also my Viewers .
First you need to download Python exe for Windows
Luckily, we don't need to install Python in Ubuntu or macintosh, since it is a Default one
to test above code
Open Terminal --> type "python" .
Steps to be Followed :
1. Install it .
2. Next Open the Windows Python - CMI (Command Mode Interpreter)
Type "2 + 3" .
Next Type to verify some version's of Python
First import sys
$ import sys
$ sys.version_info
$ sys.version
Some Arithmetic Functions in Python
1. 3 * 4 = 12
2. 3 ** 2 = ? # find it on your own it is similar to pow(2, 3)
This is it, now you know how to work in Python CMI (Command Mode Interpreter) .
Next Blog we will discuss how python works with lists, dict, tuples .
This Blog is Particularly written for my Juniors and Friends, also my Viewers .
First you need to download Python exe for Windows
Luckily, we don't need to install Python in Ubuntu or macintosh, since it is a Default one
to test above code
Open Terminal --> type "python" .
For Windows :
Steps to be Followed :
1. Install it .
2. Next Open the Windows Python - CMI (Command Mode Interpreter)
Type "2 + 3" .
First import sys
$ import sys
$ sys.version_info
$ sys.version
Some Arithmetic Functions in Python
1. 3 * 4 = 12
2. 3 ** 2 = ? # find it on your own it is similar to pow(2, 3)
This is it, now you know how to work in Python CMI (Command Mode Interpreter) .
Next Blog we will discuss how python works with lists, dict, tuples .
No comments:
Post a Comment