Skip to content

Commit 4fc4cca

Browse files
committed
template added
1 parent 41a37e0 commit 4fc4cca

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Write a program which:
2+
3+
# Already has a list of Laptops that a library has to lend out.
4+
# Accepts user input to create a new Person - it should use the input function to read a person’s name, age, and preferred operating system.
5+
# Tells the user how many laptops the library has that have that operating system.
6+
# If there is an operating system that has more laptops available, tells the user that if they’re willing to accept that operating system they’re more likely to get a laptop.
7+
8+
# You should convert the age and preferred operating system input from the user into more constrained types as quickly as possible, and should output errors to stderr and terminate the program with a non-zero exit code if the user input bad values.

0 commit comments

Comments
 (0)