created main function to run program
This commit is contained in:
		
							
								
								
									
										8
									
								
								src/main.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								src/main.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,8 @@
 | 
			
		||||
from textnode import TextNode
 | 
			
		||||
 | 
			
		||||
def main():
 | 
			
		||||
    text = TextNode("This is a text node", "bold", "https://www.boot.dev")
 | 
			
		||||
 | 
			
		||||
    print(text)
 | 
			
		||||
 | 
			
		||||
main()
 | 
			
		||||
		Reference in New Issue
	
	Block a user