Multiple Choice Test In Python

Publicado el: 28 noviembre 2015
en el canal de: Clark Holden
4,914
25

import time

score = 0

print('Your title')
print()
print()
time.sleep(1.00)
print('Your first question is: ')
time.sleep(1.00)
print('I am how many years old')
time.sleep(1.00)
print('a. 100')
print('b. 1')
print('c. 21')
answer = input('Make your choice\n: ')
if answer == "c":
print('Correct!')
score += 1
else:
print('Incorrect')

time.sleep(2.00)
print('==============')
print('TEST COMPLETED')
print('==============')
time.sleep(1.00)
print('Your fianl score was %s' %(score))

Email me ideas at: Clarkh_@outlook.com
Follow me on G+: https://plus.google.com/1157228513986...


En esta página del sitio puede ver el video en línea Multiple Choice Test In Python de Duración hora minuto segunda en buena calidad , que subió el usuario Clark Holden 28 noviembre 2015, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 4,914 veces y le gustó 25 a los espectadores. Disfruta viendo!