<span>a group or system of interconnected people or things</span>
Answer:
Never heard of that lol
Answer:
def validateCreditCard(x):
if type(x)==str and len(x) == 8:
print("Valid credit card number")
else:
print("Invalid credit card number")
validateCreditCard("43589795")
Explanation:
Run the code on your text editor(vs code, sublime, pycharm ) you will get your desired response. If your input is not of type string and not up to 8 digit you will get the response "invalid credit card number" but if it is of type string and up to 8 digit you will get "Valid credit card number".
But remember python works with indentation so when you are transferring this code to your text editor it will run properly well.
I defined the code using the conventional pattern "def"
After defining the function you create a brackets (x) to accommodate your argument x and end it with a semi colon.
Then i use "if" statement to make sure only string argument and 8 digit value will be accepted to print a "valid credit card". if your argument does not pass the if statement condition it will print out the else statement condition which is "Invalid credit card number"
Finally, you have to call your function and test various values.
In python 3.8:
print(len([x for x in input("Enter your text: ") if x not in "., "]))
I hope this helps!
Answer:
1.RGB: Best for projects intended to be used on the web or video
Explanation:
On websites or making project RGB combination of colors is used. This combination of colors is used to store images in electronic components.
2. CMYK: best for professional printing projects using process colors
Explanation:
Printing professional use CMYK combinations of color for better printing results.
3.) indexed:The only colors saved are the colors used in the image
To manage digital images we use Indexed mode of colors.
Explanation:
4.) bitmap: uses black and white
Explanation:
bitmap is the combination of the black and white colors. As the images are large in size so that, to reduce the size of the image we store image in bitmap to reduce the size.
5.) gray scale: uses different shades of grey
Explanation:
The different shades of gray colors are found in the gray scale. These shades are used to produce images.