Jump to content

Search the Community

Showing results for tags 'coding'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Introductions & Greetings
    • General Discussion
    • Photos, Videos & Journals
    • Plants, Algae, and Fertilizers
    • Fish Breeding
    • Diseases
    • Aquarium Co-Op's Local Announcements
    • Aquarium Co-Op Events
    • Forum Announcements
  • Off Topic
    • Off Topic General

Blogs

  • Daniel's Fishroom Blog
  • Music
  • Music for Fish

Calendars

There are no results to display.

Categories

  • Youtube Videos

Product Groups

There are no results to display.

Categories

  • Files

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me

Found 1 result

  1. i started coding in python 2 days ago and my brother helped me make something to track water parameters action = input("what do you want to do A.write test, B.read test") if action == ("A"): ph = str(input("whats the ph")) gh = str(input("whats the gh")) kh = str(input("whats the kh")) nitrates = str(input("whats the nitrate")) tests = ("\n\nnitrates: %s general Hardness: %s karbonate hardness: %s nitrate: %s "% (ph,gh,kh,nitrates)) optional_tests = input("do you want to log NH3, NO2, PO4, misc") if optional_tests == ("Y"): phosphate = str(input("whats the phosphate")) ammonia = str(input("whats the ammonia")) nitrite = str(input("whats the nitrite")) chlorine = str(input("whats the the chlorine")) copper = str(input("whats the copper")) optional_test = ("\n\nphosphate: %s ammonia: %s nitrite: %s chlorine: %s copper: %s"% (phosphate,ammonia,nitrite,chlorine,copper)) optional_test_file = open("optional_test.txt", "a") optional_test_file.write(str(optional_test)) optional_test_file.close testfile = open("water parameter tracker.txt", "a") testfile.write(str(tests)) testfile.close download the latest version of python https://www.python.org/downloads/ you make a 2 text files called "water parameter tracker.txt" and ""optional_test.txt" make sure they are in the same directory as the program what have you made/working on?
×
×
  • Create New...