Snippets Collections
 # give a name of function after def
 1.def sayhi():
      #put the statement in the function  
     2.print(“hello world”)
#call function by name:
3.sayhi()


Output: 
Hello world
star

Mon Apr 20 2020 13:17:59 GMT+0000 (Coordinated Universal Time) https://www.youtube.com/watch?v=rfscVS0vtbw&t=5s

#python #function #python #def

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension