6.4.. Sabrati cifre stotica dva generisana trocifrena slučajna broja.
Listing programa:
# 06421134 import random a=random.randint(100, 999) b=random.randint(100, 999) c=a//100 d=b//100 s=c+d print (a) print (b) print (s)
Ispis na ekranu:
Index