Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 632 Bytes

if_logic_30.md

File metadata and controls

19 lines (10 loc) · 632 Bytes

If Logic (30)

Problem

Use the programming interface to complete this task. You'll be given a list of numbers.

Input: A list of numbers, separated by commas.

Output: Print hiif the number is 0-50 (inclusive), hey if the number is 51-100 (inclusive), and hello if anything else. Each greeting should have a linebreak after it.

Read the input from a file called if-logic.in that's in the current working directory, and then write your output to a file called if-logic.out.

Hint

If you need help, try looking at the Python Tutorial in the Learn section!

External Writeups

None yet!