Ministério da Educação
Brasil um país de todos
Personal tools
You are here: Home Members Cicero Garrozi Disciplinas 2014 em diante Introdução à Programação Arquivos 2016-1 Algoritmos slides05-for-ex1.py
Navigation
Log in


Forgot your password?
 
Document Actions

slides05-for-ex1.py

by Cicero Garrozi last modified 2015-09-08 07:45

Click here to get the file

Size 1 kB - File type text/python-source

File contents

for i in range(10):
    n = int(input("Digite a quantidade de pedidos do %do vendedor: "%(i+1)))
    print("Comissao: ", end="")
    if n <= 19:
        print("10%")
    elif n < 50:
        print("15%")
    elif n < 75:
        print("20%")
    else:
        print("25%")
        

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: