Getting started with SagaOS™
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque fringilla suscipit ligula id sagittis. Aliquam accumsan, urna aliquet lacinia tincidunt, augue sem vehicula lectus, vitae egestas tellus mauris et justo.
Heading
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque fringilla suscipit ligula id sagittis. Aliquam accumsan, urna aliquet lacinia tincidunt, augue sem vehicula lectus, vitae egestas tellus mauris et justo. Proin et erat sit amet odio sagittis rhoncus.
Heading
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque fringilla suscipit ligula id sagittis. Aliquam accumsan, urna aliquet lacinia tincidunt, augue sem vehicula lectus, vitae egestas tellus mauris et justo. Proin et erat sit amet odio sagittis rhoncus.
Heading
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque fringilla suscipit ligula id sagittis. Aliquam accumsan, urna aliquet lacinia tincidunt, augue sem vehicula lectus, vitae egestas tellus mauris et justo. Proin et erat sit amet odio sagittis rhoncus.
Example One
Aliquam accumsan, urna aliquet lacinia tincidunt, augue sem vehicula lectus, vitae egestas tellus mauris et justo.
#Displays pronic numbers between 1 and 100
def isPronicNumber(num):
flag = False;
for j in range(1, num+1):
if((j*(j+1)) == num):
flag = True;
break;
return flag;
print("Pronic numbers between 1 and 100: ");
for i in range(1, 101):
if(isPronicNumber(i)):
print(i),
print(" "),
Code language: Python (python)
#Displays pronic numbers between 1 and 100
def isPronicNumber(num):
flag = False;
for j in range(1, num+1):
if((j*(j+1)) == num):
flag = True;
break;
return flag;
print("Pronic numbers between 1 and 100: ");
for i in range(1, 101):
if(isPronicNumber(i)):
print(i),
print(" "),
Code language: Python (python)
Example Two
Aliquam accumsan, urna aliquet lacinia tincidunt, augue sem vehicula lectus, vitae egestas tellus mauris et justo.
Example Three
Aliquam accumsan, urna aliquet lacinia tincidunt, augue sem vehicula lectus, vitae egestas tellus mauris et justo.
#Displays pronic numbers between 1 and 100
def isPronicNumber(num):
flag = False;
for j in range(1, num+1):
if((j*(j+1)) == num):
flag = True;
break;
return flag;
print("Pronic numbers between 1 and 100: ");
for i in range(1, 101):
if(isPronicNumber(i)):
print(i),
print(" "),
Code language: Python (python)
#Displays pronic numbers between 1 and 100
def isPronicNumber(num):
flag = False;
for j in range(1, num+1):
if((j*(j+1)) == num):
flag = True;
break;
return flag;
print("Pronic numbers between 1 and 100: ");
for i in range(1, 101):
if(isPronicNumber(i)):
print(i),
print(" "),
Code language: Python (python)
Example Four
Aliquam accumsan, urna aliquet lacinia tincidunt, augue sem vehicula lectus, vitae egestas tellus mauris et justo.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque fringilla suscipit ligula id sagittis.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque fringilla suscipit ligula id sagittis.