QCM C1
This commit is contained in:
parent
3ad9ff1140
commit
eb3c7313c5
199 changed files with 10833 additions and 0 deletions
3
C1/codes/q11_3.py
Normal file
3
C1/codes/q11_3.py
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
while (a < 20) or (b > 50):
|
||||
......
|
||||
......
|
||||
3
C1/codes/q12_4.py
Normal file
3
C1/codes/q12_4.py
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
x = 1
|
||||
for i in range(10):
|
||||
x = x * 2
|
||||
4
C1/codes/q3_1.py
Normal file
4
C1/codes/q3_1.py
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
a = 2
|
||||
b = 3
|
||||
c = a ** b
|
||||
d = c % b
|
||||
6
C1/codes/q5_2.py
Normal file
6
C1/codes/q5_2.py
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
if a==b:
|
||||
c = True
|
||||
elif a > b+10:
|
||||
c = True
|
||||
else:
|
||||
c = False
|
||||
Loading…
Add table
Add a link
Reference in a new issue