Please Fix This For Me


print ("Please enter a number between 1 and 100")
n = input

if = n < 1 and n > 100:

if = (n // 2 == 0):
print (n, "is even")

if = (n // 3 == 0):
print (n, "is odd")

else:
print("You have not entered a number between 1 and 100.")

Answers

Answer 1

Answer:

The correction is as follows:

n = int(input("Please [tex]enter\ a[/tex] [tex]number\ between\ 1[/tex] and 100: "))

if n < 1 or n > 100:

   print("You [tex]have\ not[/tex] entered a [tex]number\ between\ 1[/tex] and 100.")

elif n % 2 == 0:

   print (n, "is even")

else:

   print (n, "is odd")

Explanation:

See attachment for explanation


Related Questions

Using a tag, set the color to green for all tags.

Answers

Answer:

<style>

p {

background-color: rgb(255, 0, 0);

}

h1 {

background-color: rgb(0, 255, 0);

}

ol {

background-color: rgb(97,51,47);

}

</style>

Explanation:

Put this at the top of your code. It should target the paragraph tag, the header h1 tag, and the Ordered List (OL) tag individually and set their background colors respectively.

It's been a while since I've done CSS so you might have to tweak the syntax a bit, but it should look something like that.

Consider the following method:
public static String joinTogether(int num, String[] arr)
{
String result = "";
for (String x : arr)
{
result = result + x.substring(0, num);
}
return result;
}

The following code appears in another method in the same class:
String[] words = {"dragon", "chicken", "gorilla"};
int number = 4;
System.out.println(joinTogether(number, words));

What is printed when the code above is executed?
a. dragonchickengorilla
b. drachigor
c. dragchicgori
d. dragochickgoril
e. There is an error in the program, it does not run

Answers

Answer: b.

Explanation:

Which of the following is not part of the four ways you can avoid problems with email communication?
a.
Be brief.
b.
Proofread your message.
C.
Reply right away after you get an email.
d.
Seek other ways to relay your message

Answers

Answer:

d is the correct answer for this problem

How SPARQL 1.1 has advantage over SPARQL 1.0??​

Answers

SPARQL 1.0 became an official W3C Recommendation on 15 January 2008. On 26 March 2013, the SPARQL Working Group has produced a new W3C Recommendation SPARQL 1.1 that introduces more features to 2008 version. SPARQL is emerging as the de facto RDF query language. Prior to SPARQL, there were some other popular RDF query languages, such as RQL, SeRQL, TRIPLE, RDQL, and so on. The comprehensive...

63. Name the 4 main lights & and their primary purpose.

Answers

I don’t know this !!

When identifying who will send a presentation, what are the two types of audiences?

Answers

Answer:

Explanation:Demographic audience analysis focuses on group memberships of audience members. Another element of audience is psychographic information, which focuses on audience attitudes, beliefs, and values. Situational analysis of the occasion, physical setting, and other factors are also critical to effective audience analysis.

Other Questions
WILL GIVE BRAINLIEST!Consider the attached genetic code chart and the following DNA sequence. DNA sequence 3' TAC GGG AGT CTT TCC ACT 5'What would be the mRNA sequence? What would be the amino acid sequence?What would occur to the amino acid sequence if the following mutation (G --> C in bold below) were to take place?DNA sequence 3' TAC GGG ACT CTT TCC ACT 5'What type of mutation is this? The sketch shows part of the graph y=ab^x How do you find percentages? Ok so this is really hard for me so i need some help plss help me remember no links and no doing it just for points How does William Cooper describe factory conditions? Zane asks 50 random people in a town of 1,500 whether or not they are registered to vote. 44 out of the 50 are registered. Based on this data howmany people in the town are likely registered to vote? The "Red Death" is known for killing its victims within ___.A.) a weekB.) 20 minutesC.) an hourD.) a dayE.) 30 minutes What is the area, in square meters, of the isosceles trapezoid below? 15.8 m 5-4 m 6.6 m Answer: A = ____ m squared Don drives his car 25 km east and then 312 km south. How far is he from his starting point? Round to the nearest tenth. Name the polygon. Then tell whether it is a regular polygon or not a regular polygon. Please Help me and Thank you Find the measure of angle bplease help:) What is the speed of a wave that has a wavelength of 2m and frequency of 1.5 Hz?Doc Below Which sentence uses the past tense verb be in the subjunctive mood?(1 point)I wish he were more prolific.You are interested in reading.We were excited about his first book.He is an interesting author. Question 11. What is the product of 1.6 x 10- and 3.2 x 10' A. 5.12 x 10-4 B. 5.12 x 10 C.5.12 x 10 D. 5.12 x 104 please help will mark as brallinat in celebration of cyberproductions new fanfiction I am releasing links to everyone on brainly to check out in this question anyone who reads my fanfiction will get instant brainliest New Fanfiction is out now from Cyberproductions copy and paste the link to read the stories from the tales of team ultra-miraculous the adventures the cyber guard and now the battle of Detroit seen through the eyes of the crew of the U.S.S Cerritos as well as the Cyberlifers of the U.S.S Cerritos and the zenkaiger team of the Star trek universe this is also to celebrate the descendants of the zenkaiger team getting their own fanfiction as well as their own ship the U.S.S Zenkai in the works at cyberproductions as well all this and more is now available at fanfiction.net so get their now before their gone forever or gobbled up by the rest of the brainly community https://www.fanfiction.net/ https://www.fanfiction.net/s/13866010/1/Detroit-become-human-lower-decks https://www.fanfiction.net/s/13866633/1/star-trek-cyberlifehttps://www.fanfiction.net/s/13852747/1/Miraculous-Tales-of-Ladybug-and-cat-Noir-Become-Human What is the total surface area of this square pyramid? 204 cm2 384 cm2 72 cm2 240 cm2 LINKS = reported ,, anyways Ill give brainliest if ur right Find the volume of this sphere.Round to the nearest tenth.7inFormulas for SpheresS.A. = 41112Varr? 1 in 3 A food web is more realistic because a snakeA. has multiple adaptationsB. eats more than just frogsC. just feeds on birds George Washington is frequently considered the "Father of America." Likewise, his wife, Martha Washington, could also be considered the "Mother of America," as demonstrated by her roles as the general's wife and the first lady.During the American Revolution, Martha Washington earned the title of "Mother of America" for her caring nature as the general's wife. She was also very brave. Despite the danger of kidnapping, Martha refused to abandon her home, Mount Vernon, in Virginia. When Martha did leave the plantation for periods of time, she traveled to the military camps where Washington was staying. First, Martha had to be vaccinated so that she would not suffer from smallpox. Once she was inoculated, Martha made the risky trip to camp. British and American soldiers roamed the countryside, and capture was a real possibility. Nevertheless, Martha arrived at each winter camp. She acted as confidant and secretary to George Washington, who believed that her presence was crucial. She encouraged the soldiers, helped their wives, and comforted those who were wounded. One of her key roles was also to entertain important visitors to the camp. Occasionally, Martha Washington even represented George at events he could not attend. Martha used her position to contribute to fundraising efforts for military supplies in 1780 and knit socks for the soldiers herself. Overall, her care and attention to others' needs made her the "Mother of America" during the American Revolution.What evidence does the author use to support the idea that Martha Washington should be considered the "Mother of America"? aBritish and American soldiers roamed the countryside, and capture was a real possibility. bDespite the danger of kidnapping, Martha refused to abandon her home in Virginia. cFirst, Martha had to be vaccinated so that she would not suffer from smallpox. dShe encouraged the soldiers, helped their wives, and comforted those who were wounded.