<filename>Part-2-Answers/1-Review_Of_Intro_To_Programming/3-Up_The_Lift.py
#17/02/21
#What does this code do?
#	This is designed to take 2 integer inputs, the Destination Floor (dfloor) and the Current Floor (cfloor)
# and calculate how many levels you need to go up. 

cfloor = int(input('Current floor: '))
dfloor = int(input('Destination floor: '))
for i in range(cfloor, dfloor):
  print('Level', i)
print('Level', dfloor)  

#What is happening here?
#	In this code, There is 2 integers being taken as inputs, then stored as variables "dfloor" and "cfloor" respectively. 
#	The levels between cfloor and dfloor are being counted out line by line using the for loop. 
<filename>Part-2-Answers/1-Review_Of_Intro_To_Programming/3-Up_The_Lift.py
#17/02/21
#What does this code do?
#	This is designed to take 2 integer inputs, the Destination Floor (dfloor) and the Current Floor (cfloor)
# and calculate how many levels you need to go up. 

cfloor = int(input('Current floor: '))
dfloor = int(input('Destination floor: '))
for i in range(cfloor, dfloor):
  print('Level', i)
print('Level', dfloor)  

#What is happening here?
#	In this code, There is 2 integers being taken as inputs, then stored as variables "dfloor" and "cfloor" respectively. 
#	The levels between cfloor and dfloor are being counted out line by line using the for loop. 
#17/02/21 #What does this code do? #	This is designed to take 2 integer inputs, the Destination Floor (dfloor) and the Current Floor (cfloor) # and calculate how many levels you need to go up. #What is happening here? #	In this code, There is 2 integers being taken as inputs, then stored as variables "dfloor" and "cfloor" respectively. #	The levels between cfloor and dfloor are being counted out line by line using the for loop.