Skip to content

Commit cd52912

Browse files
committed
Python Programming Masterclass Projects
0 parents  commit cd52912

File tree

5,606 files changed

+11675
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

5,606 files changed

+11675
-0
lines changed

.idea/.gitignore

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/Python IntelliJ.iml

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/codeStyles/Project.xml

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/codeStyles/codeStyleConfig.xml

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/encodings.xml

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

001.HelloWorld.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
print("Hello")
2+
print('World')
3+
print("Hello"+" World")
4+
print("We can even use 'single-quotes' in python")
5+
print('We can even use "double-quotes" in python')
6+
print("""We can even use 'single-quotes' & "double-quotes" in python""")
7+
8+
#input
9+
name = input("Please Enter Your Name ")
10+
age = int(input("Please Enter Your age "))
11+
12+
print('Hello "'+name+'"' +' Your age is "'+str(age)+'"')
13+
14+

002.EscapeCharacter.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
splitString = "This string has been\nsplit over\nseveral\nlines"
2+
print(splitString)
3+
4+
tabbedString = "1\t2\t3\t4\t5"
5+
print(tabbedString)
6+
7+
print('The pet Shop Owner said "No, no, \'e\'s uh,...he\'s resting".')
8+
print("The pet Shop Owner said \"No, no, 'e's uh,...he's resting\".")
9+
10+
print("""The pet Shop Owner said "No, no, \
11+
'e's uh,...he's resting".""")
12+
13+
anotherSplitString = """This String has been \
14+
split over \
15+
several \
16+
lines"""
17+
18+
print(anotherSplitString)
19+
20+
print("C:\\Users\\satyam\\python.py")
21+
print(r"C:\Users\satyam\python.py")

003.VariablesAndTypes.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
greeting = "Hello"
2+
name = 'Satyam'
3+
age = 20
4+
5+
print(type(greeting))
6+
print(type(name))
7+
print(type(age))
8+
9+
age="20 years"
10+
print(type(age))

0 commit comments

Comments
 (0)