Python Challenge #8 - Hard

Do or do not. There is no try

- Yoda

Welcome back to our series of coding challenges! Having completed our Python Fundamentals course you’re no doubt wanting to explore this newfound world and challenge your skills.

These challenges are here for you to practice on, with your submissions being automatically marked and ranked to give you immediate feedback on your code. The context and difficulty of these problems will vary week to week – some will be trivial, and some may take days of thought. Some problems may be typical “interview” questions, while others will be arbitrary scenarios to test your reasoning.

If you’re having any difficulty, jump into our Software Development Discord server and join the discussion!

Data Challenge #4 - Air Crashes

This challenge will test your ability to clean data. Minimal preparation has been done to this data set, so as to give you a chance to deal with a more realistic set of formatting issues.

The following are data sets of total flights each year and a data set of air crashes.

Flight data

and

air crash data from 1908-2009

You will need to do a lot of cleaning with this data. 

Some hints:

The date is in american format, so you will need to separate out day month and year.

This will allow you to use year as a common variable between the two datasets.

You will need to add an index column, if you wish to count the number of air crashes.

To compare the total flights data with the crash data you will need to know how to unpivot columns in Power BI.

This video will tell you how.

(if you are using excel, do not worry about this part. Skip Q1, but answer all the others)

Make a line graph showing both the number of flights, and the number of crashes.

Q1 Does the trend in total number of flights explain the trend in the number of crashes?

Add two more columns to your crash data set that calculate the number of survivors and the survival rate.

Q2 Suppose a genie tells you that you will be in an air crash. You are allowed to choose what year you will be in the crash. What year should you choose to maximize your chance of survival?

Q3 Which month has the most crashes?

Q4 Where was the worst air disaster in aviation History?

Q5 How many people died?

Q6 How many people died in the air disaster with the most Survivors?

Q7 Which air operator has had the most fatalities, which has had second most?

Q8 What year was the most deadly for air travel?

Q9 What year produced the most survivors of air crashes?

Send your answers to lachlan.vaughantaylor@withyouwithme.com by May 14th.

Python Challenge #7

Stick it in neutral, Megatron

- Optimus Prime

Welcome back to our series of (sort-of) weekly coding challenges! Having completed our Python Fundamentals course you’re no doubt wanting to explore this newfound world and challenge your skills.

These challenges are here for you to practice on, with your submissions being automatically marked and ranked to give you immediate feedback on your code. The context and difficulty of these problems will vary week to week – some will be trivial, and some may take days of thought. Some problems may be typical “interview” questions, while others will be arbitrary scenarios to test your reasoning.

If you’re having any difficulty, jump into our Software Development Discord server and join the discussion!

Python Challenge #6

The only exercise I get is jumping to conclusions.

- Glen Cook

Welcome back to our series of (sort-of) weekly coding challenges! Having completed our Python Fundamentals course you’re no doubt wanting to explore this newfound world and challenge your skills.

These challenges are here for you to practice on, with your submissions being automatically marked and ranked to give you immediate feedback on your code. The context and difficulty of these problems will vary week to week – some will be trivial, and some may take days of thought. Some problems may be typical “interview” questions, while others will be arbitrary scenarios to test your reasoning.

If you’re having any difficulty, jump into our Software Development Discord server and join the discussion!

Web Developer Sign Up Page

Welcome the Intro to Web Development challenge page! Now's your chance to show off some of your new HTML, CSS and JavaScript skills. Subscribe here to sign up to current and future challenges.

Data Challenge 3

Register to Recieve Weekly Challenges and put your skills to the test! (If you want to gain some experience begin with a challenge!)

Python Challenge #5

Et tu Brute?

- Julius Caesar

Welcome back to our series of weekly coding challenges! Having completed our Python Fundamentals course you’re no doubt wanting to explore this newfound world and challenge your skills.

These challenges are here for you to practice on, with your submissions being automatically marked and ranked to give you immediate feedback on your code. The context and difficulty of these problems will vary week to week – some will be trivial, and some may take days of thought. Some problems may be typical “interview” questions, while others will be arbitrary scenarios to test your reasoning.

If you’re having any difficulty, jump into our Software Development Discord server and join the discussion!

Python Challenge #4

“Hide a stone among stones and a man among men.”

– General Rokurota Makabe
“We should take Bikini Bottom and push it somewhere else.”

Welcome to our series of coding challenges! Having completed our Python Fundamentals course you’re no doubt wanting to explore this newfound world and challenge your skills.

These challenges are here for you to practice on, with your submissions being automatically marked and ranked to give you immediate feedback on your code. The context and difficulty of these problems will vary week to week – some will be trivial, and some may take days of thought. Some problems may be typical “interview” questions, while others will be arbitrary scenarios to test your reasoning.

If you’re having any difficulty, jump into our Software Development Discord server and join the discussion!

Python Challenge #3

Oh, God, I don’t know what’s more difficult, life or the English language.

– Johnathan Ames
I knew a man who captured moths in a bell-jar. On nights like this, he would release them one by one to die in the candle.

Welcome to our series of coding challenges! Having completed our Python Fundamentals course you’re no doubt wanting to explore this newfound world and challenge your skills.

These challenges are here for you to practice on, with your submissions being automatically marked and ranked to give you immediate feedback on your code. The context and difficulty of these problems will vary week to week – some will be trivial, and some may take days of thought. Some problems may be typical “interview” questions, while others will be arbitrary scenarios to test your reasoning.

If you’re having any difficulty, jump into our Software Development Discord server and join the discussion!

Python Challenge #2

“The Snake That Eats Its Own Tail, Forever and Ever . . . I know where I came from—but where did all you zombies come from?”

– Robert Heinlein, All You Zombies
You see them on the street. You watch them on TV. You might even vote for one this fall. You think they’re people just like you. You’re wrong. Dead wrong.

Welcome to our series of coding challenges! Having completed our Python Fundamentals course you’re no doubt wanting to explore this newfound world and challenge your skills.

These challenges are here for you to practice on, with your submissions being automatically marked and ranked to give you immediate feedback on your code. The context and difficulty of these problems will vary week to week – some will be trivial, and some may take days of thought. Some problems may be typical “interview” questions, while others will be arbitrary scenarios to test your reasoning.

If you’re having any difficulty, jump into our Software Development Discord server and join the discussion!”