0
Random number function
I am trying to make a function where the user enters the country code and it displays few numbers to pick from... I am able to get the numbers but the code goes after the number... Could someone tell me how I can resolve this issue? The code is below. Thanks a ton! :) https://code.sololearn.com/cBpzFnBBT5x4/?ref=app https://code.sololearn.com/cBpzFnBBT5x4/?ref=app https://code.sololearn.com/cBpzFnBBT5x4/?ref=app
1 Answer
+ 2
A few modifications:
Interchanged line 10 and 11.
Added "\n" and end="" to print(f".......)
https://code.sololearn.com/csP7nhYqXPaM/?ref=app