Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This program follows the pattern 112112112
- n = int(input("enter "))
- def check(n):
- c=
- if n%3==0:
- print("2")
- else
- print("1")
- check(n)
- # 2+1+1+2=6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement