diff --git a/Programs/P01_hello.py b/Programs/P01_hello.py index 3dd3397..4039621 100644 --- a/Programs/P01_hello.py +++ b/Programs/P01_hello.py @@ -5,10 +5,15 @@ def justPrint(text): '''This function prints the text passed as argument to this function''' print(text) base_value = 10 - b=20 + increment_value=20 difference = increment_value - base_value + divide_value = increment_value / base_value + print("Difference is:", difference) + print("Divide value is:", divide_value) if __name__ == '__main__': justPrint('Hello Sindhuja') + justPrint('Hello Sindhuja') + justPrint('Hello Sindhuja') diff --git a/Programs/login.py b/Programs/login.py index d4f5233..fb9e10c 100644 --- a/Programs/login.py +++ b/Programs/login.py @@ -30,3 +30,6 @@ def login(self, email, password): print(app.login("wrong@test.com", "123")) # Test case 2 print(app.login("wrong@test.com", "123")) # Test case 3 (locks account) print(app.login("user@test.com", "Password@123")) # Should fail because account is locked +print("TC4:", app.login("wrong@test.com", "123")) # This will now lock +print("TC5:", app.login("user@test.com", "Password@123")) # Locked account case +print("TC6:", app.login("user@test.com", "Password@123")) # Locked account case