1. Check the given is Even or Odd?
Sol:
n=int(input("Enter a number:"))
if n%2==0: print("Even")
else: print("Odd")
Output:
Enter a number: 10
Even
Enter a number: 5
Odd
Description In a certain encrypted message which has information about the location(area, city), the characters are jumbled such that first ...
No comments:
Post a Comment