True I am pretty sure if not I’m sorry
A plan about how to do it
You may want to rephrase the output.
```
#!/usr/local/bin/python3
### Written for Python version 3! ###
import sys
num = int( sys.argv[ 1 ] )
exp = 0
while( num > 2**exp ):
exp += 1
print( "It takes %d bits to get to the center of a Tootsie Roll" % exp )
exit( 0 )
```
Answer:
developer tool
Explanation:
if you're using chrome click on the 3 dots that's in the top right corner and go to tools, you will see "developer tools" and click on that, then you will see an icon that shows a laptop/computer and an iphone click on that and you can even choose the type of phone you wish to see the view of (ex. iphone X), refresh the page and you will be able to see the direct message icon and you will be able to message your friend.
good luck.
Answer:
See Explaination
Explanation:
package testscores;
import java.util.ArrayList;
import java.util.List;
public class TestScores {
public List<Integer> scorearray=new ArrayList<>();
public TestScores(List<Integer> scores) throws InvalidTestScore{
this.scorearray=scores;
for(int i=0;i<scorearray.size();i++){
if(scorearray.get(i)>100 || scorearray.get(i)<0){
throw new InvalidTestScore(this.scorearray.get(i));
}
}
}
public double average(){
int tot=0;
for(int i=0;i<this.scorearray.size();i++){
tot=tot+this.scorearray.get(i);
}
return tot*(1.0)/(this.scorearray.size());
}
class InvalidTestScore extends Exception
{
private double amount;
public InvalidTestScore(int Score)
{
System.out.println("Invalid Score "+Score);
}
}
}