Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New programmer using GROK
#1
cats = int(input("Estimated total cats: "))
total = int(input("How many cats already glowing? "))
if cats > total:
  print("Not all the cats are glowing.")
else:
  print("All the cats are glowing.")
cats = int(input("Estimated total cats: "))
total = int(input("How many cats already glowing? "))
if cats <= total:
  print("All the cats are glowing.")
Error:
Error:Testing the first example in the question. Your submission attempted to read too much input! This occurred on line 7 of your submission.

Output:
Grok Disease Epidemic! (Python) The curious case of the glowing nose These are the (2) Problems that it is asking me to find the solution for: 1)Estimated total cats: 2500 How many cats already glowing? 200 Not all the cats are glowing. 2)Estimated total cats: 100 How many cats already glowing? 100 All the cats are glowing.
I spent quite some time please help guys !!!!!! Idea Idea Idea Idea
Reply


Messages In This Thread
New programmer using GROK - by AmineLS - Sep-09-2019, 07:51 PM
RE: New programmer using GROK - by ichabod801 - Sep-09-2019, 08:31 PM
RE: New programmer using GROK - by AmineLS - Sep-10-2019, 12:25 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  New Programmer / Program ericvrocha 5 2,828 Oct-07-2019, 09:25 PM
Last Post: ericvrocha
  GROK MODULE 5 HELP! AmineLS 1 8,569 Sep-26-2019, 04:21 PM
Last Post: metulburr
  General Grok Help AmineLS 5 5,165 Sep-11-2019, 06:08 PM
Last Post: SheeppOSU
  New Programmer/Need assistance with if statements KayPyth 4 3,137 May-23-2018, 10:25 PM
Last Post: KayPyth

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020