Skip to content
Sign upLog in
Profile icon

Chaniel Kpekpe

@Chanielk08
/Currently trying to learn python/
Repls
Community
Chanielk08
Chanielk08
shared a Post
2 years ago
This is my take on the fizz buzz challenge i hope i did it right :)
Please tell me if i did this right or wrong.
FizzBuzz
Python
Chanielk08
Chanielk08
shared a Post
2 years ago
This is just a example to see if i could do this and its very simple.
Opposite Number Generator test #1
Python
Chanielk08
Chanielk08
shared a Post
2 years ago
Screenshot 2021-01-22 at 6.01.27 AM
Opposite Number Generator test #1
Python
RYANTADIPARTHI
RYANTADIPARTHI
Solution you need to name your variable, without the ''. It's needs proper assigning. Like this. num = input('type a number and get it's opposite : ') pop = int(num) * -1 print('your answer is...', pop) That should work.2 years ago
Wumi4
Wumi4
Hmm, what's your problem? The code in your image is not the same as the code in your Repl.2 years ago