From 8a62a49f368d4ed6ea80ab4c83aa86de7685bf19 Mon Sep 17 00:00:00 2001 From: Junior Date: Mon, 3 Jun 2024 14:11:56 -0400 Subject: [PATCH] Missed the actual method name in comment --- Python/015_ifconditional.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/015_ifconditional.py b/Python/015_ifconditional.py index 5fb2fbf..f3663a0 100644 --- a/Python/015_ifconditional.py +++ b/Python/015_ifconditional.py @@ -9,7 +9,7 @@ print() print(f"Your name is: {name}") # Here we will do the "if" conditional. A conditional means # "compare these things" and "if" means "does this whole thing evaluate to True". -# In this case we are using the string function/method (see below) +# In this case we are using the string function/method "find()" (see below) # to try and find a space character in the name and print a message if not found. # "-1" here means "not found" # Find method: https://www.w3schools.com/python/ref_string_find.asp