1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Kazeer [188]
4 years ago
15

Before you start putting commands in {}, what command do you use?

Computers and Technology
1 answer:
Vilka [71]4 years ago
7 0

d

..............................

You might be interested in
Edhesive Assignment 8: Personal Organizer.
Rudik [331]

In this exercise we have to use the knowledge in computational language in python to write the following code:

<h3>What is input?</h3>

Python's input function takes a single parameter which is a string. This string is often called a prompt because it contains informational text that tells the user to type something. For example, you can call the input function as follows:

So in an easier way we have that the code is:

<em>eventName = []</em>

<em>eventMonth = []</em>

<em>eventDay = []</em>

<em>eventYear = []</em>

<em>def addEvent():</em>

<em>userEventName = input("What is the event: ")</em>

<em>userEventMonth = int(input("What is the month (number): "))</em>

<em>userEventDay = int(input("What is the date: "))</em>

<em>userEventYear = int(input("What is the year: "))</em>

<em>userEventMonth = validateMonth(userEventMonth)</em>

<em>userEventDay = validateDay(userEventMonth, userEventDay, userEventYear)</em>

<em>eventName.append(userEventName)</em>

<em>eventMonth.append(userEventMonth)</em>

<em>eventDay.append(userEventDay)</em>

<em>eventYear.append(userEventYear)</em>

<em>def validateMonth(month):</em>

<em>if month >= 1 and month <= 12:</em>

<em>return month</em>

<em>else:</em>

<em>return 1</em>

<em>def validateDay(month,day,year):</em>

<em>if day < 1 or day > 31:</em>

<em>return 1</em>

<em>if month == 2:</em>

<em>isleap = False</em>

<em>if year%4 == 0:</em>

<em>if year%100 == 0:</em>

<em>if year%400 == 0:</em>

<em>isleap = True</em>

<em>else:</em>

<em>isleap = True</em>

<em>if isleap:</em>

<em>if day <30:</em>

<em>return day</em>

<em>else:</em>

<em>return 1</em>

<em>else:</em>

<em>if day < 29:</em>

<em>return day</em>

<em>else:</em>

<em>return 1</em>

<em>if month in [1,3,5,7,8,10,12]:</em>

<em>return day</em>

<em>if month in [4,6,9,11] and day < 31:</em>

<em>return day</em>

<em>else:</em>

<em>return 1</em>

<em>def printEvents():</em>

<em>print("EVENTS")</em>

<em>months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']</em>

<em>for index in range(len(eventName)):</em>

<em>print(eventName[index])</em>

<em>print("Date: "+months[eventMonth[index] -1]+ " " + str(eventDay[index]) + ", " + str(eventYear[index]))</em>

<em>userChoice = "yes"</em>

<em>while userChoice.upper() != "NO":</em>

<em>addEvent()</em>

<em>userChoice = input("Do you want to enter another event? NO to stop: ")</em>

<em>printEvents()</em>

See more about python at brainly.com/question/18502436

5 0
2 years ago
Legal functions are the most important area of IG impact. Under the FRCP amendments, corporations must proactively manage the e-
AfilCa [17]

Answer:It can jeopardize your chain of custody, but also expose sensitive data to the wrong people.

Explanation:

6 0
3 years ago
According to the text, there are always _________ keys from a letter name to its next occurrence up or down the keyboard.
Anna007 [38]

Answer:

8 (eight)

Explanation:

A piano keyboard is a musical instrument, with tabs of white and black keys that makes sound ranging from a low pitch to a high pitch sound. Its keys a labelled from A to G and occur several times on the keyboard.

If a letter "C" is pressed on the keyboard, a count of eight keys gives another occurrence of "C" again, whether it is counted upwards or downwards , but it gives a slightly higher pitch than the former "C".

6 0
4 years ago
A search expression entered in one search engine will yield the same results when entered in a different search engine.
garik1379 [7]

Answer:

false

Explanation:

8 0
2 years ago
Which factors make the prevention of cyberbullying difficult? Check all that apply.
Firdavs [7]

Answer:

disbelieving that cyberbullying causes serious harm

convincing others that cyberbullying is harmless

refusing to take responsibility to stop cyberbullying

using technology to participate in cyberbullying

Explanation:

We can categorize the 6 given options into 2 categories.

(1) The factors that makes the prevention easy

(2) The factors that makes the prevention difficult

Options (a) and (f) can be categorized under 1 because when one speaks up or gather evidence when one gets cyberbullied, that means that an awareness has been created and as such, one and others would know how to prevent themselves from being cyberbullied.

However, the same cannot be said for (b), (c), (d), and (f). In fact, these 4 options contribute to the growth of cyberbullying. One must shun each of these 4 activities.

5 0
3 years ago
Other questions:
  • Electricity was seen as a mysterious force and began to creat a stir when people called​
    13·1 answer
  • Which of the following could be useful during system testing?
    6·1 answer
  • Which is true about POP3 and IMAP for incoming email?
    10·1 answer
  • Why is it a good idea to defrag your hard disk regularly?
    9·1 answer
  • Consider the following Ordinary Differential Equation:ODE : d 2y dx2 + 5 dy dx + 4y = 1 x ∈ [0; 1] BC : y(0) = 1; y 00(1) = 0 Us
    9·1 answer
  • Help it’s an exam brainleist
    8·1 answer
  • Who is considered as the father of computer science​
    8·2 answers
  • Example of vector image format​
    12·1 answer
  • Whats the overall mood of the song Rags2Riches by rod wave
    14·1 answer
  • Which top-level domain can be used by anyone, regardless of their affiliation?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!