how i can copy a function to make another function with some changes without actually copy pasting the function in pygame

后端 未结 0 1418
余生分开走
余生分开走 2021-01-15 17:08

i wrote a function in to show welcome screen in pygame and wrote this code below -

def welcome():
exit_game = False
while not exit_game:
    global red,green
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题