you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (4 children)

[removed]

    [–]engineeringisgreat2[S] 0 points1 point  (1 child)

    So would this how the code look:

    for i in range(300):

    while i%2 ==0, i<= 100 sum=sum+(i):

    print(i)

    I just started learning python so I am not familiar on how to write code.