Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1
Num = 7 print (num ** 7)
29th Jan 2022, 2:21 PM
Raj Ratan Gautam
Raj Ratan Gautam - avatar
+ 2
Tag the programming language you're using. Create a variable and give value 7 to it. Then print it. As simple as it sounds. Try it "Provides code stores...", did you provide any code? i can't see it
28th Jan 2022, 2:27 PM
Rishi
Rishi - avatar
+ 2
As Rishi said, it's the right code, in case you don't know where is code bit and where you have to write: Go to your profile->see activity->click code bits->click '+'-> choose Python, run the code
28th Jan 2022, 2:43 PM
NEZ
NEZ - avatar
+ 2
ㅤㅤㅤ wow i didn't know this way to access the Sololearn's code playground. Longest way I've seen so far😂👌
28th Jan 2022, 2:47 PM
Rishi
Rishi - avatar
+ 1
Raj Ratan Gautam Which code??
28th Jan 2022, 2:37 PM
NEZ
NEZ - avatar
+ 1
num = 7 print(num)
28th Jan 2022, 2:39 PM
Raj Ratan Gautam
Raj Ratan Gautam - avatar
+ 1
Raj Ratan Gautam good, this will work. Why don't you try it on the Sololearn's code playground?
28th Jan 2022, 2:41 PM
Rishi
Rishi - avatar
+ 1
I am new in app so I can't understand all features and codes
28th Jan 2022, 2:43 PM
Raj Ratan Gautam
Raj Ratan Gautam - avatar
+ 1
Rishi Oh so you make a new code (testing or might be public) from code section?And clicking new code?😁 Ya that's also a way but I usually choose that 'long way' as you can see all things there (posts, answers, questions, code bits, comments, etc.) 😄
28th Jan 2022, 3:14 PM
NEZ
NEZ - avatar
+ 1
ㅤㅤㅤ ohh you're different person😲
28th Jan 2022, 3:17 PM
Rishi
Rishi - avatar
0
Here the variable num references the integer object 7 and then you are printing it.
28th Jan 2022, 2:50 PM
hamishhr
hamishhr - avatar