code
stringlengths 3
157
| text
stringlengths 6
207
|
|---|---|
A = 2
|
Assign number two to variable A.
|
A = 2
|
Assign number two to variable A.
|
A = 2
|
Store number two in variable A
|
A = 2
|
Declare the variable A and store the number two in it
|
B = 5
|
Assign number five to variable B.
|
B = 5
|
Assign number five to variable B.
|
B = 5
|
Store number five in variable B
|
B = 5
|
Declare the variable B and store the number five in it
|
result = A + B
|
Now add A and B and assign it to a variable called result.
|
result = A + B
|
Add A and B and collect their sum in a variable called result
|
result = A + B
|
Add A and B and assign their sum to a variable called result
|
result = A + B
|
Add A and B and assign their sum to the result variable
|
result = A + B
|
Add A and B and accumulate their sum in a variable called result
|
result = A + B
|
Add A and B and assign it to a variable result
|
result = A + B
|
Declare a variable result called result and collect the sum of A and B in it
|
result = A + B
|
Collect the sum of A and B in a variable called result
|
result = A + B
|
Assign the sum of A and B to a variable called result
|
print(result)
|
Print Result Now
|
print(result)
|
Print Result
|
print(result)
|
Print Result
|
A = int(input("Enter A : "))
|
Declare variable A and assign user input numeric value
|
A = int(input("Enter A : "))
|
Declare variable A and assign user input numeric value
|
A = int(input("Enter A : "))
|
Create a variable A and assign the numeric value provided by the user.
|
A = int(input("Enter A : "))
|
Assign user input number to variable A
|
A = int(input("Enter A : "))
|
Assign user input number to variable A
|
B = int(input("Enter B : "))
|
Declare variable B and assign user input numeric value
|
B = int(input("Enter B : "))
|
Declare variable B and assign user input numeric value
|
B = int(input("Enter B : "))
|
Create a variable B and assign the numeric value provided by the user.
|
B = int(input("Enter B : "))
|
Assign user input number to variable B
|
B = int(input("Enter B : "))
|
Assign user input number to variable B
|
result = A + B
|
Now add A and B and assign it to a variable called result.
|
result = A + B
|
Add A and B and assign it to a variable result
|
result = A + B
|
Declare a variable result called result and collect the sum of A and B in it
|
result = A + B
|
Collect the sum of A and B in a variable called result
|
result = A + B
|
Assign the sum of A and B to a variable called result
|
print(result)
|
Print Result Now
|
print(result)
|
Print Result
|
print(result)
|
Print Result
|
A=10
|
Assign number ten to variable A
|
A=10
|
Assign number ten to variable A
|
A=10
|
Put number ten to variable A
|
A=10
|
Store number ten in variable A
|
A=10
|
Assign number ten to variable A
|
A=10
|
Assign number ten to variable A
|
A=10
|
Put number ten to variable A
|
B=12
|
Assign number twelve to variable B
|
B=12
|
Assign number 12 to variable B
|
B=12
|
Assign the number twelve to the variable B.
|
B=12
|
Store number 12 in variable B
|
B=12
|
Put number 12 to variable B.
|
B=12
|
Assign number 12 to variable B
|
B=12
|
Put number 12 to variable B
|
C=14
|
Assign number 14 to variable C
|
C=14
|
Assign number 14 to variable C
|
C=14
|
Put number 14 to variable C
|
C=14
|
Assign number fourteen to variable C
|
C=14
|
Put number fourteen to variable C
|
C=14
|
Assign number 14 to variable C
|
if (A >= B) and (A >= C):
largest = A
|
If variable A is equal to variable B or greater
than B and variable A is equal to variable C or
greater than C then variable A is greater than
all. Assign A variable to the largest variable
|
if (A >= B) and (A >= C):
|
If variable A is greater than or equal to variable B and variable A
is greater than or equal to C then A variable is greater than all
|
largest = A
|
Assign A variable to the largest variable
|
elif (B >= A) and (B >= C):
largest = B
|
If otherwise variable B is equal to variable A
or greater than A and variable B is equal to
variable C or greater than C then variable B is
greater than all. Assign the B variable to the
largest variable
|
else:
largest = C
|
Otherwise the variable C is the largest of all.
Assign C variable to the largest variable
|
if(B >=A) and (B >=C) :
largest = B
|
If variable B is equal to variable A or greater than A and variable B
is equal to variable C or greater than C then variable B is greater
than all. Assign B to the largest variable
|
elif (C >= A) and (C>= B):
largest = C
|
If otherwise variable C is equal to variable A or greater than A and
variable C is equal to variable B or greater than B then variable C
is greater than all. Assign C variable to the largest variable
|
elif (A >= B) and (A>= C):
largest = A
|
If otherwise variable A is equal to variable B or greater than B and
variable A is equal to variable C or greater than C then variable A
is greater than all. Assign A variable to the largest variable
|
else:
largest = A
|
Otherwise variable A is the largest of all. Assign A variable to the
largest variable
|
else:
largest = B
|
Otherwise variable B is the largest of all. Assign B variable to the
largest variable
|
if(C >= A) and (C >= B) :
largest = C
|
If variable C is equal to variable A or greater than A and variable C
is equal to variable B or greater than B then variable C is greater
than all. Assign C to the largest variable
|
elif (B >= A) and (B >= C):
largest = B
|
If otherwise variable B is equal to variable A or greater than A and
variable B is equal to variable C or greater than C then variable B
is greater than all. Assign the B variable to the largest variable
|
if (A >= B) and (A >= C):
largest = A
|
If A >= B and A >= C A variable is the largest of all
|
elif (B >= A) and (B >= C):
largest = B
|
If not then b >= a and b >= c . B variable is the largest of all
|
if(B >=A) and (B >=C) :
largest = B
|
If b >= a and b >= c . B variable is the largest of all
|
elif (C >= A) and (C>= B):
largest = C
|
If otherwise c >= a and c >= b . C variable is the largest of all
|
if(C >= A) and (C >= B) :
largest = C
|
If C >= A and C >= b . C variable is the largest of all
|
if (A >= B) and (A >= C):
largest = A
|
If variable A is greater than or equal to variable B and variable A is
greater than or equal to variable C. Variable A is the largest of all
|
elif (B >= A) and (B >= C):
largest = B
|
If otherwise the variable B is greater than or equal to variable A
and the variable B is greater than or equal to C then C is greater
than all
|
if (B >= A) and (B >= C):
largest = B
|
If variable B is greater than or equal to variable A and variable B
is greater than or equal to variable C. Variable B is bigger than all
|
elif (C >= A) and (C>= B):
largest = C
|
If otherwise the variable C is greater than or equal to variable A
and the variable C is greater than or equal to variable B then C is
greater than all
|
elif (A >= B) and (A>= C):
largest = A
|
If otherwise the variable A is greater than or equal to variable B and the
variable A is greater than or equal to variable C then A is greater than all
|
print(largest)
|
Print Largest
|
print(largest)
|
Print Largest
|
print(largest)
|
Print the largest variable now
|
print(largest)
|
Print the largest variable
|
print(largest)
|
Print the largest variable
|
print("hello world")
|
Print the word 'hello world'
|
print("hello world")
|
Print 'hello world'
|
print("Hello World")
|
Hello World' Print
|
print("hello world")
|
Print 'hello world'
|
print("hello world")
|
Print 'hello world'
|
print("hello world")
|
Show 'Hello World'
|
print("Hello World")
|
Show the word 'hello world' on the screen
|
print("hello world")
|
Show the word 'hello world'
|
print("Hello World")
|
Put 'Hello World'
|
radius= float(input("Enter radius : ")
|
Declare float variable radius and store user input value in it
|
radius= float(input("Enter radius : ")
|
Declare the float variable radius and store the user input value in it
|
pi=3.14
|
Assign 3.14 to Pi
|
pi=3.14
|
3.14 Assign to Pi
|
pi = 3.14
|
3.14 Put to Pie
|
pi = 3.14
|
Store 3.14 in pi
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.