LogFAQs > #960095557

LurkerFAQs, Active DB, DB1, DB2, DB3, DB4, DB5, DB6, DB7, Database 8 ( 02.18.2021-09-28-2021 ), DB9, DB10, DB11, DB12, Clear
Topic List
Page List: 1
TopicITT: Learning Python
SpiritSephiroth
11/17/21 7:26:41 PM
#415:


ChocoboMog123 posted...
I've been taking a class on scripting in Unix that covers Bash, Awk, Perl, and Python and I managed to find the first code I ever "published" online back in 2003.

x=1
while 1==1:
x=x+1
y=range(1,x)
z=0
q=9
for count in y:
q=x%y
if q==0:
z=z+1
if z<1:
print x

I was in middle school and teaching myself baby steps at the time. I really wish I had real programming classes then, or at least the online resources available now.

I'll be honest I have an idea of what the code means in practice. But the numbers are hurting my head lol

---
... Copied to Clipboard!
Topic List
Page List: 1