Answer: The role of a public relations manager is to keep the image of a celebrity, politician, ect. good so that they can keep their career going while constantly in the eye of the public. Public figures may find this useful because it can help them keep their record clean and have a personal life while also making it seem like they are perfect people to their audience, which in hand can help with business.
Explanation:
Write a program that prompts the user to enter a Social Security number in the format ddd-dd-dddd, where d is a digit. The program displays Valid SSN for a correct Social Security number or Invalid SSN otherwise.
ssn = input("Enter a valid Social Security number: ")
dashes = 0
nums = 0
message = "Invalid SSN"
if len(ssn) == 11:
for x in ssn:
if x.isdigit():
nums += 1
elif x == "-":
dashes += 1
if nums == 9 and dashes == 2:
message = "Valid SSN"
print(message)
I wrote my code in python 3.8. I hope this helps!
The program that prompts the user to enter a Social Security number in the format ddd-dd-dddd, where d is a digit can be implemented in Python using regular expressions. The regular expression pattern for the SSN format can be used to validate the input.
Pythons code:
```python
import re
ssn_pattern = re.compile(r'^\d{3}-\d{2}-\d{4}$')
ssn = input("Enter your Social Security Number (format: ddd-dd-dddd): ")
if ssn_pattern.match(ssn):
print("Valid SSN")
else:
print("Invalid SSN")
```
In the above code, we first import the `re` module to work with regular expressions.
We then define the regular expression pattern for the SSN format as `^\d{3}-\d{2}-\d{4}$`. This pattern matches any string that starts with three digits, followed by a hyphen, then two digits, another hyphen, and finally, four digits.
We then prompt the user to enter their SSN using the `input()` function. We then check if the entered SSN matches the pattern using the `match()` function of the regular expression object `ssn_pattern`.
If the SSN matches the pattern, we print "Valid SSN". Otherwise, we print "Invalid SSN".
Know more about SSN,
https://brainly.com/question/31778617
#SPJ4
what does libtard mean
Answer:
Normally, It is a person of the opposite political belief that thinks that liberals/leftists are stupid for what they say. Most of the time, this "insult" is mostly used by Right-Winged Conservitives or used as a joke by leftists to show how funny it is when conservitives say it.
Answer:
it means a liberal r3tard. lib-tard
Explanation:
If anyone has the answer for this that would be really helpful!!
Hope this will help you...
Answer:
1.a
2.f
3.b
4.c
5.e
6.g
7.h
8.d
Explanation: