Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x= int(input("Enter the value of x:"))
- if x<0:
- print("x is negaitve")
- else:
- print("x is positive")
- if(x%2)==0:
- print("x is even number")
- else:
- print("x is odd number")
- name = input ("Enter your name: ")
- if name == "Sabbir":
- print("Your entered name was correct .So, hellow Mr.", name)
- elif name == "Sadia":
- print("Your entered name was correct .So, hellow Mr.", name)
- elif name =="Sami":
- print("Your entered name was correct .So, hellow Mr.", name)
- elif name == "linux":
- print("Your entered name was correct .So, hellow Mr.", name)
- else:
- print("Your entered name is invaild!")
- input ("Enter any key to exit")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement