くだすれPython(超初心者用) その37at TECH
くだすれPython(超初心者用) その37 - 暇つぶし2ch476:デフォルトの名無しさん
18/04/20 13:49:06.94 bSpMfw5T.net
>>460
こういうこと?
# ===test.py===
def main():
 x = "H"
 y = "h"
 for num in range(5):
  func(x,str(num))
  func(y,str(num))
def func(x,str):
 print (x + "ello" + str)
def func2(y,str):
 print (x + "ello" + str)
if __name__ == '__main__':
 main()


次ページ
続きを表示
1を表示
最新レス表示
レスジャンプ
類似スレ一覧
スレッドの検索
話題のニュース
おまかせリスト
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch