American Young Coder Academy – Indo

Loading Events

« All Events

  • This event has passed.

6 PM – Coding Olympic Training

February 2, 2022 @ 6:00 pm - 8:00 pm

Homework

Herdle Problem

To use stdin:

answer = []
guess = []
index = 0
for line in sys.stdin:
    for c in line.strip():
        if index < 3:
            answer.append(c)
        else:
            guess.append(c)
    index += 1
print(answer)
print(guess)

 

 

Details

Date:
February 2, 2022
Time:
6:00 pm - 8:00 pm
Verified by MonsterInsights