Проверьте место в String Python
if ' ' in string_to_check:
print ("There is space in the string")
else:
print ("No space in the string")
Tense Tarantula
if ' ' in string_to_check:
print ("There is space in the string")
else:
print ("No space in the string")