a guest Dec 17th, 2018 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def main():
  2.     rivi = input("Enter the number of measurements: ")
  3.     maara = int(rivi)
  4.     jono = int(1)
  5.     if maara <= 0:
  6.         print("The number of measurements must be a positive number.")
  7.     for i in range(1, maara+1):
  8.         merkkijono = str(jono)
  9.         input("Enter the measurement result "+merkkijono+":")
  10.         jono = (jono+1)
  11. main()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand