Skip to content

Commit 82519a7

Browse files
Updated
1 parent 603f652 commit 82519a7

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

01.Variables/first.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Variables is Python
1+
# Variables is Python: As a container to store the data
22

33
i = 100
44
j = 200

01.Variables/second.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Basic Code of Python
2+
3+
## 1st Method
4+
# print(5+5)
5+
6+
## 2nd Method
7+
# a = 10
8+
# b = 15
9+
# res = a + b
10+
# print(res)
11+
12+
## 3rd Method
13+
# a = input("Enter the 1st value") ### By default String without using any datatype.
14+
# b = input("Enter the 2nd value") ### '20' + '20'
15+
# res = a + b
16+
# print(res)

04.Control_Statement/Programs_if_else_if/prog-9.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
# Input the marks obtained in Physics :65 Input the marks obtained in Chemistry :51 Input the marks obtained in Mathematics :72 Total marks of Maths, Physics and Chemistry : 188 Total marks of Maths and Physics : 137 The candidate is not eligible.
66

77
# Expected Output :
8-
# The candidate is not eligible for admission.
8+
# The candidate is not eligible for admission.

0 commit comments

Comments
 (0)