Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- N=readline()
- for(i=1;i<=N;i++){s=""
- if(i%5==0)s+="Foo"
- if(i%7==0)s+="Bar"
- print(s||i)}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement