for i in range(100): # I define my dummy variable and my range that I will iterate over 
    print(i, end=',') # I do my thing which is printing whatever the dummy variable is 
                    # the end =',' is added so that the output gets printed more compactly! super optional.

i=0 # with while loops we need to give our dummy variable a value since it is not looking for i in something like a range
while i<100: # while i is less than 100 we iterate through the loop
    print(i, end=',') # we do our thing and print our dummy variable i 
    i=i+1  # we add 1 to i each time we loop through, this is ESSENTIAL to while loops, without this i would always 
            # EQUAL 0 and the loop would NEVER end! 

# create a string to test against another 

string_1 = "I Love Physics" 
string_2 = 'i love physics' 

if string_1 == string_2: 
    print('These strings are the same') 
    

# create a string to test against another 

string_1 = "I Love Physics" 
string_2 = 'i love physics' 

if string_1 == string_2: 
    print('These strings are the same') 

else: 
    print('These strings are NOT the same')
    

# using a for loop 

for i in range(101): 
    
    print(i, end=',')
    
    if i == 100: 
        
        print('we counted until 100!')
        

# using a while loop 

i=0 # starting point for our loop 

while i <= 100: 
    
    print(i, end=',')
    
    if i == 100: 
        
        print('we counted until 100!')
        
    i+=1

