Community
1
first challengeCheck out what I did on my first day of Python with #replit100daysofcode!
0
1
0
Day 1_100 daysCheck out what I did on my first day of Python with #replit100daysofcode!
0
0
0
nineteenth challengecalculate amt at 5% interest...for loop
0
0
0
eighteenth challengeguess the number right
0
0
0
seventeenth challengeget your scores
0
0
0
fifteenth daywhile loop
0
0
0
MissingSequenceWrite an algorithm to validate customer input of +1 increment series.
Determine if there’s a missing number, and if so, which one.
At most, one number is missing. The sequence could start from any offset value.
For example, given the in = [1, 2, 4, 5, 6, 7], the return value needs to be 3.
Example2: [1,2,3,4,5] should return null
0
0
0
thirteenth challengeknow your grade
0
0
0
SortPackagesSorts packages according to the following rules:
A package is bulky if its volume (Width x Height x Length) is greater than or equal to 1,000,000 cm³ or when one of its dimensions is greater or equal to 150 cm.
A package is heavy when its mass is greater or equal to 20 kg.
You must dispatch the packages in the following stacks:
STANDARD: standard packages (those that are not bulky or heavy) can be handled normally.
SPECIAL: packages that are either heavy or bulky can't be handled automatically.
REJECTED: packages that are both heavy and bulky are rejected.
0
0
0
0
0