Missed the actual method name in comment

This commit is contained in:
Junior 2024-06-03 14:11:56 -04:00
parent 200772fad2
commit 8a62a49f36

View File

@ -9,7 +9,7 @@ print()
print(f"Your name is: {name}") print(f"Your name is: {name}")
# Here we will do the "if" conditional. A conditional means # Here we will do the "if" conditional. A conditional means
# "compare these things" and "if" means "does this whole thing evaluate to True". # "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. # to try and find a space character in the name and print a message if not found.
# "-1" here means "not found" # "-1" here means "not found"
# Find method: https://www.w3schools.com/python/ref_string_find.asp # Find method: https://www.w3schools.com/python/ref_string_find.asp