Challenge
Readings that won't add
…arrived as text. Predict it, find out why and fix it with int(), then add decimal readings with float().
6 results
Challenge
…arrived as text. Predict it, find out why and fix it with int(), then add decimal readings with float().
Challenge
…and modify Investigate. Every value has a type: int for whole numbers, float for decimals, str for text and bool for True / False . Replace each ... with the type of that value, for example crew_type…
Challenge
…a number with +. Predict it, read the error, fix it with str(), then build a docking status line.
Challenge
…crash, find out what input() really returns, fix it with int(), then write a packing tool that reads two numbers.
Challenge
…Investigate and modify Investigate. Find out what type float(temperature) gives and store it in converted_type . Then find out what bool(valve_open) gives, True or False , and store it in…
Challenge
…OK : 4 problems: downlink_rate_kbps: must be a number, got str retries: 12 is outside 0 to 10 safe_mode: must be true or false, got str log_levl: unknown setting True is also an int in Python, so rule…