Article Mini projects
Calculate your weight on different planets in Python
…up planet data to user input and weight calculation. Ideal for future space cadets at Gdyni
Showing 51–60 of 202
Article Mini projects
…up planet data to user input and weight calculation. Ideal for future space cadets at Gdyni
Challenge
…then a cargo ID that doesn't match the CG- and four digits format. An empty list means the record is fine.
Article Python Fundamentals
…in space programming! Learn to display satellite data, format cosmic measurements, and create mission logs with this essential programming tool.
Challenge
Clean the crew sign-ups for the analogue mission: trim and capitalise names, lower-case emails, then reject sign-ups with no name or a broken email and drop duplicates by email, saying why for each…
Challenge
…into parse_row() and check_limits(). Write assert tests for both, good rows, rejected rows and readings right at a limit, so that each of three planted bugs makes them fail.
Challenge
…run and a test can check it exactly, then pick a kind for each glitch with random.choice().
Challenge
…the output exactly the same, then loop over the dict for a weight table.
Challenge
A vibration check reports WARN for a reading of 63 because its elif conditions are in the wrong order, so CRITICAL can never run. Predict it, find the dead branch, fix the order, then write a…
Quiz
…with break , and continue When to choose while instead of for How it works 15 questions: 11 with one correct answer, 4 where you select every correct answer After each question you see the correct…
Challenge
…read it with csv.DictReader, using the header row for the field names, then find the hottest temperature reading, comparing the values as numbers.