Periksa ruang dalam python string

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