-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path4th.py
More file actions
48 lines (37 loc) · 908 Bytes
/
Copy path4th.py
File metadata and controls
48 lines (37 loc) · 908 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#print('hello world')
# print("'hellpo wrold'")
# print('"hello wrold"')
#float---> decimals value
# x=2.446774
# y=3.577543
# add=x+y
# print(add)
# print((float(input('valie in ')))
# print((2>4)and(3>7))
# print((4==5)and(5==5))
# print((2>4)or(4>2))
# print((2==2)or(5==6))
# print(((4>3)and(7>6)),((4>7)or(8>9)))
# take input of age from user and store in variable
# input will come in string so convert into variable
# if age is less than 18 'you are not eligable for voting'
# age=int(input('what is your age '))
# if age>=18:
# print('you are eligible for voting')
# else:
# print('you are not elogible for voting')
# x=int(input('value is '))
# if x>=0:
# print('positive')
# else:
# print('negative')
# x=int(input('value is '))
# if x/2==0:
# print('even')
# else:
# print('odd')
x=int(input('value '))
if x%2==0:
print('even')
else:
print('odd')