Python

※This article is based on Python 3.7.3

startswith [edit]

s = 'hello good boy doiido'
if s.startswith('hel'):
  print("r")
else:
  print("w")

コメント:



(画像の文字列を入力して下さい)

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS