def greetings_function():
print('Welcome User')
greetings_function()
Asked
Active
Viewed 14 times
0

John Kugelman
- 349,597
- 67
- 533
- 578

BSwagDawg
- 1
- 1
-
Which line causes the error? And does your code here reflect your actual indentation in the file on your computer? – Code-Apprentice Aug 05 '21 at 21:52
-
As the linked question explains, Python is highly sensitive to indentation. In your case, there's a space before `def` that it doesn't like. Remove the space so `def` starts in the first column. – John Kugelman Aug 05 '21 at 21:56