You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> ***Use unicode()/encode() function to convert.***
117
134
118
135
----------------------
119
136
@@ -126,8 +143,9 @@ print u
126
143
----------------
127
144
**My Solution: Python 3**
128
145
```python
129
-
#to be written
130
-
146
+
s =input()
147
+
u = s.encode('utf-8')
148
+
print(u)
131
149
```
132
150
---------------------
133
151
@@ -168,7 +186,7 @@ If the following n is given as input to the program:***
168
186
169
187
----------------------
170
188
### Hints
171
-
> ***Use float() to convert an integer to a float***
189
+
> ***Use float() to convert an integer to a float.Even if not converted it wont cause a problem because python by default understands the data type of a value***
0 commit comments