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
Zinaida [17]
3 years ago
5

Write a program that requests the user input a word, then prints every other letter of the word starting with the first letter.

Computers and Technology
1 answer:
alex41 [277]3 years ago
6 0

word = input("Enter a word: ")

for x in range(0, len(word), 2):

   print(word[x])

I hope this helps!

You might be interested in
Most significant effect the rotary press had on printing
KiRa [710]

Answer:

fast printing

Explanation:

8 0
3 years ago
Clunker Motors Inc. is recalling all vehicles from model years 2001-2006. A bool variable named recalled has been declared. Give
AlekseyPX

Answer:

recalled = (modelYear >= 2001) && (modelYear <= 2006);

3 0
3 years ago
Which tool can be used to code basic HTML?<br><br> Text editor<br> JavaScript<br> CSS<br> HTML
luda_lava [24]

Answer:

Java Script

Explanation:

3 0
3 years ago
Read 2 more answers
Machine-to-machine (M2M) technology enables sensor-embedded products to share reliable real-time data ________.Select one:a. ove
just olya [345]

Answer:b)via radio signals

Explanation: Machine-to-machine technology is the technology that helps in sharing of the real time information of the device that have embedded sensor.They can work without the help of the manual factors.

The data is shared through the help of the radio signals in the devices like turbines vending machines etc for the tracking purpose and managing.

Thus the other options are incorrect because short distance is a disttance, cloud services are for the collection of services and databases contains the data. So, the correct option is option (b).

5 0
4 years ago
Write a program that asks the user to enter a student's name and 8 numeric tests scores (out of 100 for each test). The name wil
sergeinik [125]

Answer:

// program in Python

# function to find grade

def grade(t_score):

   #grade A

   if t_score >=90:

       return 'A'

       #grade B

   elif t_score >=80 and t_score <90:

       return 'B'

   #grade C

   elif t_score >=70 and t_score <80:

       return 'C'

   #grade D

   elif t_score >=60 and t_score <70:

       return 'D'

   #grade F

   else:

       return 'F'

# function to find average score

def calc_average(test_score):

   #variable to find sum

   total = 0

   for i in range(len(test_score)):

       #calculate total score

       total = total + test_score[i]

   # find average

   return total/float(len(test_score))

#array to store score

test_score = []

#read name of student

name = input("Enter student's name: ")

for i in range(8):

   #read score

   t_score = int(input("Enter the score {}: ".format(i+1)))

   #add score to array

   test_score.append(t_score)

#call function to find Average

averageScore = calc_average(test_score)

#print name of Student

print("Student Name: ", name)

#print each Score

for i in range(len(test_score)):

   #print each Score and Grade

   print("Score: ",test_score[i], "Letter Grade: ",grade(test_score[i]))

# print Average Score

print("Average Score: ", averageScore)

Explanation:

Read name of student from user.Then read 8 test scores from user. Call the function grade() to find the grade of a test score.Call the function calc_average() to  find the average score of all test.Print each score and corresponding grade and print  average score.

Output:

Enter student's name: Sam                                                                                                  

Enter the score 1: 45                                                                                                      

Enter the score 2: 98                                                                                                      

Enter the score 3: 67                                                                                                      

Enter the score 4: 86                                                                                                      

Enter the score 5: 60                                                                                                      

Enter the score 6: 77                                                                                                      

Enter the score 7: 92                                                                                                      

Enter the score 8: 32                                                                                                      

Student Name:  Sam                                                                                                        

Score:  45 Letter Grade:  F                                                                                                

Score:  98 Letter Grade:  A                                                                                                

Score:  67 Letter Grade:  D                                                                                                

Score:  86 Letter Grade:  B                                                                                                

Score:  60 Letter Grade:  D                                                                                                

Score:  77 Letter Grade:  C                                                                                                

Score:  92 Letter Grade:  A                                                                                                

Score:  32 Letter Grade:  F                                                                                                

Average Score:  69.625  

3 0
3 years ago
Other questions:
  • Which dhcp client option is used to provide a list of domain names to use in name resolution queries?
    12·1 answer
  • Which of the following is NOT a means of advertising on websites?
    12·2 answers
  • Mary is an aspiring web designer. Which degree she should opt for to strengthen her portfolio? A. bachelor’s degree in computer
    11·1 answer
  • Create a new program called Time.java. From now on, we won’t remind you to start with a small, working program, but you should.
    13·1 answer
  • (5 pt.) The name of a variable in the C programming language is a string that can contain uppercase letters, lowercase letters,
    15·1 answer
  • The Mark Table of Contents Entry option is used for marking nonheading text for the table of contents. the options are manually
    5·2 answers
  • Write a program that receives a series of numbers from the user and allows the user to press the enter key to indicate that he o
    10·1 answer
  • A network manager is interested in a device that watches for threats on a network but does not act on its own, and also does not
    7·1 answer
  • 12. What separated Grand turismo from other racing games was its focus on ______.
    13·1 answer
  • Given two integer arrays, largerArray with 4 elements, and smallerArray with 3 elements. What is the result after this code exec
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!