You are writing code using a jeroo named jaime
. Change the following if-then-else statement to an if-then (remove the else part), so that...
Search Results
Searching for: conditionals
Individual Exercises
You are writing code using a jeroo named maria
who already has a flower. Finish writing the if-then statement below so that maria
will...
You are writing code using a jeroo named maria
. There is a mistake in the following if-then statement. Find and fix the error, so that...
You are writing code using a jeroo named amy
. Change the following if-else-if statement by adding an else
so that amy
will hop if she...
You are writing code using a jeroo named amy
. Change the following if-then-else statement by adding a new else-if
so that amy
will turn...
You are writing code using a jeroo named amy
. Change the following if-else-if statement by adding a new else-if
so that amy
will turn...
You are writing code using a jeroo named amy
. Change the following if-else-if statement by changing the third part from an else
only to...
You are writing code using a jeroo named jaime
. Change the following if-then statement's condition so that jaime
will hop only if there...
You are writing code using a jeroo named jaime
. Change the following if-then statement's condition so that jaime
will hop if there is a...
You are writing code using a jeroo named jaime
. Change the following if-then statement's condition so that jaime
will hop only if there...
You are writing code using a jeroo named jaime
. Change the following if-then statement's condition so that jaime
will hop only if there...
For this question you writing code for named erin
. Change the if statement to a while loop so that erin
will continue turning left until...
A Jeroo
named pat
is at the jeroo olympics to cheer on two friends competing in the high jump. These jeroos can jump super high....
A Jeroo
named pat
only wakes up and hops when it is time. Implement the following method called wakeUp()
that takes pat
, two integers,...
A Jeroo
named pat
is hosting a party for the other jeroos on the island. A jeroo party will be a huge success when the number of flowers...
Say that a "character clump" in a string is a series of 2 or more adjacent copies of the same character. Return the number of character...
Implement the following method so that it counts the number of times the target
character appears in the given string and returns the...
Write a function in Python that implements the following logic: Given 2 int values a and b greater than 0, return whichever value is...
Write a function in Python that implements the following logic: The squirrels in Palo Alto spend most of the day playing. In particular,...
You have a green lottery ticket with three integers: a, b, and c. If all of the numbers are different on it, return 0. If two of the...
You have a green lottery ticket with three integers: a, b, and c. If all of the numbers are different on it, return 0. If two of the...
Below is some code your co-worker implemented, but they're asking you for help because it's not working the way they want it to.
The code...
You notice some co-worker's code is both not working and is overly complicated.
The code should act in the following way:
- if value is ...
Below is some code your co-worker implemented, but they're asking you for help because it's not working the way they want it to.
The code...
Below is some code your co-worker tried again to implement letter grade code, but it is still not working the way they want.
The code ...