Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # i'm using python version 3.4this code is not working
- def whatsup(x):
- return("My name is" +x)
- print whatsup("nimesh")
- #but instead this code is working.
- def whatsup(x):
- return("My name is" +x)
- var=whatsup("Nimesh")
- print(whatsup)
- #what is the difference in between in these two codes?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement