desislava_topuzakova

07. Projects Creation

Feb 6th, 2021
1,013
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.44 KB | None | 0 0
  1. # 1. input -> 1 row: name  2 row: count projects
  2. # 2. calculate need time = count * 3
  3. # 3. print
  4.  
  5. name = input()
  6. count_projects = int(input())
  7.  
  8. need_time = count_projects * 3
  9. # "The architect {името на архитекта} will need {необходими часове} hours to
  10. # complete {брой на проектите} project/s."
  11.  
  12. print(f"The architect {name} will need {need_time} hours to complete {count_projects} project/s.")
Advertisement
Add Comment
Please, Sign In to add comment