Skip to content
Snippets Groups Projects
Select Git revision
  • e5df1a02ac3a460052e0bfcca49e19e1d25dd78f
  • devel default
  • master
  • fo
  • jirka/typing
  • fo-base
  • mj/submit-images
  • jk/issue-96
  • jk/issue-196
  • honza/add-contestant
  • honza/mr7
  • honza/mrf
  • honza/mrd
  • honza/mra
  • honza/mr6
  • honza/submit-images
  • honza/kolo-vs-soutez
  • jh-stress-test-wip
  • shorten-schools
19 results

org_score.html

Blame
  • zadavani-cislic.py 252 B
    #!/usr/bin/env python3
    # Skládáme číslo po číslicích
    
    print("Zadávej číslice, ukonči -1:")
    n = 0
    
    while True:
        cislice = int(input())
        if cislice < 0:
            break                # Vyskočíme z cyklu
        n = 10*n + cislice
    
    print(n)