Answer:
Following are the python code to print the given pattern:
print('FOURTH') # using print method
for i in range(10): #using loop to count numbers
for j in range(10-i): # use loop to print asterisk value in reverse order
print("*", end=" ") #print value
print("") #using print method for space
Output:
Please find the attachment.
Explanation:
The description of the above python program can be described as follows:
- In the first line, use the print method, that print message "FOURTH".
- In the next line, two for loop is used in which the first loop counts the number to be print value, inside the loop another for loop is used.
- In this loop, it prints asterisk values in its reverse order and for new lines, it will use the print method with a single white space.
Hello RandomHacker
Using social media can inform you when events are happening near by.
For example: Your favorite singer of band is going on tour and they are doing it near you, social media advertises this and you can find out in time to go.
Hope this helps
-Chris
Choice C. Choice C includes uppercase and lowercase leters, has a number, and two characters.
:)
Answer:
Answered below
Explanation:
//Program is written using Java programming language.
Class Person {
private string firstName;
private string lastName;
void set firstName(string a){
firstName = a;
}
string getFirstName(){
return firstName;
}
void setLastname( string b){
lastName = b;
}
string getLastName( ){
return lastName;
}
void displayDetails( ) {
System.out.print(firstName);
System.out.print (lastName);
}
}
//Test program
Class Main{
public static void main(String args [] ){
Person person = new Person( )
person.setFirstName("Karen")
System.out.print(person.getFirstName)
person.displayDetails()
}
}
Answer:
a. open port
Explanation:
Based on the information provided within the question it can be said that the port state that represents this is an open port. Like mentioned in the question below, this state refers to a TCP or UDP port that has been configured to receive packets, or in other words listen to oncoming instructions that are being sent from other computers or servers.