forked from tongri/conflict
-
Notifications
You must be signed in to change notification settings - Fork 0
DDmitroIDD/conflict
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
def shouter(a):
L = []
for c in range(1, a + 1):
if (c % fizz == 0) and (c % buzz == 0):
L.append('FB')#print ("FB")
elif c % fizz == 0:
L.append('F')#print("F")#
elif c % buzz == 0:
L.append('B')#print ("B")#
else:
L.append(c)#print(c)#
G = (': ' .join(map(str, L)))
print(G)
#print(shouter(a))
fizz = int(input("Enter first number"))
buzz = int(input("Enter second number"))
a = int(input("Enter the third one"))
shouter(a)
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published