declare i number:=1; j number:=0; sum1 number:=0;begin while(i<100) loop i:=i+1; j:=2; while(mod(i,j)!=0) loop j:=j+1; if(i=j) then exit; end if; end loop; if(i=j) then sum1:=sum1+i; DBMS_OUTPUT.PUT_LINE(i); end if; end loop; DBMS_OUTPUT.PUT_LINE(SUM
#-*- coding:UTF-8 -*- #环境:python3 print("Enter the numbers between 1 and 100:") enterList=[] #记录输入的元素 while 1: a = int(input(">>>")) #将输入转换为int型 if a == 0: print ("Your input:",enterList) break #结束输入 if a<1 or a&g