Vérifiez l'espace dans String Python

if ' ' in string_to_check:
   print ("There is space in the string")
else:
   print ("No space in the string")
Tense Tarantula