forked from aiti-ghana-2012/Lab_Python_02
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUsingControlStructures.txt
More file actions
56 lines (46 loc) · 867 Bytes
/
Copy pathUsingControlStructures.txt
File metadata and controls
56 lines (46 loc) · 867 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
49
50
51
52
53
54
55
56
Python 2.7.2+ (default, Oct 4 2011, 20:03:08)
[GCC 4.6.1] on linux2
Type "copyright", "credits" or "license()" for more information.
>>> ================================ RESTART ================================
>>>
LAB02, PART II
Question 5
Enter an integer: 35
the value you enteed is odd
-----------------------------------------------------------------------
Question 6
Enter an age: 45
Remember to vote
Vote for me
-----------------------------------------------------------------------
Question 7
the multiples of 3 between 40 and 0 in descending order are:
39
36
33
30
27
24
21
18
15
12
9
6
3
0
-----------------------------------------------------------------------
Question 8
the multiples of 3 between 6 and 30 are:
7
11
13
17
19
23
29
-----------------------------------------------------------------------
Question 9
the number is:
70
>>>