PYTHON   23

dobra py

Guest on 13th August 2022 07:56:51 AM

  1. def main():
  2.     n = int(input("Digite n: "))
  3.     k = dobre(n)
  4.     msg(n,k)
  5.  
  6. def dobre(k):
  7.     n = 2*k
  8.     return n
  9.  
  10. def msg(i, j):
  11.     print(f"dobro de {i} é {j}"}")
  12.  
  13. main

Raw Paste


Login or Register to edit or fork this paste. It's free.