to reduce the file size of the attachment
Answer:
this:name = 'John'
print("Is name == 'John'? I predict True.")
print(name == 'John')
print("\nIs name == 'Joy'? I predict False.")
print(car == 'Joy')
this:age = '28'
print("Is age == '28'? I predict True.")
print(age == '28')
print("\nIs age == '27'? I predict False.")
print(age == '27')
this:sex = 'Male'
print("Is sex == 'Female'? I predict True.")
print(sex == 'Female')
print("\nIs sex == 'Female'? I predict False.")
print(sex == 'Joy')
this:level = 'College'
print("Is level == 'High School'? I predict True.")
print(level == 'High School')
print("\nIs level == 'College'? I predict False.")
print(age == 'College')
Conditions 1 and 2 test for name and age
Both conditions are true
Hence, true values are returned
Conditions 3 and 4 tests for sex and level
Both conditions are false
Hence, false values are returned.
HISTSIZE is the environment variable affects the number of past commands used in the current shell session.
Define variables
left is l
right is r
Ask input
left or right
Ask input value
Equate l or r to the input value
Show ladder with steps equal to input value and in the side of input variable