Created
July 20, 2020 19:36
-
-
Save amitkrishna/86f8a4e266bf8b8c34c956fc868fa257 to your computer and use it in GitHub Desktop.
Revisions
-
amitkrishna created this gist
Jul 20, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ def two_fer(name = ''):# siting default argument as '' #name!=''?print('One for '+name+',one for me'):print('One for you , one for me'); if name!='': #print('One for',name,', one for me') # print(f"One for {name}, one for me") f"One for {name}, one for me" else: f"One for you, one for me" #print('One for you , one for me')