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.
False, absolute references have two dollar signs
The biggest security issue with using social networking sites to market your listings is Criminals may use social networking sites to identify your personal data.
<h3>What is a social marketing site?</h3>
A social marketing site is a site where people from around the world are connected in one place and share their thoughts and photos and other data.
The social sites are on the internet and there is a chance of stealing data and it identity theft, phishing, online predators, internet fraud, and other cybercriminal attacks are also some risks.
Thus, the largest security concern with using social networking sites to sell your listings is that thieves could use these sites to find personal information about you.
To learn more about social marketing sites, refer to the link:
brainly.com/question/15051868
#SPJ4
Answer:
See there are multiple ways to get a perfect shot of products to stand out but the most affective according to me are explained below :-
- Macro shooting - These are close shots u can say really close just to show the product more attractive and u can see these types of shots in every advertisement.
- Background shooting/shots - Opposite of macro shots.
- 3d shots - These are 360° shots.
Tip :- Use wide aperture like F2 and right aperture for right shots.
Hope it helps!