Hello Team,
I am a new beginner with python and I am posting my code below, but can anyone help me to explain why #!/usr/bin/pythonon the first line in the above code has been used?
#!/usr/bin/python
deffoo(x=[]):
x.append(1)
returnx
foo()
foo()
Output:
[1]
[1,1]