All Courses

Getting error in user defined function

By Sonalikhare94, 2 years ago
  • Bookmark
0

def Greet(name,wish)

  print("Hi",name)

  print(wish,"How are you")

   

Greet("Sonali","Good Morning")

Function

You need to add the : at the end ot def Greet function. it should be like ef Greet(name,wish):

– Aditya Raj Jul 9, 2021 at 12:32 PM

0 Answer
Your Answer

Webinars

Why You Should Learn Data Science in 2023?

Jun 8th (7:00 PM) 289 Registered
More webinars

Related Discussions

Running random forest algorithm with one variable

View More