View difference between Paste ID: zrgJkvNA and z8SySkuD
SHOW: | | - or go back to the newest paste.
1-
x=random.randint(-1000,1001)
1+
var x=1;
2-
y=random.randint(-1000,1001)
2+
var y=-4;
3
 
4-
if x>0 and y>0:
4+
if (x>0 && y>0){
5-
  print(1)
5+
  console.log(1)}
6-
elif x>0 and y<0:
6+
else if (x>0 && y<0){
7-
  print(4)
7+
  console.log(4)}
8-
elif x<0 and y<0:
8+
else if (x<0 && y<0){
9-
  print(3)
9+
  console.log(3)}
10-
else:
10+
else {
11-
  print(2)
11+
  console.log(4)}
12
13
J2:
14
var N = 12;
15-
N=12
15+
var k = 3;
16-
k=3
16+
var x = N;
17-
i = 1
17+
for (var i = 1; i<=k;i++){
18-
x = N
18+
    x+= N*Math.pow(10,i);
19-
while i<=k:
19+
}
20-
  x += N*(10**i)
20+
console.log(x);