Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 04b8ff8

Browse files
Merge pull request #2 from NithinU2802/Guvi-Learnings
Update
2 parents 7836da3 + 4aaf3d1 commit 04b8ff8

File tree

6 files changed

+45
-0
lines changed

6 files changed

+45
-0
lines changed

‎Conversions.py

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
a=4.5
2+
print(int(a))
3+
b=7
4+
print(float(b))
5+
print(complex(a))
6+
7+
a=10
8+
b=20
9+
print(a+b)
10+
print(a/b)
11+
print(float(a)//float(b)) # for float
12+
print(b-a)
13+
print(a%10)
14+
15+
a='5'
16+
print(int(a)) # Integer value
17+
print(ord(a)) # ASCII value
18+
19+
20+
# iteration
21+
it=iter([1,2,3])
22+
next(it)
23+
next(it)
24+
print(next(it))
25+
# next(iter) stop interation error
26+
# print("a"+8) concat error
27+
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

‎README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,19 @@
11
# <-- My Repository for Learning Python Programming -->
2+
3+
Python is an Object Oriented Programming Language. An Open Source programming
4+
also an interpreted language. It is portable and easy to learn...!
5+
6+
Procedural Programming -> set of instructions that enhance the service.
7+
Object Orented -> Objects to instruct an machine.
8+
9+
MOTTO: What to do instead How to do
10+
11+
Few lines and execution is slower. Works on different platforms. Which can
12+
also be treated as procedural way with libraries.
13+
14+
IDE - Integrated Development Environment
15+
16+
Provides facilites to provide all the necessary development tools that a
17+
programmer needs in one place. Eg: VS or PyCham
18+
19+

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /